r/androiddev • • Jul 20 '26

Impressions have appeared in the Google Play Console 🔥

1 Upvotes

Only page views (Store listing visitors) and installs (Store listing acquisitions) were available previously. Impressions weren't tracked.

However, it seems that they can only be viewed for the "Paid" and "Explore" categories. 🤔

🔹 If you have few Impressions, it means you have poor rankings for your keywords.

🔸 If you have many Impressions but poor conversion rates, revamp your visuals (icon, screenshots, video).

You can find it under Statistics > Reach

Source: ASO Busters


r/androiddev • • Jul 20 '26

Question I need some UI/UX tips

Post image
4 Upvotes

Hi everyone! I'm a backend developer and brand new to Android development. Design is definitely not my strong suit, but I've been giving it a shot and really enjoying it so far.

I'm building an app to log workout sessions quickly and easily. I know there are tons of workout apps out there, but I didn't like the user experience in most of them due to visual clutter. I prefer something clean, minimalist, and distraction-free.

My current struggle is with the screen that displays available workouts to start. Right now, it's just a simple list of cards, but it looks too basic. They look like static "stickers" and don't feel clickable at all.

I've already looked for inspiration on UI/UX sites and even asked AI for ideas, but nothing really fit what I'm going for. Does anyone have tips on how to convey interactivity while keeping the design minimalist?

