• Breaking News

    Monday, January 24, 2022

    Android Dev - Waiting for Jetpack Compose Preview be like...

    Android Dev - Waiting for Jetpack Compose Preview be like...


    Waiting for Jetpack Compose Preview be like...

    Posted: 23 Jan 2022 06:07 PM PST

    Illustrating Jetpack Compose Side Effects

    Posted: 23 Jan 2022 10:05 PM PST

    I've created "Faradle", a Wordle made completely in Jetpack Compose. It uses Clean Architecture and MVVM pattern and has unit-tests throughout (Open source)

    Posted: 23 Jan 2022 10:46 PM PST

    lucilla: Fast, efficient, in-memory Full Text Search for Kotlin

    Posted: 23 Jan 2022 11:38 AM PST

    Mitigation against an Android app claiming to be a handler for links on my website

    Posted: 23 Jan 2022 09:54 PM PST

    Hello!

    Hopefully this is the right place for this kind of question.

    Can an Android app claim to be a handler for links on my website or does the Android App ecosystem prevent this automatically?

    For example, let's say I send out password reset links for my app of the form https://links.mysite.com/passwordreset?abc=123

    Can some random malicious app claim to handle links.mysite.com and prompt users to use the the malicious app to open links and then steal those password reset links?

    A security researcher contacted me and is asking that I pay for his help to mitigate this problem so I'm trying to verify if what he's saying is true.

    Thanks!

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

    In this video I explain how to decrease your Android app startup time with Jetpack Startup Library.

    Posted: 24 Jan 2022 12:21 AM PST

    Issues with the emulator. Any way to download previous versions?

    Posted: 24 Jan 2022 12:07 AM PST

    Is there a way to download previous versions of the android emulator?

    I'm having an issue like this https://www.youtube.com/watch?v=3Dy27rZL9uI , tried 31.1.4 and 31.2.2, can't find any other recent versions. The bug is submitted however I'd like to try something until it is resolved.

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

    Resources on UI/UX

    Posted: 23 Jan 2022 05:54 PM PST

    Hello everyone. Much like I'm sure a lot of people here, I have an app idea I'd like to pursue but I really want a better feel for how to make the design better.

    Does anyone have any books or resources they can recommend on UI/UX? I'm still a novice in just about every area of coding and android but as I develop my technical skills I'd really like to learn how to design an app that looks nice as well.

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

    Long review times for Google Play review?

    Posted: 23 Jan 2022 03:43 PM PST

    Usually we see releases getting automatically reviewed and released within an hour of submission. However our latest update spent 4 days in review and only just went live. Anyone else experiencing this at the moment?

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

    Integrating ML kit/Google Mobile Vision with natario1 CameraView

    Posted: 23 Jan 2022 07:12 PM PST

    I have currently implemented QR code, face detection, text recognition & eye blink detection using Google Mobile Vision & Camera API. (Last one is seperate screen). I want to integrate the natario1 Camera library with mobile vision or ml kit as the app has issues like streched preview (in portrait mode) & also blank Black image captured reported by some users (though I am unavailable to reproduce the latter issue). Have anyone implemented similar functions?

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

    I have made this app to read unlimited medium articles with just 2 clicks.

    Posted: 23 Jan 2022 11:53 PM PST

    Force Android Studio to use a VPN connection on Windows?

    Posted: 23 Jan 2022 10:41 AM PST

    Google keeps my shared IP on its blacklists so I cannot sync Gradle to download most of libs.

    I tried Psiphon (its local proxy) and added it in the manual HTTP proxy in Android Studio but it is so slow.

    Now I have the ProtonVPN which is good but Android Studio is not using its connection as I noticed, so I wonder if there is a way to bypass this situation and force Android studio to use ProtonVPN or any other VPN connection on Windows?

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

    Different screen sizes

    Posted: 23 Jan 2022 07:42 PM PST

    how to handle different screen sizes in android?

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

    If I have an app idea, how do I know if it's a simple idea or an advanced idea.

    Posted: 23 Jan 2022 05:43 PM PST

    Like, how do I figure out if it's something simple to code that I could learn to do myself or it would take a team to develop?

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

    What do implementations that use Unsafe do to be able to compile?

    Posted: 23 Jan 2022 10:16 AM PST

    If I try to use Unsafe the IDE won't compile it, but if I use an implementation that uses Unsafe under the hood it does compile.

    If I fork this implementation's repo and then publish a release (of the forked version) with my own commits via jitpack.io (committing with Android Studio IDE).

    A plethora of issues appear that are completely unrelated to the Unsafe issue, so I stopped attempting going this route after 16+ hours of attempts.

    In reality I need only ONE class from that package and that class uses Unsafe, and the forking route would have forced me to use the entire package (I am sure there is a way to only fork a specific file but If I have issues even with releasing an entire fork, I bet it would be even easier /s do it on a single file with the almighty command line or git-bash, if you tell me that it is actually easy then... I'm all ears).

    When I see the source code of this implementation, it tells me they use the sun.misc.Unsafe version, not some android wrapper version.

    And it makes sense since sun.misc. would be applicable to all source of environments, not just Android.

    In my case I would like to be able to import this sun.misc.Unsafe but if I can't... I can settle with an android wrapper, and yet still wouldn't be so sure as to what steps should I follow.

    Edit:

    I had not read this part in the code, but this does not explain how it is able to compile.

     // Some platforms, notably Android, might not have a sun.misc.Unsafe implementation with a private // `theUnsafe` static instance. In this case we can try to call the default constructor, which is sufficient // for Android usage. try { Constructor<Unsafe> c = Unsafe.class.getDeclaredConstructor(); c.setAccessible(true); instance = c.newInstance(); } 

    The other option is... rewriting everything without the arrayOffset pointer like behavior (that uses Unsafe) of the original code... which is a rather interesting challenge.

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

    Database for my app

    Posted: 23 Jan 2022 05:42 AM PST

    Hello guys! I am developing an app, earlier i use firebase for backend, but i now i want to grow further, can anyone suggest me what other database can i use?

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

    Is AirNow still operating?

    Posted: 23 Jan 2022 08:28 AM PST

    I've tried signing up for AirNow as I used to do very well when they were Airpush, but I haven't used them in years. I went through the sign-up process but it kept taking me back to the log-in page after I had been through it.

    Are they still operating? I'd be grateful to know.

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

    Kotlin Networking Woes: fetching a static xml file

    Posted: 23 Jan 2022 12:12 PM PST

    I'm trying to pull down a static xml file I have on my http server. I don't understand how this can possibly be so complex.

    1. Can't make a network request on the main thread. This I understand, makes lots of sense.

    2. The official documentation reccomends AsyncTask. Oops! AsyncTask is deprecated. I tried it anyway but I can't get it to return what I expect and I can't diagnose which part is broken, my network call or my AsyncTask implementation.

    3. Any time I search for Kotlin threading, it funnels me to coroutines. But I try making my network call in a coroutine and the coroutine decides to throw it on the main thread, so apparently that's out.

    4. I'll try a tutorial. Except every tutorial has its own dependency it recommends I install to make my life soooo much easier. All I need is to fetch a single static xml file, once, at the start of an activity. I shouldn't need a dependency for this.

    5. Fine, I'll install a dependency. The docs recommend Volley. I give it a go, but Volley decides it's just going to make my network call on its own time, which happens to be never.

    There MUST be something I'm missing. Almost everything is networked nowadays, surely there's a common solution or some documentation I'm missing.

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

    Button on a live wallpaper?

    Posted: 23 Jan 2022 07:31 AM PST

    I was just wondering that is it possible for a live wallpaper to have a particular area which upon touching would pop out some kind of panel? If yes, then please suggest how should I do it. Thanks.

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

    Demystifing the ANRs riddle

    Posted: 23 Jan 2022 06:57 AM PST

    Have you faced difficulty in solving the Application Not Responding (ANR) riddle on Android? Be it around the play console, looking for the root causes, etc. Check this article and share your thoughts

    https://www.amanjeet.me/demystifying-the-anrs-puzzle/

    AndroidDev #performance #anrs #androidvitals

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

    No comments:

    Post a Comment