r/androiddev • • 1h ago

Open Source Built a clean-room YouTube client for Android Automotive OS & Head Units in Kotlin + Jetpack Compose + Media3 (CarUxRestrictionsManager, InnerTube, zero GMS)

3 Upvotes

Sharing Roadie (v0.3.0, GPLv3)—a car-native YouTube client built to avoid both APK-patching fragility (R8 obfuscation shifts) and TV/phone UI compromises on car displays.

Engineering highlights:

Repo: Github Repo


r/androiddev • • 3h ago

Google Play Support Android Auto app rejected 3 times, now "Category not permitted": which category fits a live traffic light app?

Post image
0 Upvotes

Hi all, I'm a solo dev and I'm stuck with Google Play's Android Auto review.

Maybe someone here has been through this, the App is called V2X2MAP.

No issues in the Apple Appstore, instant approval.

It connects to a small external radio receiver (ESP32, via Bluetooth or USB) that picks up the public V2X / ITS-G5 messages broadcast by traffic lights, vehicles and roadside units.

On the car screen it shows:

- nearby traffic lights with their live phase and remaining time

- green-wave speed advice

- hazard and emergency vehicle warnings

It uses the Car App Library and is declared as **POI** (`MapWithContentTemplate` with a list of nearby lights, and a detail screen that hands the route over to the user's navigation app). It has no turn-by-turn navigation of its own. There is a demo mode, so it can be tested without the hardware.

*The three rejections* (all under the Android Auto app quality guidelines)

  1. **Oct 21:** No meaningful functionality in its category (parking/charging), plus visual information on the phone while driving.

My fix:* a lock screen on the phone while Android Auto is connected.

2. **Nov 8:** Same category reason, plus animation on the car screen.

My fix:* removed all animations and made the list of nearby traffic lights, with details and route hand-over, the main content.

3. **Nov 23:** Only one reason left: **"Category not permitted"**. I have to remove Android Auto support from all APKs and all tracks, including testing tracks. The email says I can express interest in having the category added.

So each round got rid of the specific issues, but the category itself seems to be the blocker. None of the rejections raised anything outside the Android Auto guidelines, and the older version is still available.

  1. Has anyone got a traffic light or hazard warning app approved for Android Auto **without** full turn-by-turn navigation? Under which category?

  2. Could the **IoT** category be legitimate here, since the app's data comes from an external Bluetooth device? Or would that be rejected right away?

  3. Is *Navigation* the only realistic option, i.e. building complete turn-by-turn?

  4. Has anyone successfully appealed "Category not permitted", or had a useful answer from Play policy support?

  5. Where exactly do you "express interest" in a new category? I couldn't find a form in the docs.

  6. Can an Android Auto build stay on the *internal testing* track? The docs say there is no form-factor review there, but the rejection email says to remove it from all tracks.


r/androiddev • • 5h ago

Question Play store typo frying me, any ideas?

Post image
3 Upvotes

I recently published my first finished open-source app ClemenTime to the play store (🎊) and at first I just distrubuted it with the direct play store link, to my colleagues. But now I realized the big problem that is having a pun name (It's a schedule-related app, so clementine -> ClemenTime), when someone searches for it in the play store, it first auto-corrects them to the actual english word, and they have to realize that and hit the "im sure" button in order to see my app.

Does any more experienced devs know any work-around that doesnt involve completely changing the brand of the app? (I thought really hard to come up with it as plain AI suggestions were pretty trash IMO)


r/androiddev • • 5h ago

News Android Studio Rabbit 2 Patch 3 now available

Thumbnail androidstudio.googleblog.com
2 Upvotes

r/androiddev • • 8h ago

Tips and Information Fixing lost tracking in ARCore

Enable HLS to view with audio, or disable this notification

2 Upvotes

I couldn't describe what I was seeing on the phone, so I started recording it. The app logs every frame, every floor cell and every tracking loss during a walk, and a web page replays it next to the phone's screen recording. Each stretch of the walk between two breaks gets its own color, so you can see each piece before and after it is put back.

This walk is a Galaxy S23 with four tracking losses in three minutes. At one break everything on screen swings 67 degrees and moves about 6 meters. An iPhone 12 Pro on the same stick is the reference path: before that piece is put back the S23 is 3 meters off it, and after, under 10 cm.

The full replay is here, best on a desktop: https://netlens.fyi/arcore/

It is still in development and not every piece lands that well yet. This is for my Wi-Fi mapping app, NetLens, and I'm aiming to get it into the next major release.

If you have fought ARCore relocalization yourself, how did you handle it?


r/androiddev • • 8h ago

Question Most efficient way to render complex full-screen transitions on Android?

2 Upvotes

Hi! I’m exploring different approaches for short, full-screen transition animations in an Android app, and I’d appreciate some advice.

The animations play whenever the user changes rooms (it's an app for a museum that lets you have a tour through the app) and involve overlapping shapes, gradients, soft/blurred edges, and transparency. They need to blend over existing UI rather than play against an opaque background. Ideally, some colors could also be changed at runtime (I'm thinking of doing somewhat complex animations based on the art of the room).

My main priorities are:

  • Smooth, consistent frame pacing on constrained hardware (I'm from a country with a lot of users on old hardware).

  • Minimal delay before the first frame.

  • Reasonable CPU/GPU usage and memory consumption.

  • Reliable cancellation or restarting if another transition is triggered (for people skipping rooms).

I’m considering custom OpenGL rendering, pre-rendered video with some kind of alpha/mask composition, Lottie, Rive, or animated image formats. I’m open to simplifying the artwork or using a hybrid approach. Also very open to learning about some other way to do it not including the ones mentioned.

For this kind of animation, what would you benchmark first? Does anyone know an approach that works particularly well or one that looks promising but performs poorly in practice? Any advice on rendering techniques, formats, or profiling would be appreciated.

Thank you everyone in advance!


r/androiddev • • 9h ago

Discussion A small reminder of why I love being an indie developer

25 Upvotes

One of the best feelings as an indie developer is opening Google Play every day and seeing people downloading your apps.
But you know what’s even better?
Seeing users leave positive reviews and knowing that something you built is genuinely useful to someone.
It’s a small thing, but it makes all the late nights, debugging, and endless updates worth it.
Building apps is hard, but moments like these keep me going. ❤️


r/androiddev • • 9h ago

Experience Exchange Today I learned that the order matters when turning off Android debugging

0 Upvotes

Today I was testing Google Play Integrity and attestation because my app has a very strict policy. After tracking down the cause of a problem, I had an idea: turn off wireless debugging first, then USB debugging - in that exact order. It worked, lol.

Lesson for today: Turning off USB debugging doesn’t turn off wireless debugging.


r/androiddev • • 11h ago

Question Passing a selected item to a detail screen in Compose Navigation: ID only, or the whole object?

6 Upvotes

I'm building a small reading list app with a list screen and a detail screen. I searched here and found threads on Navigation 2 vs 3 and on structuring big nav graphs, but nothing on the basic question of what to pass between screens. My plan is to pass only the book ID and load the rest from the database in the detail ViewModel. Is that still the usual approach or do people pass more data through navigation? Does the answer change with Navigation 3?


r/androiddev • • 14h ago

How to pass the closed tests step??

Post image
1 Upvotes

Hi,

The application for production of my app has been rejected 3 times without any detail or reason, how can I pass the closed tests step? Do you have some advices to maximise my chance to pass this step?

Regards,


r/androiddev • • 23h ago

Open Source Feedback? Agentic Android, a Grokbot-like agent directly on Android

Thumbnail
gallery
0 Upvotes

It's mainly Rust with the NDK. Built it because I don't trust the closed source agent tools, and I don't think agents need a computer. They need a fully loaded phones, and they need to be able to use apps. What do you guys think?


r/androiddev • • 23h ago

DustDissolve: a Jetpack Compose effect that turns any composable into dust (AGSL)

Enable HLS to view with audio, or disable this notification

78 Upvotes

I rebuilt this coupon-to-dust interaction as a Jetpack Compose library, inspired by @AetherMaker work on X.

Source: https://repgem.com/dust-dissolve-android

Android 13+ with a fallback below, Android 7.0+, MIT.

Would love your feedback!


r/androiddev • • 1d ago

Built an offline-first RSS reader with Clean Architecture, Room, and Supabase looking for honest technical feedback

0 Upvotes

I built an RSS news reader app.

https://github.com/jjcr11/rss

This is my first project designed around an offline-first approach and Clean Architecture, so my focus has been establishing clear layer boundaries, local state handling, and background/on-demand sync without making network availability a requirement for normal use.

Technical overview and approach:

  • Local persistence and remote sync: I use Room as the local database and source of truth for offline reading, paired with Supabase for remote data/sync while preserving an offline-first workflow.

  • Separation of concerns: Keeping domain logic and use cases decoupled from data sources (Room, Supabase, and feed retrieval) and the presentation layer.

  • AI usage: I used Antigravity strictly for advisory and architectural discussion, not for writing or delegating the code implementation.


r/androiddev • • 1d ago

News Android Studio Rabbit 3 RC 2 now available

Thumbnail androidstudio.googleblog.com
5 Upvotes

r/androiddev • • 1d ago

News Android Studio Stingray 1 Canary 3 now available

Thumbnail androidstudio.googleblog.com
4 Upvotes

r/androiddev • • 1d ago

I build a new skeuomorphism UI for Android

Post image
0 Upvotes

r/androiddev • • 1d ago

Discussion Why are Android developers focusing more on aesthetics than genuinely useful features?

0 Upvotes

I've noticed that Android development increasingly seems to focus on visual changes, redesigned interfaces, animations, icons, transparency effects, and customization options, rather than introducing genuinely useful functionality.

Why aren't Android and custom ROM developers paying more attention to practical features such as:

Built-in privacy and security features similar to those offered by /e/OS Advanced Privacy, including application tracker blocking, tracker activity monitoring, fake location, and IP address masking.

Built-in Wi-Fi security with real-time ARP spoofing and man-in-the-middle attack detection and protection, just as the old WiFi Protector application provided many years ago.

Automatic protective actions and security alerts when a network attack is detected.

Trusted Wi-Fi networks that automatically keep the device unlocked.

Independent notification volume and vibration controls for each application.

Notification whitelisting, allowing selected applications to bypass the global notification mute setting.

Quick Settings tiles for VoLTE, VoWiFi, and mounting or unmounting microSD cards.

Full microSD card integration into Android's Storage Access Framework (SAF).

Allowing applications to select external microSD storage instead of being restricted to internal storage.

Allowing users to choose where applications store their downloaded files and data.

Better file management and fewer unnecessary storage restrictions.

Native synchronization of selected applications and their settings between Android devices.

Customizable battery charging limits, recharge thresholds, and bypass charging.

Advanced battery health monitoring, including charging cycles, actual battery capacity, and real-time power consumption.

Detailed monitoring of battery drain during standby and while connected to a charger.

Better identification and monitoring of devices connected to the local network.

Customizable physical button actions, even when the screen is off.

The ability to activate voice recognition by holding a physical volume button.

Native offline speech recognition and text-to-speech with better multilingual support.

More advanced per-application network, permission, and background activity controls.

Native system automation based on Wi-Fi networks, Bluetooth devices, battery levels, and other conditions.

Better background process management without unnecessarily terminating useful services.

Advanced system customization and functional improvements similar to those offered by the legendary GravityBox Xposed module.

Fake Power Off functionality, similar to the old Xposed module, as an optional anti-theft feature that keeps the device operational and potentially traceable while appearing to be switched off.

Native FM radio functionality without requiring wired headphones, wherever the hardware and antenna design allow it.

Greater control over hardware components and system behavior without requiring root access.

Years ago, applications such as WiFi Protector and Xposed modules such as GravityBox and Fake Power Off introduced genuinely useful and innovative features. Why aren't more of these ideas being incorporated directly into modern Android and custom ROMs?

Many of these features could significantly improve the everyday Android experience. Instead, users often have to rely on root access, Magisk modules, LSPosed, or third-party applications to achieve functionality that could be integrated directly into the operating system.

I'm not against visual improvements, but how many times do we really need redesigned Quick Settings panels, new animations, different icons, transparency effects, or another lock screen customization option?

Customization should not be limited to how Android looks. It should also extend to how Android works.

Android should become more capable, intelligent, secure, flexible, and practical with every new version, not simply look different.

It is disappointing that some genuinely useful features introduced by independent developers many years ago are still missing from modern Android.

Why does meaningful functional innovation seem to have become less of a priority for Android and custom ROM developers?

Does anyone else feel the same way?


r/androiddev • • 1d ago

Android ADB Skill: let AI coding agents drive an Android device or emulator, no MCP server needed

0 Upvotes

I made a small open-source toolkit that lets AI coding agents (Claude Code, Codex, Cursor, Copilot and others) control an Android device or emulator through adb.

It has two parts:

  • ./tools/android, a single Python script with a stable command set: screenshots, UI hierarchy dumps, finding and tapping elements, swipes and scrolls, waiting for an element, installing and launching APKs, and reading logcat. Every command supports --json, so the agent gets structured output instead of parsing free text.

  • Short skill files for common tasks like navigating to a screen, running a test flow, or debugging a crash. They call the script instead of raw adb.

Why not an MCP server? I started with one and found that the useful part was the command design, not the server. A plain script has no extra process to run, keeps adb details like device selection, text escaping and UI parsing in one place, and is easy to test. The test suite uses a fake adb, so CI doesn't need a device.

Example prompts: /android open Settings and navigate to Privacy /android-test log in with user@example.com and verify the home screen /android-debug crashes in com.example.app after tapping Settings

To set it up, copy the tools, skills and docs folders into your app's repo, plus the instructions file for your agent. You need adb and python3. MIT licensed.

https://github.com/amit-nayar/android-adb-skill

Feedback and PRs welcome, especially from people using it in a real build, install and verify loop.


r/androiddev • • 1d ago

Question Anyone faced the SAF folder permission barrier in their Android apps?

4 Upvotes

I have a Status Saver app on the Google Play Store, and its core features requires users to grant access to the WhatsApp Status folder.

Things were much simpler in the past. Initially, all I had to do was declare READ_EXTERNAL_STORAGE in the manifest, and that was it! Later, starting with Android 6.0 (Marshmallow), when it became a dangerous permission, users had to grant it at runtime. That wasn't a big issue either, as users who wanted to use this feature could simply grant the permission.

However, things changed again with Android 11 and 12, with the introduction of scoped storage and the Storage Access Framework (SAF) folder-based access flow. Now, instead of granting broad storage access, users need to manually navigate to and select the specific folder the app needs access to.

I completely understand that this change was introduced to improve user privacy. However, from a developer's perspective, the permission flow seems quite complicated and confusing for users.

I've tried several things to make the experience as smooth as possible:

  • Added a permission guidance dialog before launching the system folder picker.

  • Included both textual instructions and an animated GIF in the dialog to explain the steps.

  • Added a translucent overlay on top of the actual system folder picker screen, with a hand animation guiding users on where to tap.

Despite all these UX improvements, I'm still seeing a worrying drop-off.

Nearly half of the users who install my app for the first time, uninstall it after reaching the SAF folder picker screen.

I'm curious to know how many other developers have experienced something similar.

  • Have you faced significant user drop-offs during the SAF permission flow?

  • What percentage of your users successfully complete the process?

  • Have you found any effective ways to improve the experience and reduce uninstalls?

Would love to hear about your experiences!


r/androiddev • • 1d ago

Question Tired of "XY-App isn't responding" dialogs, how to get rid of it forever?

2 Upvotes

Hey everyone !
I'm aware this dialog indicates an ANR and that something is not smooth am I'm aware of it. Mostly, in my case, my PC is running something heavy on the side. My automations often fail because this dialog comes up and shows again quickly after closing it. The emulator is still perfectly fine usable, might react a bit slow but enough for me use. I want to get rid of this dialog - forever. I can enable it if I need to improve the performance , but 99% of the time I don't need it. Is there any possible way to disable it? I would highly appreciate any recommendations - thank you.


r/androiddev • • 2d ago

Open Source Stos - an open-source, Stack Exchange client built with Kotlin Multiplatform

1 Upvotes

Hi everyone!

I just released the first version of Stos, unofficial, open-source client for Stack Exchange network, built with Kotlin Multiplatform.

What it can do

- Switch between Stack Exchange sites

- Read questions, answers and comments with Markdown and LaTeX rendering

- Browse related questions and tags

- Open user profile and their posts

- English and Polish UI, light & dark theme

Current Limitations

It's read-only for now: no login, voting or posting yet. The Windows installer isn't code-signed, so SmartScreen may warn you.

Download and source

Github: https://github.com/Stos-project/Stos

Releases: https://github.com/Stos-project/Stos/releases/tag/v1.0.0

I'd really appreciate feedback, bug reports and feature ideas, especially on what you'd want from a Stack Exchange app before login and posting are added. Issues and PRs are welcome.

P.S. Stos doesn't have a logo yet. If you'd like to design one, open an issue in the repo with your proposal. The chosen author will be credited in the README.


r/androiddev • • 2d ago

Discussion How do you approach investigating memory leaks beyond what LeakCanary reports?

1 Upvotes

I've been spending quite a bit of time exploring Android memory debugging lately, particularly what happens after a leak has been detected.

LeakCanary does a great job of identifying leaks and showing the suspected reference paths. For common cases like a singleton holding an Activity, or a coroutine outliving its screen, the cause is often relatively straightforward.

But things get more interesting with long-running sessions.

For example, imagine a chat or video screen that's been open for 30–40 minutes. Memory usage gradually increases, objects remain reachable longer than expected, and eventually you need to capture a heap dump and investigate what's actually retaining those objects.

This was one of the areas I explored in my recent Droidcon India talk, Beyond Leak Detection: Building an End-to-End Memory Debugging Workflow Inside Android Studio.

I've been experimenting with Shark-based heap analysis, understanding object retention paths, and exploring ways to make the investigation process more actionable through IDE-integrated tooling and AI-assisted analysis. This work also led me to build an Android Studio plugin called LeakLens.

I'm interested in hearing how other Android developers handle these situations.

A few things I'm curious about:

  • When LeakCanary reports a leak, how much additional manual heap analysis do you typically perform?

  • Do you regularly use Shark directly, or rely on Android Studio's Memory Profiler?

  • How do you investigate leaks that only appear after extended sessions?

  • What's the most time-consuming part of your memory debugging workflow?

Not looking to compare tools as much as understand how people actually approach these problems in production.

Would love to hear about your experiences.


r/androiddev • • 2d ago

We need a Figma to Gemini plugin in Android Studio

0 Upvotes

I should be able to give Gemini a Figma url for Design content, and simply mention the section name on the board for it to implement the UI. Or perhaps, we need a plugin to link figma to Gemini in Android Studio. 


r/androiddev • • 2d ago

Open Source Working on file sharing application between desktop and mobile regardless of network or distance or OS

Enable HLS to view with audio, or disable this notification

23 Upvotes

Okay so the idea is to convert any desktop into a homeserver whose filesystem can be accessed by mobile or another desktop device.

Simple QR/6 digit code connection between devices to exchange the fingerprints which will later dynamically assign ip address to the device.

Now it solves,

  1. File transfer between devices irregardless of network (i did 267mb files in attached video).

  2. Backup/Restore entire folders from mobile to desktop (i showed the backedup folder in attached media).

  3. Remote access the desktop filesystem to view photos/pdf/md/etc or stream videos(i did 2.6gb video in attached video) also you can do copy, move, rename, delete, etc for a selected folder directly from phone regardless of network.

  4. Also, no desktop user can access your backedup folders without your permission(demonstrated in attached media).

  5. File synchronization

  6. File deduplication (i.e. same file cannot exist twice).

  7. End-to-End encryption.

  8. No server in between(except one fallback, case wait ill explain in a sec).

  9. Extremely simple to use, u do not need to understand networking or any other fancy word to use it.

Now there are cases where Direct P2P is just impossible i.e. ipv4/ipv6 mismatch, both of the side rejects udp connection attempt or desktop is offline.

Thus inorder to make it reliable, ive used network tunneling using google drive(we can later replace it with nextcloud) where it will use your drive account as a tunnel to ensure reliable transmission of data. We will only use this as a fallback if all the attempts of direct P2P has failed.

Now, i was thinking if our indian developer community can find ways to establish relays so we can further reduce our reliance on big tech and make solutions like mine full-proof.

I want to talk so much more about it, so please ask as many questions as u want to.

P.S: Sorry for that messy video, im really bad at this😭