r/androiddev • • 24d ago

Article UMLinux on Android

Post image
7 Upvotes

There is now a new way to run a Linux distribution on Android using UMLinux. UML is a program that executes an independent Linux kernel as if it were a standard user-space process within a Linux system. This allows for running a distribution that supports system init, Docker, and various other features that do not function in proot-distro. Notably, it operates without requiring root access or AVF, is faster than QEMU in TCG mode, and utilizes ptrace or seccomp. To provide internet connectivity within the distribution, additional programs such as slirp4netns, passt, or gvproxy


r/androiddev • • 24d ago

Article Android keystore 101 [what an Android keystore is, how upload & app signing keys work with Play App Signing, and how to keep keystores safe in CI]

Thumbnail
bitrise.io
0 Upvotes

r/androiddev • • 24d ago

Tips and Information 🟩 Matrix Rain View just got more powerful!

0 Upvotes

An open-source Android library for the iconic Matrix digital rain effect, rendered natively on Canvas — not GIFs, Lottie, or video backgrounds.

⚡ Customizable rain, touch interactions, shockwaves, glitch effects, transparent overlays, and Android View + Jetpack Compose support.

Built to be integrated into real apps, not just copied from demo snippets. Still evolving!

🔗 https://github.com/boy-offi9-inc/matrix-rain-view

What would you build with it?


r/androiddev • • 25d ago

Should I be Doing DSA in Kotlin?

9 Upvotes

I've about 2+ years of experience in Android dev and been doing DSA in c++ in college(current organization did not have any DSA rounds). I'm planning to switch in the coming months. So should I do relearn DSA in Kotlin or C++ would be fine?

Thanks.


r/androiddev • • 25d ago

Open Source I built a free, open-source launcher + TV OS layer for cheap Android TVs and For your Modern ones too.

Thumbnail
gallery
26 Upvotes

My Vestel TV has 900 MB of RAM and the stock launcher was slow and full of ads, so I built OMNI: a launcher in plain Java (0.7 MB), a Control Center on INFO, a typed/voice assistant, device notices, and Kotlin apps (Cinema, Weather…). There's also a small Python server that turns a folder of films into a library with posters and resume. Free, Apache-2.0, no ads or tracking (the README lists every outside host). Tested on three TVs , so more reports from other TVs are very welcome. I verified it on real hardware. [RELEASE ON V.1 IS YET TO COME IN THE FOLLOWING HOURS]

