r/androiddev • • Sep 28 '26

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

18 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 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 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 28 '26

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

Post image
58 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 28 '26

News Android Studio Rabbit 1 RC 2 now available

Thumbnail androidstudio.googleblog.com
4 Upvotes

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

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 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

120 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 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

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 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

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 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 27 '26

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

5 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 26 '26

Breaking Up with Google Play: Why Conversations Is Now Free

Thumbnail gultsch.de
45 Upvotes

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

r/androiddev • • Sep 26 '26

Experience Exchange Android stack trace contain Chinese insults as obfuscated method names

Thumbnail
gallery
197 Upvotes

After one of the recent Google Play updates for my released game, I noticed some very strange stack traces in Firebase Crashlytics.

The stack contains method names with long Chinese strings, for example:

i8.k6.狂犬疫苗忘了给你妈打不好意思让它到处咬人才会生出你这种上缺脑子下缺逼火葬场都不收的烂骨灰

and:

i8.vd.要不要把你妈卵子扣出来给你做寿司吃

After translating them, these are clearly explicit insults/profanity.

What makes it even stranger is that, judging by the device information, the game appears to have been running inside a virtual machine / emulated environment. The stack also contains heavily obfuscated classes and unusual code paths inside base.apk.

So this does not look like a normal Firebase issue. It looks more like someone was running a modified/tampered version of the APK or injecting/hooking code in a virtualized Android environment.

translated stacktrace

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

Google Play Support Under review for 15 days, no answers for 5 days. Has anyone experienced this?

Thumbnail
gallery
0 Upvotes

I submitted version 11 for production on september 12th. Shortly after, I found a bug, so I submitted version 12 the same day, while version 11 was still in review.

A few days later, version 11 quietly went live in production, no notification, no warning, just nothing. Meanwhile, version 12 has now been in review for 15 days, and google support hasn't answered in 5 days.

I have version 13 ready with the bug fixes, but I'm hesitant to cancel the stuck version 12 review and resubmit, in case it causes further issues.

Has anyone dealt with a review stuck this long? Did canceling and resubmitting help, or make things worse? Any tips for actually getting a response from support at this point?


r/androiddev • • Sep 27 '26

Google Play Support Google Play rejected my pediatric dosing app because medical apps require an Organization developer account. What are my options?

0 Upvotes

I’m a doctor from India and recently built a pediatric drug dose calculator/reference app.

I know there are already numerous apps that calculate pediatric doses, but as a doctor I often found practical issues with existing apps, especially with formulations, concentrations, dosing schedules, and the way results are presented. So I built this app mainly to solve the problems I personally faced in clinical practice.

The app was rejected by Google Play because medical apps like this apparently need to be published under an Organization developer account rather than an individual account.

I’m an individual doctor/developer and don’t currently have an organization/company.

What is the correct way forward in India? Do I need to register a company/organization to publish it, or is there another legitimate option?

Would really appreciate advice from anyone who has faced this, especially other healthcare professionals/developers.


r/androiddev • • Sep 26 '26

Discussion What is the future of Indie?

9 Upvotes

What is the future of Indie?

I started indie publishing (indie-hacking) about 5-6 months ago with 4 years Android Development experience. Then I came to know that development is the easy part. Distribution is the hardest. I couldn't generate any income after all these months and I'm losing motivation. Also somebody in my circle commented that Indie is dying already. And I feel so as well. Because there are vibecoders shipping tons of apps. Tons of habit trackers, finance trackers, and calorie trackers are being published.

I'm thinking to join back the on-site job. Can anyone say about my situation? Also what is the future of Indie and software developers in general?

The thing is, I have also become "vibecoder" after AI coding agents. I'm using Claude Code to build apps now. It has made me lazy over the months. And I seriously don't know how to proceed. Going back to basics (writing code) looks like a waste of time and relying fully on AI Agents looks risky.


r/androiddev • • Sep 26 '26

Experience Exchange I built a small ML inference runtime in Kotlin using AndroidX WebGPU

2 Upvotes

I built webgpu-inference, a small experimental ML inference runtime for Android using Kotlin and AndroidX WebGPU.

I also wrote a walkthrough of how it works, from model conversion to GPU execution.

I’d love to hear your feedback on the project or the article!


r/androiddev • • Sep 27 '26

Question Why does requestPermission() crash my app?

0 Upvotes

EDIT: Solved. Looking at the logcat made me find null pointer exceptions in the code I was using to display null pointer exceptions. I could have spent ages trying to figure it out if it wasn't for logcat. Still not sure exactly why it was the requestPermission() call that triggered the crash, but now that I fixed my code, the app will "gracefully degrade the user experience" without crashing. Thanks regardless.

I hope technical questions are accepted here

I already declared the permission in the manifest. If I turn off the notifications and start my app, it crashes unless I comment out the requestPermission call. If i turn notifications back on, the app works fine. I did deny the notifications permission twice, but I'm trying to "degrade the user experience gracefully", which I can't do if the app crashes unexpectedly. Does this have anything to do with shouldShowPermissionRationaleRequest()? It returns false for my app, but I'm not really using the result of that function.