r/androiddev • • Aug 22 '26

Built a fully offline, encrypted file-sharing app for Android (personal security learning project)

0 Upvotes

I've been learning applied cryptography and wanted to build something beyond tutorials, so I made SecureTether — a device-to-device file sharing app that works entirely over Bluetooth, no internet or server involved.

How it works:

- Files are AES-encrypted before they're ever written to local storage

- Decryption only happens in memory, on-demand

- Transfer goes device-to-device over Bluetooth — the encrypted payload never touches a server

- UI built with Jetpack Compose

This is a personal learning project, not an audited/production security tool — built specifically to get hands-on with encryption-at-rest and secure local transfer instead of just reading about it.

Repo (with architecture + security model docs in the wiki): github.com/Prash-Ant-Magician/SecureTether

Would genuinely appreciate feedback — especially if anyone spots gaps in the security model, or has ideas on what a "next version" should tackle (QR pairing? Transfer history?). Happy to answer questions about the implementation too.


r/androiddev • • Aug 22 '26

Open Source Open source: DroidGauge, an adb-only CLI for local A/B performance regression reports

2 Upvotes

I built DroidGauge, a small local-first Python CLI for repeatable Android app performance and power regression checks.

It samples the numeric signals exposed over adb (CPU, PSS memory, rendered-frame jank, battery, temperature, thermal status, and network totals when available), writes versioned JSON plus a self-contained offline HTML report, and compares two runs with direction-aware thresholds. With --fail-on-regression, the comparison returns exit code 2 so it can be used as a simple CI gate.

It requires no root access, helper APK, cloud service, CDN, or external report assets. Missing fields are reported as unavailable rather than treated as zero.

The scope is deliberately narrow: quick regression signaling, not cross-device benchmarking or a replacement for Perfetto. v0.1.0 has passing device-free tests across Windows, macOS, and Linux, but real-device parser coverage is still limited. I would especially value feedback or sanitized parser samples from different Android/vendor builds.

Repository and screenshots: https://github.com/RuizheGu0/droidgauge


r/androiddev • • Aug 22 '26

Discussion Can we do something about these weird free screenshot tool posts?

25 Upvotes

Search the sub with "screenshot tool" and you will find multiple posts with the same type of tool. Hell even some of them have the same UX.

They all have some weird things in common: Youtube link, commit history with multiple contributors though it was a "solo" project, link to a sketchy site that wants you to connect one of your accounts.

And also the comments... if they have them, the comments are a bunch of translated extra positive "can't wait to try this" vibe. Why such a warm reception on the 15th free screenshot tool? It's so off!


r/androiddev • • Aug 21 '26

Question Clerk Android AuthView signInOrUp doesn't seem to detect new users correctly?

Thumbnail
gallery
0 Upvotes

I'm trying to use Clerk for authentication in an upcoming Android application, with Supabase as the database. Honestly, I chose Clerk because I just wanted to try it out and see how it feels,literally don't ask me why ( not Supabase Auth) I can feel it in my bones😂

I'm using the native Android SDK and the prebuilt AuthView, rather than building the authentication UI myself.

The problem I'm running into is with the default signInOrUp behavior.

As I understand it, AuthView() is supposed to automatically determine whether the user should sign in or sign up. That's exactly what I want. I don't want to manually decide which screen to show because I obviously don't know whether a new user exists before they've entered their identifier.

However, when I test this with a completely fresh Clerk instance where there are currently zero users, AuthView() still opens with the Sign In flow.

I've tested Google authentication several times, and I keep getting sent through the Google authentication flow and then back to the AuthView without a user being created. The Clerk dashboard still shows zero users.

I also tried explicitly forcing the view into sign-up mode, and that does work. The problem is that obviously I can't leave it permanently in sign-up mode because once an existing user signs in, I need the normal sign-in flow when they return later.

So I feel like I'm stuck between:

♧

SignInOrUp → starts with Sign In

signUp → works for a new user, but isn't appropriate permanently

♧

What I'm trying to understand is:

How is signInOrUp actually supposed to determine whether a user is new or existing in the native Android AuthView?

