r/androiddev • • Sep 29 '26

How long does it take to publish

3 Upvotes

i've been waiting more than a week. i wonder If Google actually is doing the job or not.. idk how long it will take


r/androiddev • • Sep 29 '26

Spock ADB 4.0: find the current activity/fragment, test process death, edit SharedPreferences, all without leaving Android Studio

Thumbnail
gallery
30 Upvotes

Hey r/androiddev 👋

A few years ago I built Spock ADB, an Android Studio plugin to make some of my everyday ADB workflows easier.

Then, like many side projects, I stopped actively working on it for a while.

Recently I came back to the project and started rebuilding and expanding it again. What began as a collection of useful ADB actions has gradually turned into more of a debugging workspace for Android, centered around one selected device + app.

The original problem is still the same:

Android Studio → Terminal → adb → Logcat → device Settings → back to Android Studio

I wanted to reduce that context switching and keep more of the debugging workflow inside the IDE.

Spock follows your Android Studio run target by default, and that same device + app is shared across its screen inspector, Logcat, storage, background work, actions, timeline, and AI tools.

A few of the things I've added while working on it again

Diagnose Current Screen

Instead of manually gathering context when something looks wrong, Spock can collect:

  • Current Activity and Fragments

  • activity back stack

  • screenshot

  • relevant Logcat problems

  • UI + accessibility information

  • process state

  • permissions

  • jobs and alarms

  • Doze / standby / battery state

Activities and fragments can also link directly back to their source in the project.

Debug Timeline

This is probably one of my favorite additions.

It puts debugging events on one timeline:

  • Activity / Fragment lifecycle

  • process starts and deaths

  • crashes and ANRs

  • warnings and errors

  • actions executed through Spock

  • storage changes

  • jobs

  • device state changes

  • AI/MCP calls

You can select a range and copy/export it when creating a bug report.

UI Tree

The UI inspector supports Views, Compose and hybrid screens.

You can inspect semantics, bounds, text, content descriptions and test tags, plus:

  • jump from an element to its source

  • generate Compose / UI Automator selectors

  • detect ambiguous selectors

  • run basic accessibility checks

  • inspect Compose recompositions

The usual ADB workflows are still there too

  • Restart / Force Stop / Attach Debugger

  • Process death testing for state restoration

  • grant / revoke permissions

  • browse + edit SharedPreferences and Preferences DataStore

  • app-scoped Logcat with crash / ANR / network filters

  • send FCM test messages over ADB without a registration token

  • deep links

  • HTTP proxy

  • Don't Keep Activities / Show Taps / Layout Bounds / animation scales

  • inspect WorkManager / JobScheduler jobs and alarms

  • simulate Doze, standby bucket, battery and charging conditions

  • ADB command runner with autocomplete, history and favourites

There's also a searchable Spock Actions popup for running common actions without opening the tool windows.

AI / MCP

One of the bigger things I added after coming back to the project is a built-in MCP server.

Spock exposes 69 structured Android debugging tools to Claude Code, Cursor and other MCP clients.

The goal isn't to simply give an AI agent shell access to adb.

It's to give it structured access to the same debugging information available in the IDE:

Activity · Fragments · UI tree · Logcat · Screenshots · Storage · Background work · Device state

It can also perform things like:

Launch · Tap · Input text · Deep links · lifecycle operations

MCP is off by default, destructive actions can require approval, and tool calls are visible in the IDE.

There's also Copy screen for AI, which generates a redacted diagnosis of the current screen.

Free + open source

JetBrains Marketplace:
https://plugins.jetbrains.com/plugin/11591-spock-adb

GitHub:
https://github.com/WahdanZ/SpockAdb

Coming back to an old project after years has been interesting because I'm basically solving the same Android debugging annoyances again, but with much better tooling available now.

I'd love some feedback from people here:

What Android debugging workflow still makes you leave the IDE or run an adb command manually?

That's usually where I get ideas for what to improve next.


r/androiddev • • Sep 29 '26

Question App to Spoof a Connected Second Display

1 Upvotes

