r/android_devs • u/yaaaaayPancakes • Jun 15 '26
Shitpost It's that time of the year again, Jitpack has gone down.
Please, /u/Zhuinden, migrate to Maven Central so that I can eliminate jitpack. Your libs are too good. But jitpack sucks.
r/android_devs • u/yaaaaayPancakes • Jun 15 '26
Please, /u/Zhuinden, migrate to Maven Central so that I can eliminate jitpack. Your libs are too good. But jitpack sucks.
r/android_devs • u/SpecialFortune14 • Jun 15 '26
How do I embed a gif from a tweet within the android app?
​
Unlike iphones, there's not a long press on gif to get the "post gif" option on android like we do for videos. What I've noticed is that gifs won't tweet unless the url contains the username of the original poster. Instead when we copy the link, we get a /i/status link and it's very frustrating.
​
I know about the web/desktop method for embedding, but I'd prefer to embed gifs within the app if that's even still possible.
​
Any help would be greatly appreciated. Thank you!
r/android_devs • u/meted- • Jun 14 '26
I'm building DataSapien SDK for on-device health data that reads from Health Connect on behalf of host apps (not a standalone consumer app). On Android API 34, reads work as expected. On API 33 and below, we get a rate-limit error even on the very first read attempt.
android.os.RemoteException: Request rejected. Rate limited request quota has been exceeded. Please wait until quota has replenished before making further requests.This doesn't look like a normal "we made too many requests" case. It can happen on the first attempt after permissions are granted, with no retry loop or background polling on our side.
This is our implementation:
Client resolution + availability check:
fun getClient(): HealthConnectClient? {
when (HealthConnectClient.getSdkStatus(appContext)) {
SDK_UNAVAILABLE -> return null
SDK_UNAVAILABLE_PROVIDER_UPDATE_REQUIRED -> {
launchPlayStoreHealthConnect()
return null
}
}
return HealthConnectClient.getOrCreate(appContext)
}Typical collector flow:
suspend fun collectSteps(): Result<List<Record>> {
val client = getClient() ?: return Result.failure(...)
if (!hasReadPermission(client)) return Result.permissionRequired(...)
return paginatedRead(
client = client,
recordType = StepsRecord::class,
range = last30Days(),
pageSize = 1000
)
}Permission request (batched):
val granted = client.permissionController.getGrantedPermissions()
if (granted.containsAll(requiredReadPermissions)) {
onComplete(true)
} else {
permissionLauncher.launch(requiredReadPermissions)
}My questions:
RemoteExceptions differently than the built-in API 34 provider — including on a first request?readRecords() or getGrantedPermissions() call returns a rate-limit error without obvious prior traffic from the calling app?r/android_devs • u/Mean-Juggernaut1348 • Jun 13 '26
Kep android open! sign here to help
r/android_devs • u/Sudden_Apple_4777 • Jun 12 '26
I just finished this little tool for Android Devs to generate a blueprint-style preview of your composables.
With a quick one-line wrapper the library measures dimensions and distances and displays them just like a traditional blueprint alongside your regular preview, so you can easily compare against your designs.
Would love to hear thoughts, if you would find this useful, and if you have any ideas for improvements!
#androiddev #jetpackcompose #androidstudio #devtools #kotlin #designsystem #compose
r/android_devs • u/Number4extraDip • Jun 04 '26
I was complaining Google didn't deliver. So i tried my hand at Android AI UX.
WiP
Wrapping up final features before pushing to the app store.
Beta builds available for people to mess around with and code available for inspection or personal adaptations
r/android_devs • u/guttsX • Jun 02 '26
Apps that target Android 17 or later (API level 37+) may only request the
READ_CONTACTSpermission if the Android Contact Picker is not sufficient for your app to provide core functionality. Apps that still request theREAD_CONTACTSpermission must submit a Play Console declaration to demonstrate access needs for Contacts and why Contact Picker would not suffice.
As usual, the Google is vague on the requirements.
If I have a phone or messaging style app that uses contacts for displaying conversation contact's names (rather than just their phone number) or call history with contact's name, are these permitted use cases? They are not possible with the contact picker Google has provided.
The allowed common use cases include:
None of these are similar to what I'm inquiring about.
r/android_devs • u/Ornery_Coconut337 • Jun 02 '26
Older version did used ads but I have removed them completely from everywhere manifest, build gradle, al kotlin files
r/android_devs • u/Difficult-Cucumber62 • May 22 '26
Hey guys 👋
Just from curiosity what is expected from a senior android engineer ?
2 month was laid off and began the job search again after 7 years since last time i've changed my company.
I understand the technical questions (even live coding/home assignment), when is simply to test your technical skills, BUT here comes the thing.
Since providing exact business solutions during the technical interview is a selection criteria ? I understand the point that they want to see something different, but I am getting a feeling that I am doing someones else job and for free.
Do i think in the wrong way ?
r/android_devs • u/badjetter • May 22 '26
I don’t have the user information such an inventory system. They fill out something that includes name, weight and quantity. And you can press a “+” in the corner to allow them to fill out additional items
r/android_devs • u/Chrome_Atlas • May 20 '26
r/android_devs • u/AirPlr • May 14 '26
I'm implementing more protocols in my app, and I'd love to add AirPlay 2, but I can't get it to work, no matter how much I try. Is there someone that knows enough about Android Development and Apple Closed Stuff that could help?
source code: [AriaCast](https://github.com/AriaCast/AriaCast-app)
in the code you can see my attempts.
Discovery works flawlessly, it's just everything else
Audio transport is handled by [AudioCastService.kt](https://github.com/AriaCast/AriaCast-app/blob/main/app%2Fsrc%2Fmain%2Fjava%2Fcom%2Faria%2Fariacast%2FAudioCastService.kt)
screenshots are pointless as the app thinks it's working anyway
metadata is transported too, at least with shairport
I'll add comments soon.
basically there are 2 protocols working, AriaCast and DLNA/UPnP. I want to add Google Cast and Airplay. Google cast is mostly pointless as a standalone protocol, but it's a nice to have in a multiroom setup
In order to test you have to modify activity_protocols.xml in layouts and set the 2 switches as clickable
r/android_devs • u/Adventurous-Action66 • May 12 '26
Hey Android and KMP folks,
I shared SQLiteNow here quite a while ago, back around the 0.2 days. It has changed a lot since then, so I wanted to post a proper milestone update for 0.9.0.
SQLiteNow is a SQL-first SQLite code generator/runtime for Kotlin Multiplatform. Current KMP targets:
The obvious comparison is SQLDelight. SQLDelight is mature and battle-tested, and I'm not trying to pretend otherwise. SQLiteNow has different priorities: it is SQLite-only, codegen hints live in SQL comments, it leans into generated result shapes closer to app/domain models, and it includes optional sync/runtime pieces around the same SQL model.
The main idea is still simple: keep SQLite visible. You write normal .sql files for schema, migrations, init data, and queries using your favorite code or SQL editor, so no plugins needed. You may annotate your SQL for a data shape that you need. SQLiteNow generates Kotlin APIs around them: typed params, typed results, migrations, transactions, adapters, and reactive Flow queries.
One example of the kind of query SQLiteNow is built for:
-- @@{ queryResult=PersonWithAddresses }
SELECT
p.id,
p.first_name,
p.last_name,
p.email,
a.id AS address__id,
a.address_type AS address__address_type,
a.street AS address__street,
a.city AS address__city
/* @@{ dynamicField=addresses,
mappingType=collection,
propertyType=List<Address>,
sourceTable=a,
collectionKey=address__id } */
FROM person p
LEFT JOIN person_address a ON a.person_id = p.id
ORDER BY p.id, a.address_type;SQLiteNow generates a typed result with addresses: List<Address>, so app code can just do:
val people = db.person
.selectWithAddresses()
.asList()or observe it:
db.person
.selectWithAddresses()
.asFlow()
.collect { people ->
// re-runs when generated writes affect the relevant tables
}The reason I built it this way is that I like writing real SQLite, but I do not like hand-writing row readers, params objects, migration plumbing, invalidation logic, and result grouping code.
Oversqlite is the optional sync part of the project. You can ignore it completely if you only need local SQLite. If you do need multi-device sync, it adds managed change tracking, push/pull sync, conflict handling, and server-coordinated replication on top of SQLiteNow-managed tables.
GitHub: https://github.com/mobiletoly/sqlitenow-kmp
Docs: https://mobiletoly.github.io/sqlitenow-kmp/kmp/
I'd be interested in feedback from people building real Android and KMP apps with SQLite.
r/android_devs • u/badjetter • May 11 '26
So I am making a program that the user will enter values (making an army roster for warhammer with my kindle) and they can add more data sets when press the “+”. Were do I start
r/android_devs • u/vparf • May 07 '26
r/android_devs • u/sonede • Apr 15 '26
Hi guys,
I am building a mobile app for internal users (within my firm) only. I need to support app links on URLs which are hosted within our intranet.
Is it possible to somehow support this with having a applinks.json file hosted on a public host?
r/android_devs • • Apr 06 '26
I'm getting started with android development, and from time to time I come across horror stories of people who faced trouble with google automated systems. Are there resources that documents the undocumented things that people should avoid when publishing apps (i.e. tribal knowledge)?
r/android_devs • u/OkOpportunity7413 • Apr 03 '26
Hey folks,
I recently spent some time trying to properly understand how Remote Compose works internally, not just high-level, but what actually happens from server → client → rendering.
Most explanations felt a bit abstract, so I tried breaking it down step by step (capture → instructions → replay on client).
Sharing what I wrote here:
https://medium.com/@ayush.shrivastava016/remote-compose-the-day-ui-stopped-shipping-with-apk-d13a638909d8
Would love to hear your thoughts, especially:
r/android_devs • u/anemomylos • Apr 01 '26
Hi everyone,
I’m still shaking while typing this. We were invited to a private briefing yesterday with the Google Play Developer Relations team, and the news is… well, it’s everything we’ve been shouting into the void about for the last three years.
Google has finally acknowledged that the current state of developer relations is, in their own words, "sub-optimal." They are rolling out a massive "Developer Empathy" initiative starting today.
Effective immediately, Google is scrapping the requirement for new personal developer accounts to find 20 testers for a 14-day closed track.
This is the big one. Google is launching a 24/7 dedicated phone line for developers. No more templated emails from "The Google Play Team" that don't explain why you were banned.
Google is ending the "Associated Accounts" scorched-earth policy.
To combat the bad blood regarding the 15%/30% cut, Google is introducing a "Zero-Fee Tier."
Note: this post required approximately 1,000 liters of fresh water.
r/android_devs • • Mar 08 '26
r/android_devs • u/BestSmile1907 • Mar 05 '26
Hi! I'm about to dive again into interviewing processes after 3-4 years of having been idling on both knowledge and repetitive tasks at my current company. I'm already a senior dev, is leetcode still a mandatory thing after all this AI craze? Looking for any input on what to hone in this crazy 2026 market, thank you!
r/android_devs • u/mucahitgayiran- • Mar 04 '26
Figma community link for the project: https://www.figma.com/community/file/1610921456788257775
r/android_devs • u/TrishaMayIsCoding • Mar 02 '26
Hello,
New here. Has anyone created a Vulkan sample on a Mali GPU, particularly the G57 MC2? My project works on other Android devices but fails on Mali.
Are there any do’s and don’ts when working with Mali GPUs using Vulkan 1.3?
Some output error :
***BEFORE ========================= vkGetPhysicalDeviceSurfaceFormatsKHR | COUNT
**
*
[gralloc4] ERROR: Format allocation info not found for format: 38
[gralloc4] ERROR: Format allocation info not found for format: 0
[gralloc4] Invalid base format! req_base_format = 0x0, req_format = 0x38, type = 0x0
[gralloc4] ERROR: Unrecognized and/or unsupported format 0x38 and usage 0xb00
[Gralloc4] isSupported(1, 1, 56, 1, ...) failed with 5
[GraphicBufferAllocator] Failed to allocate (4 x 4) layerCount 1 format 56 usage b00: 5
[AHardwareBuffer] GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -5), handle=0x0
[gralloc4] ERROR: Format allocation info not found for format: 3b
[gralloc4] ERROR: Format allocation info not found for format: 0
[gralloc4] Invalid base format! req_base_format = 0x0, req_format = 0x3b, type = 0x0
[gralloc4] ERROR: Unrecognized and/or unsupported format 0x3b and usage 0xb00
[Gralloc4] isSupported(1, 1, 59, 1, ...) failed with 5
[GraphicBufferAllocator] Failed to allocate (4 x 4) layerCount 1 format 59 usage b00: 5
[AHardwareBuffer] GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -5), handle=0x0
*
**
**AFTER ========================= vkGetPhysicalDeviceSurfaceFormatsKHR | COUNT
***BEFORE ========================= vkGetPhysicalDeviceSurfaceFormatsKHR | LIST
**
*
[gralloc4] ERROR: Format allocation info not found for format: 38
[gralloc4] ERROR: Format allocation info not found for format: 0
[gralloc4] Invalid base format! req_base_format = 0x0, req_format = 0x38, type = 0x0
[gralloc4] ERROR: Unrecognized and/or unsupported format 0x38 and usage 0xb00
[Gralloc4] isSupported(1, 1, 56, 1, ...) failed with 5
[GraphicBufferAllocator] Failed to allocate (4 x 4) layerCount 1 format 56 usage b00: 5
[AHardwareBuffer] GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -5), handle=0x0
[gralloc4] ERROR: Format allocation info not found for format: 3b
[gralloc4] ERROR: Format allocation info not found for format: 0
[gralloc4] Invalid base format! req_base_format = 0x0, req_format = 0x3b, type = 0x0
[gralloc4] ERROR: Unrecognized and/or unsupported format 0x3b and usage 0xb00
[Gralloc4] isSupported(1, 1, 59, 1, ...) failed with 5
[GraphicBufferAllocator] Failed to allocate (4 x 4) layerCount 1 format 59 usage b00: 5
[AHardwareBuffer] GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -5), handle=0x0
*
**
**AFTER ========================= vkGetPhysicalDeviceSurfaceFormatsKHR | LIST
Asside from that it seems I cannot create Pipeline but works on other devices.
TIA.
r/android_devs • u/ByteAstronaut • Feb 28 '26
hey all
how long after being approved for production did you wait to publish? or did you do any open testing? I get every app is different but I'm just curious if you guys got approved for production and just went for it or if you took a beat and did open testing for a week or two?