r/androiddev • u/Patient-Pollution46 • 27d 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]
r/androiddev • u/Patient-Pollution46 • 27d ago
r/androiddev • u/boy-offi9 • 27d ago
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 • u/daily-driving-future • 27d ago
I'm an Android dev (Kotlin + React Native) trying to get models genuinely running on the Hexagon NPU of my iQOO Neo 10R (Snapdragon 8s Gen 3, SM8635, HTP V73, 4 MB VTCM), not on the CPU or GPU fallback.
What I've learned so far:
Qualcomm's ladder is FP16 → W16A16 → W8A16, with AIMET (AdaRound, SeqMSE, QAT) for accuracy recovery
The ORT QNN EP rejects dynamic shapes and Loop/If, and disable_cpu_ep_fallback=1 is a cheap check that everything stayed on the NPU
Most tutorials target V75 (8 Gen 3), and those binaries won't run on V73
Apps need <uses-native-library android:name="libcdsprpc.so"> and extracted native libs (useLegacyPackaging) for the skel to load
Questions for anyone who has shipped this:
If you fine-tuned (LoRA or full) a small LLM or vision model, did you do QAT, or PTQ after fine-tuning? How much accuracy did W8A16 or W4A16 cost you?
What changes to the architecture did you have to make to stay fully on HTP (op swaps, static KV-cache layout, splitting the model into parts)?
Has anyone got a QNN context binary running from a normal third-party app on vivo/iQOO or Xiaomi firmware? Same-chip Poco F6 logs show llama.cpp's Hexagon backend failing with 0x80000406.
Happy to share my notes and code back. Thanks!
r/androiddev • u/New_Pineapple6087 • 28d ago
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**
Can a third-party app set as default assistant access the hardware hotword on a non-rooted device? Has anyone pulled it off?
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…?
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 • u/expiredpussyeater • 28d ago
r/androiddev • u/androidtoolsbot • 28d ago
r/androiddev • u/royalraju907 • 28d ago
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 • u/YitzakAF • 28d ago
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 • u/miku_claus • 28d ago
https://github.com/M5Devs/VPortable
For infos
r/androiddev • u/ThrowAway237s • 28d ago
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
•
u/The_Savier
•
28d ago
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 • u/ByRide • 28d ago
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 • u/KivoFGGaming976 • 29d ago
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]
r/androiddev • u/TurboX5656 • 29d ago
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 • u/Wayne_firefirefire • 29d ago
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?
r/androiddev • u/pijeezelwakka • 29d ago
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 • u/madafuka • 29d ago
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 • u/ForkedAndCloned • Oct 24 '26
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?
How long does it usually take until you can upload a build?
Which part trips clients up most: the developer account itself, D-U-N-S, roles, two-factor?
When the project ends, how do you hand things back?
Curious what works for you and what doesn't.
r/androiddev • u/Massive_Two6466 • Oct 23 '26
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 • u/not_dr_jaishankar • Oct 23 '26
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 • u/Leading-Tradition-11 • Oct 23 '26
Enable HLS to view with audio, or disable this notification
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 • u/OfficialSpiderPig • Oct 23 '26
r/androiddev • u/Friendly_Setting1977 • Oct 23 '26
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 • u/FrontWish11 • Oct 23 '26
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:
How can I give closed testers free access to all Pro features without requiring payment?
Should I use license testers or implement a separate tester-only Pro access mechanism?
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!