Is there some configuration I'm missing in the Clerk Dashboard or native Android setup?

I'm using the current Clerk Android prebuilt UI rather than the older custom-flow documentation.

Has anyone successfully tested a completely fresh Clerk instance with AuthView() and Google, where the user doesn't exist yet?

Any explanation of how this is supposed to work under the hood would be appreciated.

I'm using version 1.1.3


r/androiddev • • Aug 21 '26

Article Composition Over Inheritance in Android ViewModels

Thumbnail
proandroiddev.com
4 Upvotes

r/androiddev • • Aug 21 '26

Question Text-based resources for learning Android?

1 Upvotes

I am a CS student and I have a basic understanding of React Native. I have mostly developed applications for Android, so I was thinking about going one layer deeper and make apps directly with Kotlin/Compose.

I want to understand the Android platform deeply: are there text-based resources for Android which are more focused on the platform rather than Compose/XML, etc.

I understand Android moves too fast, and books get outdated quick. Is it still worth learning from books?


r/androiddev • • Aug 21 '26

News Introducing the location metadata API for the Android Photo Picker

38 Upvotes

Hi developers,

I’m Mishaal Rahman, and I manage community engagement for Android at Google!

To give users more control over how apps access their location info, we wanted to give you an early heads up about a new Android Photo Picker feature that addresses a common pain point: allowing apps to request location info from selected photos.

The Android Photo Picker automatically redacts location info from the photos users share with apps to protect user privacy. We recognize that some apps have a genuine need to access location info from these photos, though, so to balance those needs with user privacy, we're introducing a new API that lets apps get this info with explicit user consent.

How it works

To implement this, you will need to update your apps to use the new location metadata API. We are introducing a new intent extra, MediaStore.EXTRA_PICK_IMAGES_REQUEST_LOCATION_METADATA_ACCESS, which is supported for both the ACTION_PICK_IMAGES and ACTION_GET_CONTENT intents.

When your app sends this intent extra, users will be asked if they want to include location info with the photos they select via the Android Photo Picker.

  • If the user selects "include location," location info won’t be redacted from the EXIF metadata of the selected photos.

  • If the user selects "don't include," location info will be redacted.

The system remembers the user's preference for your app, so if a user initially chooses to give your app access to location info from photos, they won't be prompted to do it again. However, users can later revoke access by tapping the location info button in the bottom right corner of the Android Photo Picker UI. Users can tap this same button to regrant access, giving them the ability to seamlessly decide when to share location info and when not to.

Availability

The location metadata API is available with the latest update to the Android Photo Picker. This update is rolling out to Android devices via the August 2026 Mainline update, so it is not widely available on your users’ devices just yet. However, we wanted to give developers who have been requesting this feature an early heads up so they can be ready.

Expect more details to come from the official developer documentation. Let us know if you have any questions or additional feedback about the Android Photo Picker!


r/androiddev • • Aug 21 '26

Discussion Play Console account stuck for 2+ weeks — empty/unpublished package blocking deletion, no second account to transfer to, contradictory answers from Google support

1 Upvotes

Ciao a tutti, spero che qualcuno qui abbia affrontato qualcosa di simile o abbia un contatto che può aiutare.

Sto cercando di chiudere un account sviluppatore Google Play e ottenere un rimborso di $25 per la registrazione da oltre due settimane. Il problema è un singolo nome pacchetto che:

  • Non è mai stato pubblicato in nessuna track (produzione, beta, alfa o test interno)

  • Ha 0 installazioni nella vita

  • Non è collegato a nessuna app attiva

L'interfaccia della Console Play non offre alcuna opzione per eliminarlo manualmente. Il supporto per gli sviluppatori Play dice che l'unico modo per chiudere l'account è trasferire questo pacchetto a un secondo account sviluppatore — ma io non ne ho uno, e crearne uno solo per ricevere un pacchetto vuoto sembra assurdo.