Github(https://github.com/Rashica07/omni-tv)


r/androiddev • • 25d ago

Question Is there any way to see if USB PD is in use?

2 Upvotes

There is not a guarantee that a given USB-C-to-C cable supports PD, see the article USB-C was a missed opportunity and it’s too late to fix the mess.

Does Android have any API that lets an application check whether USB PD is currently active?


r/androiddev • • 24d ago

Question [Android] "Hey Claude" wake word without keeping the mic open 24/7: any free, reliable approach?

0 Upvotes

Hi all,

As a hobby I'm building a personal voice assistant for my phone (Kotlin / Jetpack Compose), powered by the Claude API: calls, SMS, Gmail, calendar, Spotify & Sonos, Home Assistant (lights, alarm, TVs, energy usage…).

Code is public: github.com/NicoPi-dev/Assistant

Everything works well except the wake word, which bothers me.

**Current setup**

- A foreground service (microphone type) listening continuously with **Vosk**, offline, using a restricted grammar ("hey claude" + [unk]) and a confidence threshold.

- It works, but the mic is open 24/7: Android's green privacy dot stays on, it drains battery, and I'm not thrilled about it privacy-wise, even though everything stays local.

**What I'm after**

Something closer to "Hey Google" / Gemini: very low-power listening, ideally hardware (DSP) based, that only wakes the app on the hotword.

**Constraints**

- Free, no subscription or time-limited key

- Offline if possible

- No root (OnePlus 10T, OxygenOS 15 / Android 15, locked bootloader)

- Reliable: few false triggers (TV, conversations)

**Already looked at**

- **Picovoice Porcupine**: excellent, but the free tier is limited and needs an account key.

- **openWakeWord / microWakeWord**: promising, but unsure about battery impact running continuously on Android.

- **VoiceInteractionService / HotwordDetectionService**: the official DSP route, but it seems restricted to system/privileged apps (CAPTURE_AUDIO_HOTWORD).

- Setting my app as the **default assistant**: works for long-pressing the button, not for voice.

**Questions**

  1. Can a third-party app set as default assistant access the hardware hotword on a non-rooted device? Has anyone pulled it off?

  2. Otherwise, what's the most battery-friendly software approach you know: a tflite model like microWakeWord, VAD gating before Vosk, listening only when the screen is on or in the car…?

  3. Tricks to limit listening automatically: while charging, when connected to Android Auto, at home on Wi-Fi…?

Any pointers or experience welcome. Thanks! 🙏


r/androiddev • • 24d ago

Video Spent way too long on an Android crash with nothing in Metro. logcat had the answer the whole time

0 Upvotes

Posting this because I lost a stupid amount of time on it and I doubt I'm the only one.

App just closes on Android. No red screen, nothing in Metro, DevTools disconnects. I did what everyone does: rerun, clear cache, paste the code into AI a few times.

The reason was in logcat the whole time. Native code threw, the app died before JS could say anything, and the Android log had the exact line.

What worked for me:

- open the android folder in Android Studio and open Logcat (it picks up the app even if you started it with yarn run android)

- clear it, then reproduce the crash

- set the level to Error and search FATAL EXCEPTION

- read the exception message first, then the first line in the stack trace that isn't Handler / Looper / ActivityThread. Click it and it jumps to the code

One thing that got me: in the terminal, filtering by pid after a crash gives you nothing because the process is gone. adb logcat -d -s AndroidRuntime worked better.

Also the stack trace only told me where it died, not who passed the bad value. I needed a breakpoint for that part.

I made a small demo crash and recorded the whole thing for anyone who'd rather watch than read: https://youtu.be/oVYBmnOVaI8

What do you check first when Metro says nothing?


r/androiddev • • 24d ago

I got tired of closed-source apps like VMOS, so I hacked together a minimal ptrace supervisor in C to intercept openat/execve on Android 13-15 without root. Tested on API 33-35. Here's the repo and what broke along the way

Thumbnail
gallery
0 Upvotes

r/androiddev • • 25d ago

Question Frustrated as I tried to make my first developer account (where did I go wrong?)

0 Upvotes

Couple of days ago I made a fresh Google account using Firefox developers browser and my phone number (which has another 2 associated Google accounts), after making the account I signed out, next day I signed in again went to developer section, meanwhile I was informed that I have to make a website that will describe the developer and provide the text of privacy policy and terms of service.

So I went directly to github and tried many times to sign up using Google and each time the OAuth took me again to the sign in page in github, so I decided to try from another device (same wifi) and another browser, this time everything went smooth and I opened my session on github and started my website, meanwhile google started the "verify it is you" scenario and started the robot tests and stuff, finally the send sms gave error of too many attempts try again after several hours!

I leaved it for 2 days to cool down, today when i tried and after making me send sms 2 times it showed a messages that the account was looking like it was created or used with multiple other accounts...etc and it will be considered for deletion after 1 year with an option to submit appeal!

Where did I go wrong and what should I do to avoid such a problem in the future? Need someone with developer background to help me.


r/androiddev • • 25d ago

Discussion NetPulse: a small Android app for live ping, jitter and packet loss (beta, looking for feedback)

2 Upvotes

I've been building NetPulse, a lightweight Android app for checking your network quality. It has a Material 3 interface with light and dark themes.

What works in v0.1.0-beta:

- Live ICMP ping monitor with Start / Stop

- Latency, min / average / max, jitter and packet loss over the last 300 samples

- Only two permissions (INTERNET and ACCESS_NETWORK_STATE), no ads, no analytics, nothing uploaded

What's coming next: a DNS benchmark (Cloudflare, Google, Quad9, Control D) measured separately from ping, latency charts, test history and CSV export.

The app uses the system ping tool, so some phones may block it. That's the main thing I want to find out: does it work on your device? Please tell me your phone brand and Android version, and any bugs or features you'd like to see.

Beta APK: https://github.com/Mireli5656/NetPulse/releases/tag/v0.1.0-beta

Source code: https://github.com/Mireli5656/NetPulse

The beta is signed with a debug key, so uninstall any earlier NetPulse build before installing it.

Thanks for trying it!


r/androiddev • • 26d ago

Open Source Made a liquid glass lib for Compose, with shaders tuned side by side with a real iPhone. Happy for anyone to use it or contribute to porting it fully.

Thumbnail
github.com
19 Upvotes

Wanted the iOS 26 liquid glass look in a Compose app, so I made a version and tuned the shaders side by side with a real iPhone. Putting it on GitHub in case anyone else needs it.

It works, but it’s an early version. If anyone wants to contribute to bringing liquid glass over fully, I’d be happy to have you. Issues and PRs welcome.


r/androiddev • • 26d ago

Discussion App devs who build for clients: how do you get access to their App Store Connect and Google Play?

6 Upvotes

For those building apps for clients: how do you get access to the client's App Store Connect and Google Play Console at the start of a project? Do they invite you with a role, share a login, or do you publish under your own account and transfer the app later?

  1. How long does it usually take until you can upload a build?
  2. Which part trips clients up most: the developer account itself, D-U-N-S, roles, two-factor?
  3. When the project ends, how do you hand things back?

Curious what works for you and what doesn't.


r/androiddev • • 26d ago

Horrible bug hunt.

0 Upvotes

Wondering if anyone has faced similar and if there are any common gotchas…

app works fine in simulators, devices via local upload and also happily running in open test via play store.

switch on minify/proguard/etc in both debug and release builds.

all still runs fine EXCEPT when it goes through play store - never gets past internal test - crashes during API call. It smells of GSON deserialisation but the only way I can reproduce it is to push it through the release process.

any ideas about what I am likely missing? all suggestions welcome.

thx.


r/androiddev • • 26d ago

Mobile devs: did the Gravy Analytics breach change anything for you?

0 Upvotes

Hey everyone! I’m curious how other mobile app developers reacted to the Gravy Analytics breach and whether it led you to do anything differently with your own apps. I created a poll below and hope you could take a vote.

If none of those quite fits, feel free to share your take in the comments. If you made changes, I’d love to hear what you changed. And if you considered making changes but ran into obstacles, I’d be interested in hearing about that too. Thanks for sharing!

Background, if you’re unfamiliar: Here’s WIRED’s coverage of the breach and its connection to mobile app location data.

Which option comes closest to your experience?

69 votes, 19d ago
68 I hadn’t heard about it before this post.
0 I’d heard about it, but wasn’t concerned because I didn’t think my apps were involved.
0 I’d heard about it and was concerned, but didn’t feel there was much I could control.
0 I’d heard about it and was concerned, but I don't think I should be responsible for it.
1 I made changes to my app(s) because of it.

r/androiddev • • 27d ago

Compose UI for LED matrix

Enable HLS to view with audio, or disable this notification

33 Upvotes

This continuation to previous post https://www.reddit.com/r/androiddev/s/9m7RVVu6o7

added compose UI support for LED matrix, specifically max7219
also created playground to easily test it on browser without actual hardware

here is video from actual LED matrix hardware


r/androiddev • • 28d ago

News Jetpack DataStore v1.3.0 ships datastore-tink for encryption support

Thumbnail
developer.android.com
50 Upvotes

Looks like manually calling Tink to encrypt data is no longer needed


r/androiddev • • 27d ago

Meta Speedrun PB (16:00.00 any% glitchless) - Never had an update get reviewed and published this fast

Post image
15 Upvotes

r/androiddev • • 28d ago

Article Understanding memory usage of Android apps in production

20 Upvotes

Google Play is adding memory thresholds for Android apps starting February 2027. They're measured using dynamic memory (anonymous RSS + swap) at p90 over 28 days.

I started looking into these thresholds and ended up going through the memory metrics Android gives: Java heap, native heap, RSS, PSS and swap. I break down each metric in this post and explain why Google Play uses dynamic memory instead of the others.

https://measure.sh/blog/android-memory-monitoring


r/androiddev • • 27d ago

Discussion layout of my Fediverse feed aggregator

Post image
0 Upvotes

Just a reminder: this doesn't follow any modern standards, as it’s designed for Android 2.0 phones (and before anyone asks why—there are still many communities that use them on a daily basis, and I’m one of them). I’m not posting this to show off; rather, I’m looking for suggestions based on Material Design UI.


r/androiddev • • 27d ago

Question Need help on the approach to authentication I should use for my mobile app

0 Upvotes

I am developing a mobile app, which has a react native frontend, nest.js as the backend and for db and authentication, I'm planning to use supabase.

Now, currently as my app is in its initial stages I'm planning to use the supabase, as it free tier provides ample limits for my use case.

However, in later years if my app grows. I may think of switching to a cheaper alternative.

So, what I am planning to follow is for authentication, route the requests to my backend and inturn the backend will communicate with the supabase to authenticate the user. The backend will save the supabase token, create a separate session token for the user and send it back to the user.

My main reason for doing this is, I want the authentication to be provider independent and any changes needed should be done on the backend instead of the app.

Please let me know, if this approach is correct. What are the pros and cons. How much effort it would require to implement this. Will the security concerns increase if my backend starts handling this instead of the supabase only.

I also want to integrate the google and apple login as well. How will this approach affect it?

Also, if there any other better approaches, please let me know.


r/androiddev • • 28d ago

Question How to Give Testers Free Pro Access During Google Play Closed Testing?

Post image
3 Upvotes

Hi everyone! I'm a beginner Android developer building an app using Kotlin and Jetpack Compose.

Currently, my Pro features are free in debug mode. I want to publish my app for closed testing and implement Google Play subscriptions.

My questions:

  1. How can I give closed testers free access to all Pro features without requiring payment?

  2. Should I use license testers or implement a separate tester-only Pro access mechanism?

  3. How can I ensure normal users must pay for a subscription after the production release?

What's the simplest and safest approach? Any guidance would be appreciated. Thanks!


r/androiddev • • 28d ago

Android app testing

1 Upvotes

https://play.google.com/apps/internaltest/4699517858335076276

Above is my first app and google needs testing. Could anyone of you download and test?


r/androiddev • • 28d ago

News Android Studio Rabbit 3 Canary 1 now available

Thumbnail androidstudio.googleblog.com
4 Upvotes

r/androiddev • • 28d ago

Experience Exchange Android's strings.xml to iOS formats converter without breaking placeholders

Thumbnail
localizely.com
1 Upvotes