1,414,894 questions
Best practices
0
votes
1
replies
40
views
How do I cache images in local storage?
I have an Android application with camera and album features. It can take high-resolution photos and display them in albums. The problem is that each photo can be several hundred MB, which ...
-2
votes
0
answers
39
views
State Corruption in Modal Navigation Drawer during rapid Recompositing cycles [closed]
I've been debugging a critical UI freeze in a media-heavy application (youcinez) where rapid interaction with the ModalNavigationDrawer triggers a permanent white screen/hang.
The issue specifically ...
-1
votes
1
answer
60
views
White screen and app freez when click on top navigation button twice in Android Jetpack Compose App
In my app, I am using TopAppBar that has a humburger icon and NavigationView (ModalNavigationDrawer + ModalDrawerSheet) , the probelm is when I click twice in nav icon or when I click on the ...
0
votes
0
answers
54
views
Accessibility Service Breaking Compose Navigation inside TextFields
Accessibility Service Causing DPAD Navigation Broken:
When flagRequestFilterKeyEvents is set, every hardware key is delivered to the service first, and re-injected into the input pipeline after the ...
0
votes
0
answers
42
views
NativeAdView.mediaView is val and cannot be reassigned in ads-mobile-sdk 1.0.1
I am using the new Google Ads Mobile SDK:
implementation("com.google.android.libraries.ads.mobile.sdk:ads-mobile-sdk:1.0.1")
I am implementing Native Ads in Kotlin.
The headline, body, CTA, ...
Best practices
0
votes
3
replies
72
views
Can't get rid of READ_CONTACTS with backward compatibility
My app needs email recipients for sending messages. Today I read all email addresses and ofder them in an auto-complete dialog. Now I wanted to upgrade Android SDK to API level 37 and follow the new ...
1
vote
0
answers
45
views
App missing from "Add account" list in HyperOS (even though service is registered)
I'm facing an issue with HyperOS where my app doesn't appear in the "Settings -> Accounts & Sync -> Add account" list.
Device details: Xiaomi 23078PND5G
Technical details:
The app ...
Advice
0
votes
1
replies
78
views
Real-time speech-to-speech translation pipeline recommendations for Android (offline-first)
I’m developing an Android app for instant speech-to-speech translation with a strong focus on offline operation and low latency.
Requirements:
Target devices: Android 10+ on mid-range hardware such ...
Best practices
0
votes
1
replies
77
views
How to detect app install source / deferred deep link on Android (Kotlin) and iOS (Swift) after web popup campaign login?
I’m developing a mobile app for both Android (Kotlin) and iOS (Swift), and I need to identify where the app installation came from.
Use case
On the website, we show a popup like:
“Install the app and ...
1
vote
0
answers
35
views
How to add a driver for AOA protocol
I have my device switching to AOA correctly (VID_18D1&PID_2D00)
Once it switches and reconnects to windows I get an unkown device error, I followed googles docs for https://developer.android.com/...
-4
votes
0
answers
47
views
Genymotion: Debugging kernel with qemu emulator [closed]
I need to debug kernel which runs on qemu hypervisor in Genymotion. But I couldn't find any online resource or any docs shows how to do that.
So here's some infor related to my Genymotion:
Version: ...
3
votes
2
answers
150
views
How to pass a custom Parcelable object in Jetpack Compose Type-Safe Navigation (Navigation 2.8.0+)?
With the release of Jetpack Compose Navigation 2.8.0, we can now navigate using type-safe objects (@Serializable data classes) instead of route strings. However, if my route data class contains a ...
-3
votes
0
answers
52
views
Android and Health Connect Permissions Issues; need an assist [closed]
I've developed an app that reads data from the health apps on both Apple and Android platforms. Its purpose is to provide folks managing chronic health issues (such as heart transplant patients) with ...
-1
votes
0
answers
67
views
Why can't the cursor move to the end of the line in an Android input box?
As shown in the image below, this is an Android 11 emulator. I've written an EditText application with multiple lines of text input. Clicking the end of the first line doesn't move the cursor to the ...
2
votes
0
answers
84
views
Flutter Android (Xiaomi/MIUI): SocketException Failed host lookup for .local mDNS hostname
I’m building a Flutter app that discovers a local device over Wi-Fi and calls its local REST API.
On Xiaomi/Redmi (MIUI), local mode fails with DNS resolution for .local hostnames, while the same flow ...