• Breaking News

    Thursday, January 6, 2022

    Android Dev - Comparing Android LiveData and StateFlow

    Android Dev - Comparing Android LiveData and StateFlow


    Comparing Android LiveData and StateFlow

    Posted: 06 Jan 2022 02:34 AM PST

    1 Multilingual app vs separate app per language: does it affect how easily people discover your app in the play store?

    Posted: 06 Jan 2022 09:37 AM PST

    I'm thinking about what would make my app more easily discovered in the play store. One app, main language english, may not show up when french people search for a french term. Or it might, but they might not install it as easily, because they love french things.

    Is there much benefit to making a separate app for each language or is the benefit so small that it is not worth the effort?

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

    Google android developer certification

    Posted: 06 Jan 2022 03:16 AM PST

    what are your thoughts on the google android developer certification? Is there anyone who has taken the exam and did it benefit your career in any positive way?

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

    Manual CoroutineScopes: how to avoid GlobalScope

    Posted: 06 Jan 2022 09:01 AM PST

    App piracy mitigation

    Posted: 06 Jan 2022 08:47 AM PST

    As an android dev, how do you prevent piracy of your app/apps especially since fully fledged solutions like DexProtector and DexGuard are quite expensive?

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

    how to scale emulator with AS Arctic Fox ? -scale terminal option is ignored now.

    Posted: 06 Jan 2022 08:44 AM PST

    Hello !

    I'm getting back to some Android tinkering after a couple years away. Previously, I was able to invoke an emulator from the cli with the -scale switch like so:

    emulator -avd Pixel3 -scale 0.5

    But that's ignored now. Digging through AVD manager in AS I see nothing related to scale in Edit or Advanced Settings. Pretty sparse there actually.

    Any options or did they just take this away ? smh.

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

    Wifi issues on a Smasung J5 giving FirebaseInstallationsException (how or where to intercept it)

    Posted: 06 Jan 2022 08:29 AM PST

    A FirebaseInstallationsException (don't hit the link yet) is preventing my app to get updates.Now before you read even further, I'll tell you that my wifi options are pretty ... pretty terrible.In one of the wifi connections (The one giving me the FirebaseInstallationException), my laptop asks for a security key (it is a wifi extension)... weird since this extension IS MINE, and it only start giving issues once we changed internet providers. (If you hit the link the exception, it seems to also be related to other issues mostly with the Firebase console).

    If my laptop refuses to easily connect to the extension then the problem is NOT with the Android device, or the app...

    I am not trying to solve the connection issue, what I am trying to do is to give the user a message that something is/went wrong with the connection.

    What the reddit app does on the Samsung J5 is that ... it seems... there is a chronometer component, that gives a "connection failed" message on time-out.

    BUT... given the fact that an exception can be used to give an even faster "connection failed" message, it would allow us to skip the chronometer all together.

    There is a downside to this though:

    We would need to intercept ALL possible exceptions, WHILE the chronometer just skips all of this.

    WHILE.. the terrible downside of the chronometer (the reddit option) is the awful and purposeful slow speed of UI update.

    The second issue with the chronometer option, is that it would need a complete restructuring of the UI to include a "connection failed" template with loading screens and all.

    The chronometer options is best suited for "load once" screens, but not for live updates. (Maybe a combination of both can/should be achieved but as I said before a complete restructuring is needed)

    As of now, the reactive design in my app is using THIS solution for connection listening, the only issue seems that triggering the wifi OFF and then ON again seems to not be refreshing the UI consistently (this has been in my TODO list for a long time now since it seems a pretty easy thing to solve (I hope)).

    As of now this solution has given me great results on a Samsung J7, but gives a lot to desire on the J5.

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

    Convert my previous app from XML to Compose!

    Posted: 06 Jan 2022 08:08 AM PST

    When Compose get stable I started playing with it, exploring its concepts, finishing code-labs, checking GitHub repositories, but that still isn't enough to taste it totally, so I decide to build a project with Compose and picked up my previous project and converted it to Compose!

    It was an impressive journey and Compose slack channel helped me a lot!

    Here is my project, Glad to hear your feedback:

    Google Play: https://play.google.com/store/apps/details?id=com.productivity.fullmangement

    Github: https://github.com/Amrjyniat/FullMangement

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

    Managing Compose State Variable With And Without ViewModel

    Posted: 06 Jan 2022 07:54 AM PST

    tired with with android and git, Is there a way in Android studio to see the entire branch topography

    Posted: 06 Jan 2022 07:53 AM PST

    tired with with android and git, Is there a way in Android studio to see the entire branch topography

    I find it difficult to maintain a mental model of all my branches and commits. there is ( git log ) command to see the commit history, but is there a way in Android studio to see the entire branch topography, something like git graph in VScode .. ( see the picture below )

    https://i.redd.it/0ho46b34a3a81.gif

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

    Dagger 2’s naming convention is suboptimal, let’s fix it

    Posted: 06 Jan 2022 07:26 AM PST

    Should I continue learning android development or should I switch to another field of programming?

    Posted: 06 Jan 2022 07:19 AM PST

    I started a JAVA android development course sometime ago and I'm about halfway done. I really like android studio and I find developing apps to be pretty fun, however my main goal of programming is having a really well-paid job.

    Seeing how apple products seem to be getting more and more popular, as well as the fact that I, myself, use an iPhone (I chose android development over IOS development simply because I have a windows machine and no mac), I've been wondering if I should maybe switch to SWIFT or maybe even something entirely different that would probably be paid better like blockchain development.

    On the other hand, I've used a ton of android devices throughout my life and I generally like them quite a bit, I love the customise ability they have and I'm willing to try to switch to android again + I don't want to just throw away the time I've invested in the course so far. Can you guys elaborate if you think android development has a future/ it gets well paid with 2/3 or even more years of experience? Please convince me to continue!

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

    Best way to store drawable references in Room DB

    Posted: 06 Jan 2022 06:57 AM PST

    I tried to store the full URI of the drawable resource like this:

    android.resource://PACKAGE_NAME/2131165326 

    Then after retrieving the data from DB, I show the drawable in IV bypassing the resource to glide, it works but I noticed that sometimes had problems because of the changes that occur for resources id when adding new resources.

    I'm wondering if there is a correct way to do that, Thank you in advance.

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

    Cut login verification costs by 80% - User verification tool for apps - has a free option i guess it's enough to try

    Posted: 06 Jan 2022 05:52 AM PST

    Saw this one on PH, can be useful. It claims that it can cut login verification costs by 80%

    A new way of phone number verification that uses IM platforms as an alternative to SMS. Make use of WhatsApp and Telegram to verify your users and cut your verification costs by 80%, while supporting traditional SMS to reach every single customer out there.

    https://www.producthunt.com/posts/verifykit

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

    Detecting new photos taken by the user.

    Posted: 06 Jan 2022 01:28 AM PST

    Hey, so I need to detect new photos taken by the user and modify them afterwards. how can I do that?

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

    I'hv been learning Flutter/dart since a month and don't feel productive.

    Posted: 06 Jan 2022 05:12 AM PST

    Hi, From start of December 2021 I started learning Dart as a total beginner. I did few basic tutorials of Flutter. So it's been over a month and I feel like I'hv done literally nothing.

    If you ask me what can I make on flutter with total no support of tutorials, then all I can do is to make AppBar, Text, Buttons, background pic (offline-online) and few other little things with Scaffold. That's it. Can you see how slow I am with this. I spend around an hour daily to learn, because I'm doing it on side of my studies.

    My Questions - Any tips for increasing my productivity?

    Have you ever felt like this, what you did to accelerate yourself?

    If I stay on my current speed of learning, what do you think How much time it will take me to learn Flutter completely?

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

    No comments:

    Post a Comment