1,413,960 questions
Score of 0
0 answers
62 views
Handle entering/leaving picture-in-picture mode without restricting configuration changes
My goal is to be able to modify compose hierarchy on entering/leaving picture-in-picture mode. If it is in full mode, activity holds the full hierarchy of composables. But if it's not - just a ...
Score of -1
0 answers
118 views
Is there any way to get live HDMI-IN output into a custom Android TV app? [closed]
I am developing an Android TV application and I want to access the live video coming from an external set-top box connected to the TV's HDMI port.
My setup is:
Set-top box → HDMI cable → Xiaomi ...
Score of 0
0 answers
62 views
Android SpeechRecognizer + LiveKit voice app: mic ownership conflict and TTS self-transcription echo loop
I'm building a voice assistant Android app combining LiveKit (client-sdk-android) for real time communication with a backend agent, and Android's native SpeechRecognizer for on device speech-to-text. ...
Score of 0
2 answers
145 views
How to fix "Namespace 'androidx.compose.material3.adaptive' is used in multiple modules and/or libraries"?
When trying to build my app I run into the following error:
> Task :app:processDebugMainManifest FAILED
[androidx.compose.material3.adaptive:adaptive-android:1.3.0] C:\Users\Brenden\.gradle\caches\...
Score of 0
0 answers
55 views
Is overwrite via ACTION_CREATE_DOCUMENT reliable, or do some pickers never allow it?
The docs say in one place that:
ACTION_CREATE_DOCUMENT cannot overwrite an existing file. If your app tries to save a file with the same name, the system appends a number in parentheses at the end of ...
Score of 2
0 answers
92 views
Full documentation for the 'PS1' syntax used in 'adb shell' [closed]
I'm running Android 13. When I run adb shell in a USB connection from my desktop machine to my Android device, the following is the value of the PS1 variable that gets automatically set:
${|
...
Score of 0
0 answers
172 views
Missing platform selection in Delphi 13 CE
After trying out the Delphi 13 trial version for 30 days, I installed the Community Edition once it became available. I had uninstalled the previous version beforehand. Although I selected both ...
Score of 4
2 answers
156 views
What is "CoroutineScope.()" in the documentation?
How do I have to read and interpret this function-signature?
What I don't get is " ... CoroutineScope.() ... ". I know that "() -> Unit" is a type-definition for a lambda. But ...
Score of 0
0 answers
110 views
How to resolve "ADB Wi-Fi v1.0 has limited pairing capability" warning in Android Studio?
In the middle of this year, Google introduced a new architecture rolled out first to Pixel developer devices via the stable Android release, with other major smartphone manufacturers adopting it as ...
Score of 2
1 answer
137 views
How do I disable metrics with the Android CLI?
The Android CLI, which has superseded the sdkmanager, collects statistics by default:
Android CLI collects data on basic usage of the tool.
How can I disable data collection (also known as telemetry ...
Score of 2
1 answer
163 views
Gradle build fails with "Timeout waiting to lock journal cache" in Flutter project
I am trying to run my Flutter project on an Android emulator, but the Gradle build fails before the application starts.
Environment
Flutter: 3.44.8 (stable)
Dart: 3.12.2
Gradle: 8.14
Android Gradle ...
Score of 3
2 answers
204 views
How does "val myViewModel: MyViewModel = viewModel()" work in Android Kotlin?
I'm reading some code which isn't mine, and I've found an odd construct I can't puzzle out.
The line is:
val myViewModel: MyViewModel = viewModel()
I can guess (roughly) what this is doing, but I'm ...
Score of -1
0 answers
82 views
Does Pixel Watch (stock Wear OS) restrict background execution of third-party foreground services, like Samsung's One UI Watch?
I'm building a Wear OS health-monitoring app that must stream vitals (heart rate, SpO2) continuously to a paired phone, including with the screen off, using:
PassiveMonitoringClient inside a ...
Score of 1
1 answer
105 views
Toggle the predictive back animation at runtime on Android 14+ (targetSdk 34+)
I have an Android app (Kotlin + Jetpack Compose) with a settings switch that should let the user disable the predictive back animation. The app already opts in globally in the manifest:
<...
Score of 0
1 answer
92 views
Button/Content in Linear layout showing in Status bar/ Top bar (android studio)
I just change main layout in "Linear Layout" then button showing behind the App bar and inside the TOP bar/ status bar. How to fix this.
code is here
<?xml version="1.0" ...