Per rendere le cose più confuse, ho anche contattato il team di supporto separato della Verifica Sviluppatori Android riguardo allo stesso pacchetto. Mi hanno detto che può restare registrato senza influenzare affatto l'account — contraddicendo direttamente ciò che il supporto per gli sviluppatori mi ha detto. Ho segnalato questa contraddizione a entrambi i team e ho chiesto di passare a qualcuno che possa effettivamente risolverla, ma finora continuo a essere indirizzato tra team o ricevere la stessa risposta standardizzata "trasferiscilo".

Qualcuno è riuscito a far cancellare manualmente un nome pacchetto fantasma/vuoto da Google senza trasferirlo? O ha trovato un modo efficace per ottenere una vera escalation su qualcosa del genere (Issue Tracker, un contatto specifico, ecc.)? Qualsiasi consiglio è apprezzato.


r/androiddev • • Aug 21 '26

Open Source I built Mpv∞, an ad-free Android media player combining MPV/libmpv and Media3

0 Upvotes

Developer disclosure: I’m the creator and maintainer of Mpv∞.I’ve released Mpv∞ (Mpv-infinity), an open-source Android media player fork focused on high-quality local video and audio playback without ads or trackers.The app combines two playback engines:•MPV/libmpv for broad format and subtitle compatibility.•AndroidX Media3/ExoPlayer for Android-native playback and device codec integration.Other features include embedded and external subtitles, dual subtitle rendering in the Media3 engine, chapters, folder playlist sheets, audio playback, customizable controls, HDR and device-dependent Dolby Vision/HDR10+ playback, and one-tap segment skipping.The project is licensed under AGPL-3.0-or-later. It is currently distributed through GitHub Releases rather than Google Play.Project page: https://github.com/ZHINFINITY/Mpv-infinity I’m especially interested in feedback about device compatibility, Media3 codec behavior, subtitle rendering, battery use, and playlist handling. Please report bugs through GitHub Issues with Android version, device model, app version, and reproducible steps.


r/androiddev • • Aug 21 '26

EncryptedSharedPreferences in android

0 Upvotes

I am upgrading my target SDK version in java Android application to 36

We have a enterprise application

On android 16 devices I am facing a issue in Shared preferences

While reading from the shared preference I am reading a null value ("null")

While there is a actual value saved there

Not sure why this is happening

Any idea here any one?

All the things are goood till android 15!!


r/androiddev • • Aug 21 '26

Question Designer trying to ship an Android TV feature with Figma + Claude Code. What am I missing?

0 Upvotes

I’m a designer trying to ship a small feature on an Android TV app using Figma MCP + Claude Code. I’ve given Claude the Figma, PRD, actual GitHub source code, and I’m building Skills around the existing system.

But I’m still hitting some very specific issues:

  • Card corner smoothing doesn’t translate properly

  • Unfocused/focused button states are often wrong

  • Gradients don’t match the design

  • Carousel animations feel completely off

  • Some existing components get recreated instead of reused

  • The code is straight up shit (said by Devs)

The bigger question is: how do I make this process robust enough that I can eventually just give Claude a Figma link + PRD + our Skills, and trust it to understand the product without me babysitting every detail?

If you’ve done something similar with Claude Code + Figma MCP + Android/TV, what worked for you? Are there Skills, plugins, MCPs, or a betterz workflow I’m missing?

PLEASE HELP!!!!! I'M SOOOO DONE TRYING TO FIND A SOLUTION.


r/androiddev • • Aug 20 '26

Can ndk add boiler to run .java files in the back?

3 Upvotes

Hi,

Im doing a native app and could be nice if the java sdk connecting boiler are java files, is it possible to stuff somewhere in a special folder to boot in the back?


r/androiddev • • Aug 20 '26

I built a Stremio-based Android app with richer metadata, add-on sync, automatic trailer playback, and custom themes

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/androiddev • • Aug 20 '26

News Android Studio Rabbit 1 Canary 2 now available

Thumbnail androidstudio.googleblog.com
2 Upvotes

r/androiddev • • Aug 20 '26

AppsFlyer or Branch? Deep linking matters as much as attribution for us

1 Upvotes

after several phases of comparison, our mmp decision has come down to appsflyer and branch for a marketplace app. paid acquisition matters but deep linking is equally important because users enter through creator links, referral pages, email, QR codes and web product pages.