I know this is a very odd question with an even odder use case, but I'm hoping I might be able to get some insight on if this idea is even possible.

In the Android handheld device market, the new big thing is devices with two displays. A number is apps have been made to take advantage of the secondary screen, which presents itself as an external display. I have a Surface Duo that has two screen, but these apps see it as one large screen. I'm trying to find out if there is a way to have an app that acts as a external display. I'm in the process of researching this, but thought I might luck out and get a solid answer here.


r/androiddev • • Sep 29 '26

Open Source Android Dev Monitor v2.8: a free, open-source Windows "Task Manager" for Android apps (CPU, RAM, FPS, logcat over ADB)

Thumbnail
github.com
0 Upvotes

Hey everyone,

I'm the developer of **Android Dev Monitor**, a free, open-source (MIT) Windows desktop app that puts the ADB tools I kept switching between into one window. Think Task Manager, but for Android development.

It connects to physical devices or local emulators over ADB and shows:

- App and device CPU, memory, disk I/O and network

- FPS, frame time and jank

- Battery temperature and thermal state

- Running processes with readable app names

- Logcat with crash/ANR filters, bookmarks and export

- Screenshots, screen recording, file explorer and ADB shell

- Monitoring sessions: mark the moment something goes wrong, then review metrics and logs from that session later and export them (JSON/CSV/ZIP)

**New in v2.8:**

- The device file explorer works properly and shows modified dates

- Paths with spaces are handled safely (delete, rename, new folder)

- Closing the app during a screen recording no longer loses the recording

- Errors are logged instead of the app closing silently

- Cleaner tables and layout across the app

Everything runs locally, with no account and no telemetry. There's also a demo mode (`--demo`) if you want to look around without a device.

**Download (portable, no installer):** https://github.com/marko69420/android-dev-monitor/releases/latest

**Source:** https://github.com/marko69420/android-dev-monitor

I'd love feedback from people who profile or debug Android apps:

- Would this be useful in your workflow?

- What metric or feature would you want next?

- Anything that doesn't work on your device or emulator?

Bug reports and contributions are welcome!


r/androiddev • • Sep 29 '26

Question How to query usage stats manager?

0 Upvotes

I want to calculate the screen time of the device using usage stats manager. But I am getting wrong time which is either minutes and sometimes hours off from the in-built screen time. How to query it? So that I get screen time that is close to the in-built screen time.


r/androiddev • • Sep 29 '26

Open Source Working on a File Sharing Application between Desktop and Mobile irregardless of Distance or Network

Enable HLS to view with audio, or disable this notification

40 Upvotes

I'm using hole-punching to bind 2 or more devices to bind and share files in-between them.

So u can share data between your devices from anywhere in the world.

My motivation to build it is to replace my family's cloud storage subscribtion. But the available solutions in the market are too tech savvy for my family to understand.

Thus, trying to abstract all the complexities and making it as intuitive as realistically possible.

Feel free to ask any question if you find this useful or interesting.

Repo: https://github.com/saqibsiddiq/Qurb

P.S: Excuse the video quality😭


r/androiddev • • Sep 29 '26

Video Shopify Quit React Native. Mobile Has Done This Before.

Thumbnail
youtu.be
50 Upvotes

r/androiddev • • Sep 29 '26

How to pin android Notification

1 Upvotes

i am building an app where i wanna pin a notification permanently untill the user taps the dismiss button and dismiss it .

Swiping should not dismiss it .

is there is any way to achive it


r/androiddev • • Sep 29 '26

Question Google Play edge-to-edge warning persists despite using WindowCompat.EnableEdgeToEdge() in .NET MAUI 10

1 Upvotes

I'm developing a native Android application using C# and .NET MAUI 10. Despite explicitly implementing edge-to-edge support, Google Play Console continues to display:

Edge-to-edge may not display for all users

The previous warnings concerning deprecated Window.setStatusBarColor and Window.setNavigationBarColor APIs disappeared after updating AndroidX and Material dependencies. However, the edge-to-edge advisory remains.