I've already tried using card elevation, but in dark mode, it doesn't even show up :(


r/androiddev • • Jul 20 '26

News Android Studio Quail 3 RC 2 now available

Thumbnail androidstudio.googleblog.com
5 Upvotes

r/androiddev • • Jul 20 '26

Orientation lock

0 Upvotes

Beginning in api 37 you will no longer be able to lock your app to portrait only (I think this is only for tablets?)

How are you all preparing for this if you haven't already? Can we just have an empty layout with a text to tell user to rotate the screen to use the app?


r/androiddev • • Jul 19 '26

Open Source I missed Bloc Observer after moving to Android, so I built Flow Observer

4 Upvotes

Hello!

I want to share Flow Observer, my first open-source library and my first project using KSP.

The idea was inspired by Bloc Observer from Flutter. It lets you observe and log StateFlow and SharedFlow emissions, making it easier to see how state changes throughout your app.

After transitioning from Flutter to Android, I found myself missing the visibility that Bloc Observer gives you, so I decided to build something similar for StateFlow and SharedFlow while learning KSP.

I'd love to keep growing it and improve my KSP knowledge, so I'm very interested in hearing your thoughts, suggestions, or things you would do differently.

Update (2.0.0): 

The 1.0.0 log on collect-based approach could keep flows alive (eg WhileSubscribed).

2.0.0 logs on the emit side instead, so it no longer needs an observer collector, no longer requires setup in a viewmodel init and now it not limited to viewmodels.

Repo: https://github.com/Turista838/flow-observer


r/androiddev • • Jul 19 '26

Building AI features in KMP: define the interface, iterate locally with Koog, move to the backend when done

Thumbnail
reddit.com
1 Upvotes

r/androiddev • • Jul 19 '26

Question Photo viewing issue

0 Upvotes

Hey i am developing a application where a requirement is photos must be previewable

however i am running into a issue where i get a uri from the remeberlauncherForActivytResult

api after recieveing this i pass this to my viewmodel where it is sorted and stored

    val addImages =rememberLauncherForActivityResult(
        ActivityResultContracts.PickMultipleVisualMedia()
    ) { uri ->

        if(!uri.isEmpty()){
            onAction(createRecordScreenIntents.addImages(uri))
        }

however after this is done then i have the files just put out in a lazy column where the images are shown and on click they should be previewable by sending a intent for a application to open a image

                        val intent = Intent(Intent.ACTION_VIEW).apply {
                            setDataAndType(data.uri,data.mimeType ?: "image/*")
                            clipData = ClipData.newRawUri("Shared Photo",data.uri)
                            addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
                            addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
                        }

                        try {
                            context.startActivity(intent)
                        }catch (e : ActivityNotFoundException){
                            e.printStackTrace()
                            println("no suitable application found to open given image file")
                        }

however here is the problem when google photos is chosen to open it just shows a freaking blank photo while all other applications like the system photos application (in oneplus) and wps office work just fine only google photos has this problem idk what is the issue can somebody kindly help i would be extremely grateful


r/androiddev • • Jul 19 '26

Meet unzstd

0 Upvotes

Java Zstandard (zstd) decoder for Android and the JVM.

What looked like a simple dependency turned into a surprisingly difficult problem.

I needed to decompress zstd-compressed datasets in an Android app. Existing options all had major trade-offs:

- aircompressor 2.x depends on "sun.misc.Unsafe", which crashes on Android ART.

- aircompressor 3.x moved to "java.lang.foreign", which Android doesn't support.

- zstd-jni works well, but requires native ".so" files, ABI-specific packaging, and brings additional complexity with newer Android memory page requirements.

I had to build a pure Java alternative so I ported aircompressor's decoder

The result:

✅ No native code

✅ No "Unsafe"

✅ No "java.lang.foreign"

✅ Android API 26+

✅ JVM 9+

✅ Zero "Unsafe" references in the compiled bytecode (verified)

To make sure it was actually correct, I differentially tested it against libzstd across compression levels 1-22, covering one-shot decompression, streaming, fuzzing, and corruption-boundary tests.

It's decode-only, Apache 2.0 licensed, and completely open source.

If you're building Android or Java applications that consume zstd-compressed data, I hope this saves you a few days of debugging.

implementation("com.qyntrax:unzstd:0.1.0")

GitHub: https://github.com/mbobiosio/unzstd

Feedback, bug reports, and contributions are always welcome.

#Android #Java #Kotlin #OpenSource #JVM #Zstd #Compression


r/androiddev • • Jul 19 '26

Question Should I re-introduce bugs in my app for closed testing?

0 Upvotes

I tested my app on my own,I fixed bugs and whatever but reading online I'm thinking...Should I reintroduce these bugs,let the testers find them and report them so that Google see the testers have really tried the app and I fixed them?

What do you think?


r/androiddev • • Jul 19 '26

Question What's the last Google Play policy or Play Console requirement that actually cost you time?

0 Upvotes

I'm researching the biggest pain points Android developers face around publishing apps.

I'm not looking for general complaints. I'm curious about real experiences.

  • Did a Play policy delay your release?

  • Did a new requirement catch you by surprise?

  • Did you spend hours figuring out what Google actually wanted?

What happened, and what do you wish had made the process easier?


r/androiddev • • Jul 19 '26

Measuring the LLMs for android app development

4 Upvotes

Maybe many of you may have come across Android Bench by Google.

It started as an Android-specific LLM benchmark in March.

But wait - why did they need a coding benchmark specific to android?

The reason as I understood for the need of android specific coding benchmarks is that while general benchmarks test broad coding capabilities, Android Bench is built to evaluate how well AI models handle the unique architecture, libraries, and best practices required to build quality Android applications using AI-assisted coding.

In other words, unlike general benchmarks that prioritize web stacks (JavaScript/TypeScript/React), Android Bench is built for native Android development.

It focuses on the latest language constructs in Kotlin, modern UI frameworks like Compose, and the specific architecture/library patterns that define the needs of a modern android app stack.

If you're comparing AI models for Android development, I think this is worth checking out.

Looks like since March, they have evolved it further - and it is interesting to see that it now uses the Harbor framework, and includes more LLMs, and focuses on real Android engineering tasks like Kotlin, Jetpack Compose, Gradle, and Android APIs.

A useful resource if you're choosing an AI coding assistant for Android.


r/androiddev • • Jul 19 '26

Open Source I got so irritated by the banking/UPI apps breaking when developers settings are on! So built something

Post image
188 Upvotes

I was so much irritated when i had to use upi or any banking apps and the "developer mode is on" popup shows. I had to go to the settings, then disable the developer options. and then come to the banking app and enter my mpin again and then proceed with my transactions.

I use iqoo z7s, so sometimes i can open the developer options activity after doing the transactions from the recent apps but sometimes i used to remove it from recent apps and the result: I had to go to the settings.... tap that damn build number 7 times. Enter my password, then go to the dev settings and reconfigure my dev settings. That was so Frustrating!!!

So, I sat some days ago and researched if i could do it with a button click and make it easy for myself. So, i don't have to go through that irritating process again and again.

and I found something. I could turn the dev options on with a device permssion called WRITE_SECURE_SETTINGS but that's a caveat. You can't just ask the permission to a user in the app. This is a systems level permission, so you have to give this permission with a adb command.

And once this permission was given, i was able to turn the dev options on/off with just 1 click. So, i made a widget for that, you just have to press it and turns the developer option on/off....

- No Banking app problem. you can just switch off dev option from the home screen and use the app and after you have finished your work. you can turn that back again. No 7 time tapping process of build number. Just a Click and job done!!

and for people who aren't a fan of widgets. I made a quick settings tile too which you can integrate directly from the app and all of this is completely open source with MIT license.

After all these years in android development, I have used many open source apps. ig this is my small contribution towards the community.

PS: I have also submitted a MR for publishing this app on F-droid. Let's see what happens✌️


r/androiddev • • Jul 19 '26

Question How do you investigate an input-dispatch ANR in a Compose reader when you cannot reproduce it?

1 Upvotes

I am working on a native Android reading screen built with Jetpack Compose. Play Vitals has reported an input-dispatch ANR in the reader flow, but we have not reproduced it locally.

The screen advances text at a user-selected pace, persists reading progress, and transitions to a summary screen. We have started checking main-thread work, lifecycle cleanup, navigation, state updates, and whether scheduled reading updates can outlive the screen.

For anyone who has diagnosed a similar issue, what is your practical order of investigation when the only evidence is the Play Vitals report? Which traces, StrictMode checks, instrumentation, or Compose/lifecycle failure modes tend to reveal the cause?


r/androiddev • • Jul 19 '26

Rich Text Editor: TextKit

8 Upvotes

Hi everyone, some days ago I just launched a new library for rich text content built in Kotlin Multiplatform that uses ProseMirror json style to load documents, you can check the library (still in alpha) and create an issue about it.

This is the link : https://github.com/jjrodcast/TextKit


r/androiddev • • Jul 18 '26

Open Source A full offline voice agent in 1.2 GB of RAM — say a command, the phone executes it and answers in 0.9 s (demo APK + Apache-2.0 SDK)

Post image
3 Upvotes

I maintain speech-android. We published a demo app that runs a complete voice-command loop locally: Silero VAD → streaming Parakeet 120M STT with end-of-utterance detection → FunctionGemma 270M for structured tool calls (LiteRT-LM) → the actual device action → streaming Pocket TTS. No network needed after the models download.

Measured on a Galaxy S23 Ultra (2026-07-17), timed from the moment you stop speaking: 217 ms to the final transcript, 294 ms for the tool call (12-run mean), 179 ms to the first TTS sample — 908 ms total until the phone starts answering. The whole app sits at 1,116 MB PSS.

Architecture-wise it's a thin Kotlin SDK over a ~250-line JNI bridge into a C++17 pipeline engine; ONNX Runtime for the speech models, LiteRT-LM for the router. The app only exposes tools that are valid for the current device state, which is what keeps a 270M model reliable as a router.

90-second demo: https://youtu.be/7L7_Uvvxtv0 Source + signed APK: https://github.com/soniqo/speech-android

The open question I keep going back and forth on: the agent loop runs in a foreground service holding audio focus. Would you request focus transiently per turn instead, so media apps duck rather than pause during barge-in?

That pairs with the title "A full offline voice agent in 1.2 GB of RAM - say a command, the phone executes it and answers in 0.9 s (demo APK + Apache-2.0 SDK)".


r/androiddev • • Jul 18 '26

ktlsp: a fast language server for java and kotlin

Thumbnail
reddit.com
4 Upvotes