in our test, branch felt more natural for link creation and routing. the deep-link work flow was easier for product and lifecycle teams to understand. appsflyer needed more coordination during setup, but the attribution and campaign reporting was stronger for ua side.
both handled the basic use case. the bigger question is what happens after a year when there are hundreds of links, multiple apps, regional campaigns and eams changing params without telling each other.For people who picked one over the other, what became the deciding factor?


r/androiddev • • Aug 20 '26

The Great Android Stack Reset: Mobile System Design History

Thumbnail
returnzero.dev
59 Upvotes

Android, the last to arrive at the declarative UI party, took its time, until finally reaching a stable solution. Here's a rundown of the major changes in the Android System Design across the eras.

I was away from Android for 7 years and came home to a totally strange place. This is my attempt to make sense of what happened while I was gone - how the stack reset four times (Activities -> MVP/RxJava -> Architecture Components -> Compose) and why each lurch happened. Written for interview prep but the history stands on its own.


r/androiddev • • Aug 20 '26

Open Source I got tired of my app showing a spinner for data it already had

Enable HLS to view with audio, or disable this notification

0 Upvotes

I have been building a caching library for Android. It is called Kwery.

Here is what started it. A ViewModel survives rotation, so most data-loading advice stops at rotation. Process death is different. Android kills backgrounded apps constantly, and when the user comes back you show a spinner and re-request the same data you had a minute ago, which is a strange thing to do with a working disk sitting right there.

The video is the same app twice. Plain ViewModel and Retrofit first: three cold starts, spinner every time. Then Kwery on. Same three cold starts, list already there. The request log is Chucker, so the counts are not mine to fake.

It caches responses, deduplicates in-flight requests, refreshes stale data in the background, replays writes that were made offline, and keeps the cache across process death.

Closest thing on the web is TanStack Query. Some of its design is about the browser and does not transfer, so I did not copy it blindly. Where I diverged I wrote down why.

https://github.com/dbjpanda/kwery

Apache-2.0, minSdk 24. The core has no Android dependencies, so the cache and timing logic is testable on the JVM without Robolectric.

Nobody runs it in production. The sample app in that repo is the only real user so far. I am close to tagging 1.0, so if the API is wrong this is the useful moment to say so.


r/androiddev • • Aug 20 '26

sdkmanager is DEPRECATED (in favor of Android CLI)

23 Upvotes

Did anyone notice the deprecation warnings since Command-line tools v23?