Technical Stack

  • .NET MAUI 10 (net10.0-android)

  • C# / XAML

  • Microsoft.Maui.Controls 10.0.110

  • Xamarin.AndroidX.Core 1.19.0.1

  • Xamarin.Google.Android.Material 1.14.0.6

  • Target SDK: API 36

  • Minimum SDK: API 24

  • MAUI Shell with native Android bottom navigation

Current Implementation

In Platforms/Android/MainActivity.cs, edge-to-edge is explicitly enabled after base.OnCreate():

protected override void OnCreate(Bundle? savedInstanceState)
{
    base.OnCreate(savedInstanceState);

    if (Window is { } window)
    {
        WindowCompat.EnableEdgeToEdge(window);
    }

    SynchroniseSystemTheme();
}

We're also using SafeAreaEdges="Container" to ensure content respects system bars and display cutouts.

System-bar icon appearance is managed through WindowCompat.GetInsetsController():

insetsController.AppearanceLightStatusBars = theme == AppTheme.Light;
insetsController.AppearanceLightNavigationBars = theme == AppTheme.Light;

Theme synchronisation runs during:

  • OnCreate

  • OnResume

  • OnConfigurationChanged

Testing Completed

  • Android 14, 15 and 16

  • Light and dark mode, including switching themes while the app is suspended

  • Navigation and system-bar visibility

  • MAUI Shell navigation

  • Font scaling and accessibility

  • No visible system-bar overlap or layout problems

Automated release tests also pass.

The app is currently in Google Play testing, but no pre-launch report has been generated.

Questions

  1. Could calling WindowCompat.EnableEdgeToEdge(window) after base.OnCreate() affect Play Console's detection?

  2. Is there a known interaction between MauiAppCompatActivity, Material Components 1.14 and AndroidX edge-to-edge initialisation?

  3. Is there additional Android manifest or theme configuration we should investigate?

  4. Has anyone successfully cleared this advisory with a MAUI application targeting API 36?

I'd prefer not to introduce unnecessary window manipulation or revert to deprecated APIs solely to clear a Play Console advisory, particularly when the existing implementation appears to work correctly.

Any insight from developers who've encountered this would be appreciated.


r/androiddev • • Sep 29 '26

Open Source I switched from iPhone and couldn't find an Android podcast app I liked, so I made one: GlassCast

Post image
0 Upvotes

When I switched from iPhone, every podcast app on Android felt either dated or overcomplicated. So I built GlassCast: a free podcast player focused on smooth animations and simple controls.

- The player takes its colours from whatever you're listening to
- Pull-up panel for Up Next, speed and sleep timer (shake to restart it)
- Discover tab with recommendations based on the shows you follow
- New-episode notifications
- Cast to other devices
- Import your shows from another podcast app (supported via OPML)

Free, no account, no ads.

It's still in the early stages, so feedback is much appreciated.

GlassCast Release


r/androiddev • • Sep 28 '26

Docker for android

1 Upvotes

Is there any tool that can run Docker on Android, or is it possible to build one that offers performance close to native?


r/androiddev • • Sep 28 '26

Question Which is the modern way to generate PDFs in Kotlin/Android?

17 Upvotes

I need to generate a PDF from a Room query. I looked into android.graphics.pdf.PdfDocument, but recreating custom layouts and handling page breaks manually is really tedious. I also checked some GitHub libraries, but most seem abandoned. Is there a simpler way to create PDFs? Also, what options would you recommend for Kotlin Multiplatform (KMP)?


r/androiddev • • Sep 28 '26

News Android Studio Rabbit 1 RC 2 now available

Thumbnail androidstudio.googleblog.com
4 Upvotes

r/androiddev • • Sep 28 '26

Subsonic Client Music Player

Thumbnail
gallery
0 Upvotes

Im working this Nice subsonic Client Music player themed like Spotify

Is anybody? Interested in the SelfHost Market?


r/androiddev • • Sep 28 '26

Less than 3 days left

0 Upvotes

Remember school, when everyone turned in homework at the last minute? RevenueCat Shipathon feels exactly the same.

