• Breaking News

    Monday, February 22, 2021

    Android Dev - Weekly Who's Hiring Thread - February 22, 2021

    Android Dev - Weekly Who's Hiring Thread - February 22, 2021


    Weekly Who's Hiring Thread - February 22, 2021

    Posted: 22 Feb 2021 06:00 AM PST

    Looking for Android developers? Heard about a cool job posting? Let people know!

    Here is a suggested posting template:

    Company: <Best Company Ever>
    Job: [<Title>](https://example.com/job)
    Location: <City, State, Country>
    Allows remote: <Yes/No>
    Visa: <Yes/No>

    Feel free to include any other information about the job.

    submitted by /u/AutoModerator
    [link] [comments]

    Are Google developer support 'chat' and 'email' links giving anyone else the run-around?

    Posted: 22 Feb 2021 03:30 AM PST

    To me, the fact that the "chat" and "email" buttons don't actually go to chat or email seems like a deliberate action by Google to ignore developers?
    I say this because I'd already got past the automated filtering and was presented with those two options. Hovering over the links show they go to the page "gethelp" so are not directed to go to a dedicated email or chat page but are designed to go around in a circular path.

    https://reddit.com/link/lplumd/video/khqqziwhl0j61/player

    submitted by /u/ziplock9000
    [link] [comments]

    Background Location usage in Android 11

    Posted: 22 Feb 2021 04:17 AM PST

    Android S seems to finally add support for VoIP calls on Android Auto

    Posted: 22 Feb 2021 06:09 AM PST

    Experience with Bytedance's Scene framework?

    Posted: 22 Feb 2021 12:37 AM PST

    I came across Bytedance's Scene framework on Github, and I like the idea, and probably it works, if an app like TikTok, that scales to billions of users uses it successfully.

    I just wanted to know if anyone here has experience with it, and if so, what are your thoughts?

    submitted by /u/wpmed92
    [link] [comments]

    Chaquopy SQLite3 Tutorial (Android Python Tutorial)

    Posted: 22 Feb 2021 12:26 AM PST

    Unable to run Android project in Android Studio after opening it. No idea why

    Posted: 22 Feb 2021 08:43 AM PST

    I downloaded an Android project, unzipped it & opened it in AS. The run and debug button are greyed out not letting run the MainActivity file. Other projects run & the project that is unable to run runs in other students' AS. I tried reinstalling AS. The project is in Java. The deadline is in 4 days & Im getting worried. My professor just left me on read. Any suggestions?

    submitted by /u/POIS_hell
    [link] [comments]

    App Advertising Approach: ad formats, budgets, digital channels

    Posted: 22 Feb 2021 07:29 AM PST

    Hi community!

    Where do you advertise your app? Has your advertising approach changed during a pandemic? What ad formats did work best? What digital channels do you use? Please share your experience.

    submitted by /u/alxpolishchuk
    [link] [comments]

    Android volley not working on the phone but working on emulator

    Posted: 22 Feb 2021 01:43 AM PST

    Hey yall, I am having a problem with android volley library. I am trying to POST 13 string values and 1 picture to a remote server. It works on the emulator but I keep getting logslowrequest and client error when I try it on the phone.Yes, I did setRetryPolicy() but still no luck. Please help me with this or let me know if there is another way to do a POST request for big file items. I looked on stack overflow and posted a question as well but still no answer

    submitted by /u/kshine123
    [link] [comments]

    If I need to add a [table] row with text programmatically what's the best way of doing it?

    Posted: 21 Feb 2021 07:00 PM PST

    I was thinking about a table layout and adding rows with text inside programmatically like similar to adding a row, say, in a shopping list app. What are other ways of accomplishing it?

    submitted by /u/dexsst
    [link] [comments]

    Apps with external hardware (OTG?)

    Posted: 22 Feb 2021 04:35 AM PST

    Does anybody know anything about OTG support? My team has developed an app that can read ID smart cards via external reader that you can plug into the charging port of the phone.

    The external device works on some phones (reader lights up) but not on some, even though the specifications for that phone state that they are USB OTG (usb on the go) supported. Does anybody have experience with this? Is there another specification that is necessary for phone to communicate with the external device?

    submitted by /u/TurtleShellSupreme
    [link] [comments]

    MVVM vs Jetpack ViewModel - what am i doing wrong ?

    Posted: 21 Feb 2021 11:34 AM PST

    i get this question in interviews, typically - describe the differences between MVVM and insert any other popular architecture practice such as MVP or MVI etc.

    i take this question as an opportunity to explain in detail, the following.

    the state of a TextView is owned by the view itself - setText and getText. the state of a Button as a widget is also owned by itself - text for display and click-functionality etc. same goes to entire View-hierarchy design in Android.

    MVVM allows state and functionality of any view or widget to be owned by a POJO / data-class, that's the responsibility of the ViewModel by definition. therefore TextView's setText and getText are tightly coupled now with a data-class, similarly with a button. the click functionality is dealt by the data-class rather than the view itself, or at least that's how it's supposedly designed.

    In that definition, Android Databinding is classical MVVM.

    Jetpack ViewModel is a coarse-grained state-owner of the entire view of the screen in the app, or parts of it, but the granularity doesn't go as deep as every view / widget element. In that definition, Jetpack ViewModel is actually consolidating the Model side of things for any kind of MV* architecture design.

    Therefore, MVI is best achieved using Jetpack ViewModel ( and of course life-cycle aware architecture components such as LiveData and LiveDataObservables etc ). Jetpack ViewModel prevents the practice of passing the God-Context along the chain-of-invocations for any kind of resource handling. Rather, all resource-handling is now restricted only in the UI layer - activities, fragments and views, and rest-all mid-tier and back-end layered designs are completely encapsulated by Jetpack ViewModel from the perspective of the UI layer.

    somehow, this doesn't appear to be widely popular among the dev community. what am i doing wrong, and how to correct myself ?

    submitted by /u/SweetStrawberry4U
    [link] [comments]

    How much can you earn with mobile ads

    Posted: 22 Feb 2021 04:15 AM PST

    So I am planning to launch an app and implement admob ads there, mostly banner and some interstitial ads from time to time (maybe in-app ads as well).

    So lets say this app will become rly popular and I will have like 1milion downloads and 200k active users (lets say 2x a day for 5-10minutes). How much could I earn with ads? Would this number change if all my user were from same country (US/EU/India/etc)?

    I dont rly believe that my first app will become that popular, but I am still interested in numbers if somehow that happens :D

    submitted by /u/HelloItsMe1996
    [link] [comments]

    FYI: Cisco Anyconnect doesn't work on Android 12 Beta

    Posted: 22 Feb 2021 07:53 AM PST

    I flashed my work phone to the Android 12 beta on Friday. Cisco Anyconnect doesn't seem to work at all, which means I'm going to have to flash back probably.

    Does anyone have any tips/workarounds? Also, what the fasted way to revert to Android 11?

    I knew what I was getting into and it's just my test phone so I'm not upset or anything, but I felt I should document this somewhere.

    submitted by /u/HypotheticalRicotta
    [link] [comments]

    Free Cloud database option for Android app

    Posted: 21 Feb 2021 11:22 PM PST

    Hello everyone,

    I'm looking for a free cloud database option for Android app, which I can use as a master database.

    It should be free. I'm okay with limited database size like 1GB, but should provide ability to create multiple databases.

    Open to opt for any server side language like php, node, java

    Currently trying: HelioHost

    Already used: 1. 000webhost - disadvantage is that only 1 database can be created. 2. Infinity Free - disadvantage is it doesn't support custom php web services.

    I know firebase is an option, but I didn't quite like the NoSql structure.

    submitted by /u/Code-Friendly
    [link] [comments]

    Does anyone keep track of the Google Play install milestones. Not for your specific apps, but more like remembering the general ranges (ex: 10+ installs -> 100+ -> 1000+ etc).

    Posted: 21 Feb 2021 04:25 PM PST

    It starts at 1 install

    Then it goes to 10

    100

    (500 ???)

    1,000

    (???)

    10,000

    (???)

    1,000,000

    5,000,000

    submitted by /u/poetryrocksalot
    [link] [comments]

    Kotlin simplified: your guide to transition from Java to Kotlin!

    Posted: 22 Feb 2021 12:05 AM PST

    (JetpackCompose) Swipe to refresh implementation

    Posted: 21 Feb 2021 08:08 PM PST

    How to implement Swipe to Refresh functionality using compose? Any workaround there?

    submitted by /u/shreyaspatil99
    [link] [comments]

    I need help pls about admob registration

    Posted: 21 Feb 2021 07:09 PM PST

    [NAME] you cannot use AdMob at this time . i cant login my admob account that error is appearing. that admob account is new i just register it to admob 3 days ago and not evin verified im waiting it to get verified but after 3 days i cant login it now. that gmail account doesnt even have adsense acc linked to it. but that gmail is my main acc and is linked to my google play clonsole account. but after doing some searching it seems like i messed up since i created another admob account (cause i thought 3 days is too long since its stated that it would only takes 24 hours) aside from the main one so now theres two google admob account on verification on my side. the next day i cant now login my main one(gmail with the first application) but the second one i can still login it but it is still on " Your account is being verified " state.

    https://support.google.com/admob/thread/17441049?hl=en but i just found this it seems like my second would also get rejected since the guy on that post said that both of his account was restricted. i want to follow the steps he stated that solved his problem but i cant since my gmail account doesnt even have an adsense on it. how can i canecel adsense according to him if i dont even have one .

    submitted by /u/Prudent_Guarantee510
    [link] [comments]

    Showing overlay as a custom close button on top of an interstitial ad?

    Posted: 21 Feb 2021 02:17 PM PST

    Hi,

    I know that covering banner and native ads with overlapping content is against admob and other ad network's policy. I have read all admob policies and implementation guidance but couldn't find that display a custom close button on top of an interstitial ad is against their policy or not.

    And yes I know that placing the custom button not correctly may or may not result in accidental clicks and the UI will be shown using a service and I can also close the ad programmatically but I'm not asking for that.

    All I want to know is that:

    1: Can I display a custom UI on top of interstitial ads to close them and not get a policy violation?

    2: I know how to close interstitial ad activity programmatically. Is it against admob or other network policy to dismiss interstitial ads without clicking the close button and closing them yourself, e.g using a custom button?

    submitted by /u/Marvelous-Tech
    [link] [comments]

    Compile AndroidManifest from .xml to compiled .xml (axml)

    Posted: 21 Feb 2021 09:13 AM PST

    Recently I was trying to disable safe searches on Gboard (gifs), I decompiled the app (using apk tool) and modified the smali files according, but the issue with compilation was that the recompiling the app only works if the resources are not decoded.
    And Gboard is pre-installed on my device so I cannot install the package without changing the package name from the manifest.

    So is there anyway to encode only AndroidManifest.xml
    I have tried this: https://github.com/hzw1199/xml2axml
    But it produces corrupted xml

    What options do I have ?

    submitted by /u/clippyclippy123
    [link] [comments]

    Temporary solution for sdk30. Target sdk29/xplore file app. For anyone who cant get to their data after the update

    Posted: 21 Feb 2021 04:01 PM PST

    Persistent bottom sheet pushed up by keyboard

    Posted: 21 Feb 2021 01:01 PM PST

    Hi. I have a persistent bottom sheet that I would like to stay at the bottom even when my keyboard is showing up. Is this possible?
    I´ve tried adding android:windowSoftInputMode="adjustResize" to AndroidManifest but it isn´t working. Help!

    submitted by /u/barcode972
    [link] [comments]

    No comments:

    Post a Comment