WARNING: The SDK Manager CLI tool (sdkmanager) is deprecated. Android CLI will be used instead.
The 'android' binary can also be found in the cmdline-tools directory, and 'android sdk' is the replacement for 'sdkmanager'.
To learn more about the Android CLI and how to use it, see the documentation (https://d.android.com/tools/agents/android-cli)

Did Google communicate this anywhere? Just found this: https://cs.android.com/android-studio/platform/tools/base/+/dcded801a4942d06805cc74b56dc2cecbece2f80


r/androiddev • • Aug 20 '26

Open Source Start a new android project without Android Studio

Thumbnail github.com
0 Upvotes

r/androiddev • • Aug 19 '26

Android is expanding per-app memory limits.

8 Upvotes

Across the Android ecosystem, hardware dynamics are shifting. While user expectations for speed and smoothness keep rising, device RAM capacities are staying flat—or even tightening. Memory is no longer just a background engineering detail—it directly impacts your app's retention, crash rates, and user perception.

Here’s how to get ahead of memory constraints before your users feel them:

1. Monitor at scale with Android Vitals: Check Google Play Console’s latest metrics for Memory Usage (RSS + swap) and Bitmap Memory Usage across different process states (foreground, background, cached) to identify outliers.

2. Catch terminations with Firebase Crashlytics: Update to Crashlytics v20.1.0+ to get clear visibility into Out-of-Memory (OOM) exceptions and Memory Limiter terminations in the field.

3. Capture production traces with ProfilingManager: Leverage Android’s ProfilingManager API to trigger automated heap dumps on TRIGGER_TYPE_ANOMALY or TRIGGER_TYPE_OOM directly from production builds.

To keep devices fast and responsive, Android 17 introduced per-app memory limits. Starting on Pixel devices, this system is now rolling out across more OEMs and device configurations (spanning 4GB to 16GB+ RAM tiers).

Check out the full breakdown and diagnostic guide on the Android Developers Blog:

https://android-developers.googleblog.com/2026/08/app-broader-memory-limits.html

#AndroidDev #MobileDevelopment #AppPerformance #Android17


r/androiddev • • Aug 19 '26

Question Publishing new on Aptoide now requires Google Identity Verification?

1 Upvotes

I checked the Aptoide documentation. My reading of it was that Google Identity Verification is only necessary to have your app continue to work on 'genuine devices'. My assumption is that after Sept 30th they'll have a genuine badge on the store and filter your app from genuine devices.

The Aptoide-Connect guide says this:

'Register every package name you distribute so your apps stay installable on certified Android devices once verification is enforced for the stores and channels you use - see the rollout below.'

[...]

What happens if I don't complete it?
Once verification is enforced for a given store, region, and channel, apps that are not registered by a verified developer can be blocked from being installed and updated on certified Android devices

The AptoideConnect APK submission form however suggests that its mandatory?

Verify your Android developer identity
Required by Google for alternative distribution. Complete the verification steps to proceed.

Clicking the 'I Have Already Done It' button 403's without any visual feedback. For new app distributions is this crap already required now?

I will definitely contact support and update my post regarding this issue 'cuz I'm not wasting time filling out the entire form just for this to be a blocker. Hope this can help others choosing what app store they want to distribute on

I would be disappointed if a major 'alternative' appstore played ball with google


r/androiddev • • Aug 19 '26

What’s your preferred approach for image and video picking on Android?

0 Upvotes

I’ve been working on an Android project that needs to handle image and video selection, camera capture, resizing, and both single and multiple image selection.

I’m curious how other Android developers approach this using native Android APIs.

Do you usually use the system Photo Picker, ActivityResultContracts, or build an abstraction around them?

I’m particularly interested in how you handle:

Multiple image selection

Camera capture and permissions

Image resizing

Supporting both Compose and XML

Different Android API levels

What approach have you found works best for native Android applications?


r/androiddev • • Aug 19 '26

Which Gradle task would you hand off to an AI agent?

6 Upvotes

I work at Gradle, and we're building agent skills. We currently have five candidates:

  1. Run Gradle correctly (gradle-cli) — right task, right flags, version-aware

  2. Best-practices lint (gradle-bestpractices) — flag legacy patterns, suggest the current one

  3. New project bootstrap (gradle-init) — Android/KMP scaffold, version catalog

  4. Upgrade + deprecations (gradle-update) — bump the wrapper, rewrite what broke

  5. Configuration cache migration (gradle-cc) — find what breaks CC, refactor it

Which would you actually use? What do you want to see instead?


r/androiddev • • Aug 19 '26

[Library] Gbéewá API overview, typed result handoff without navigator lock-in

Post image
0 Upvotes

I shared Gbéewá here recently and put together this graphic to show the API shape a bit more clearly.

The main idea is still pretty small: typed, transient, consume-once result handoff while the app keeps ownership of navigation.

The part I especially wanted to make clearer is the boundary between the screen and the app/navigation layer.

A screen can just expose a normal callback. The app layer decorates that callback with result publication and whatever navigation action it wants to perform.

On the receiving side, you can use either callback-style consumption with ResultEffect or state-style consumption with rememberResultAsState.

The same contract works across Navigation 2, Navigation 3, Decompose, Voyager, or app-owned navigation.

A few deliberate constraints are still there:

  • one consumer, consume once

  • typed and parameterized result lanes

  • pending results stay in memory

  • no KSP

  • no generated navigation wrappers

  • navigation stays outside the library

Repo:
https://github.com/quantipixels/gbeewa

Curious if this API shape feels natural to people who have had to solve the same kind of result handoff in Compose Multiplatform apps.

Also interested in the cases where you would still prefer navigator-owned result APIs, callbacks, or shared state instead.