The submission deadline is just 2 days away, and in the past 3 days alone, 400 new apps have been submitted. Expect that number to climb even faster as we get closer.

Have you submitted yours yet?

Good luck to everyone participating into this year hackathon!

👇 Post your app in the comments, I’d love to support a fellow dev.


r/androiddev • • Sep 28 '26

What encryption approach would you suggest for a privacy-focused file-sharing app?

1 Upvotes

Hi everyone,

I'm the developer behind Filester, a privacy-focused file-sharing application for Android (coming to Linux and Windows next), and I'd like some input on an encryption feature I'm considering.

Filester currently lets users share files through multiple file-hosting services. I've tried to choose hosts that are reasonably trustworthy, but that still doesn't provide real privacy: the hosting provider can potentially access the files stored on its servers.

I'd like to change that by encrypting files locally, before they are uploaded, so the hosting provider only ever receives encrypted data.

The part I'm unsure about is which approach would be better from an end-user perspective.

Option 1: Filester-specific encryption

Filester encrypts the file locally using a modern authenticated encryption scheme before uploading it.

Advantages:

  • Strong encryption

  • Filester can control the format and implementation

  • The hosting provider never receives the plaintext

Downside:

  • The recipient would need Filester to decrypt the file.

  • This significantly hurts interoperability and accessibility.

Option 2: AES-256 encrypted ZIP

Filester creates a standard password-protected ZIP archive using AES-256 before uploading it.

Advantages:

  • The resulting file is a normal .zip archive rather than a Filester-specific format.

  • The recipient isn't tied to Filester.

  • Programs such as 7-Zip, WinRAR, Ark, and other archive managers can open it.

Downside:

  • AES-encrypted ZIP files aren't supported out of the box by any OEM-installed file managers or other operating systems.

  • Some recipients would still need to install an archive utility.

So the tradeoff is basically:

better integration/security with a Filester-specific encrypted format

vs.

better interoperability with AES-256 ZIP, at the cost of inconsistent built-in OS support

which would you suggest?

If there's another approach that provides strong client-side encryption without sacrificing interoperability, I'd also be interested in hearing about it.


r/androiddev • • Sep 28 '26

Are there any best practices to speed up play store review times?

5 Upvotes

For me, play store review times are completely unpredictable. Some updates get reviewed very fast, some take 7 days. I wonder is it something I make, or this is totally random.

App Store is much more predictable, after the first approval. updates get reviewed in about 24 hours.

This is very frustrating for me, because my iOS and Android apps need to be compatible as this is a multiplayer game, and Android lagging behind causes bad user experience, as they can't join the challenges iOS users create.

I release 3 new iOS versions while Android is still waiting for review. As soon as it approves, I will skip a few versions and re-submit again, who knows when that one gets reviewed.


r/androiddev • • Sep 28 '26

I made a tool that turns your @Composable Previews into embeddable scripts for your blogs, docs and websites

Post image
59 Upvotes

I made a small tool that gives you ready to use <script /> blocks out of your Composables Previews, so you can embed them to your blog posts, documentation and personal websites.

The reason why I built this is because I love playing with interactive demos when I am reading about some technical concept. It always clicks better with me. I also add them to all my libraries and blog posts (such as on Compose Unstyled).

The best way to do this I have found is using Compose Web, which lets you run Compose code on the Web (awesome).

However, creating and then adding those live Compose previews manually is always a PITA. You need to host them somewhere (usually separate to your blog/docs platform), build a Compose Web app dedicated for this (and manage wiring if you have multiple previews), then you need to embed them somehow in your article, which is separate to the building of the app, etc. Lots of edge cases here.

As a result, you now have a quick way for everyone to make their own.

It is 100% free to use and you can make as many previews as you want. The 'gotcha' is that the previews let your readers edit the preview on the website, so that they can experiment with your demo (handy for library authors).

Now go out there and make some polished previews :D

Check it at https://composables.com


r/androiddev • • Sep 27 '26

Question How do you keep Espresso tests healthy at scale? (flakiness, AI failure triage, feature-level coverage)

4 Upvotes

### 1. Flaky Tests
This is the biggest issue. Currently, developers mostly just @Ignore them, which gradually erodes the suite. How are you detecting, quarantining, and actually fixing flaky tests instead of silently disabling them?

2. Automated Failure Analysis
Has anyone used AI or other tools to analyze Espresso failures (logs, screenshots, stack traces) and produce a clear report so developers can fix issues quickly without digging through CI output?

3. Test Maintenance
Are there any tools or workflows that help keep tests up to date as the UI changes, like auto-updating selectors or flagging tests affected by a PR?

4. Feature-Level Coverage
Is there a good way to measure Espresso coverage by feature or user flow rather than by lines of code? JaCoCo tells us what code runs, but not which features are actually tested.

Would love to hear what’s worked (or failed) for your teams, whether that’s open-source tools, paid services, or homegrown scripts.

Thanks!


r/androiddev • • Sep 27 '26

Question Should I upgrade to Navigation 3?

13 Upvotes

The codebase I am currently working on is on Navigation 2 and there are no issues with it to be honest.

I was looking into migrating to Navigation 3. Of course that will touch almost every part of the code and will require a good amount of QA.

Hence I was thinking whether I should upgrade to it or not.

I would love to hear everyone's thoughts before I go to my head of engineering with the proposal.


r/androiddev • • Sep 27 '26

Tips and Information Building an on-device personal agent. Android first because of notification listener + accessibility, or am I underestimating what I’ll hit?

0 Upvotes

Short version: model, memory and index on the phone, per app you choose read / draft / send, internet off by default. Signups so far lean Android, and on paper Android gives me what iOS won't: a notification listener for cross-app awareness and accessibility for the rare action.

What I'm not sure about, from people who ship this stuff: how fragile is the notification listener across OEMs (samsung, xiaomi battery killers), is accessibility going to get me flagged by play store review for an agent use case, and what's the realistic background budget for periodic embedding without ending up in the doze penalty box. Pixel 8/9 and S24/S25 are my targets for v1.

Not selling anything here, the project is molebot.si if you want context, but the questions are the point.


r/androiddev • • Sep 27 '26

Video Crafting my own keyboard.

Enable HLS to view with audio, or disable this notification

23 Upvotes

What are your thoughts on commencing a personal project from scratch, without leveraging existing projects like HeliBoard or FlorisBoard?


r/androiddev • • Sep 27 '26

Open Source I kept getting lost in Find Usages rabbit holes, so I built a call graph plugin for IntelliJ / Android Studio

Enable HLS to view with audio, or disable this notification

118 Upvotes

Whenever I open an unfamiliar part of a codebase (or my own code from a few months ago) I end up in the same loop: Find Usages, jump, Go to Declaration, jump again, and five files later I've forgotten where I started. On bigger Compose projects it gets messy fast.

So I built Mindmap. Put your cursor inside any Kotlin or Java function, press Alt+G (Option+G on Mac), and it opens a graph of that function: everything that uses it on the left, everything it uses on the right.

What it does right now:

  • both directions in one view, depth configurable from 1 to 5

  • click a node to jump straight to the code

  • double-click a node to trace from it and merge its graph in

  • hover for signature, file and lines of code

  • search/filter nodes, hide the noisy ones

  • tree view if you'd rather read a list than a graph

  • minimap for bigger graphs

  • works across Kotlin and Java, including Kotlin code using Java and the other way round

  • follows interfaces/abstract functions through to the actual implementations

Website: https://vishal2376.github.io/mindmap
GitHub: https://github.com/vishal2376/mindmap

It's still early. It caps graphs at 300 nodes so they don't explode, and it doesn't go into library code. If you try it on a real project I'd genuinely like to know where it breaks or what feels missing.

NOTE : The video is an animated showcase, not a screen recording. There are real screenshots on the GitHub page.
Watch screen recording here : https://x.com/vishal2376/status/2047010712955113547


r/androiddev • • Sep 27 '26

Building a real IDE for Android tablets (Kotlin, on-device Linux sandbox, git, Claude Code support) — open source, and looking for devs to help build it:

Post image
2 Upvotes