293 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
31
views
Android MediaRecorder creates .m4a file with no audio
I'm using Android Studio trying to record audio in an Android foreground service using MediaRecorder. The file is created successfully, but when I play it, it contains no audio. Here's the relevant ...
0
votes
0
answers
68
views
Xiaomi Android 15 auto cache cleaning issue with accessibility service
Guys can you help me with a code, I have an auto cache cleaning app which uses accessibility service which will navigate each selected app settings and find clear cache button and click it.
Recently ...
2
votes
1
answer
161
views
App doesn’t update theme on scheduled system dark mode change
I’m building a Flutter app that supports both light and dark themes using ThemeMode.system, and I expect the app to switch themes when the system theme changes.
To detect and react to system theme ...
0
votes
0
answers
59
views
The includeFontPadding property is not working
The includeFontPadding property of the Text component in React Native does not work on Android real devices (the real devices are Xiaomi 10 and Xiaomi 13 with Android 13).
<View style={styles....
0
votes
0
answers
56
views
Unexpected GATT Service Caching on Android 15 – Bug or Change in Behavior?
I'm encountering a GATT write error on some devices. It seems to be related to Android 15 (SDK 35), but I might be missing something.
The error occurs when I try to discover services — I'm searching ...
0
votes
0
answers
64
views
React Native Text Input Handle Xiaomi weird shape
I have a problem with the shape of the TextInput handle on my Xiaomi Redmi Note 8 Pro, these are an image and a code example:
<TextInput
style={{
backgroundColor: Colors.dark....
0
votes
1
answer
61
views
How do I get default navigation bar in this hello world?
MainActivity.java
package com.example.test;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
import android.view.ViewGroup.LayoutParams;
import android.view....
0
votes
0
answers
37
views
Problem with restarting widget on Xiaomi when app is closing/opening/backgrounding
I have an application with VebView and now I try to make a widget with message conversations. All is ok on my phone (Samsung), but on Xiaomi, every time when app is opening/closing/going to background,...
0
votes
1
answer
107
views
How to implement zero copy on Qualcomm smartphones?
What methods are available to enable zero-copy support on smartphones with Qualcomm GPUs?
I have tried various methods. First, I confirmed the presence of Unified Memory through ...
1
vote
1
answer
187
views
Xiaomi 13T Pro Android Studio Mirroring Bad Screen Quality [closed]
As you can see in the picture below, when I try to mirror the Xiaomi 13T Pro device via Android Studio, the shared screen looks pretty bad.
When I use Pair Devices Using Wifi and direct screen ...
0
votes
0
answers
84
views
Android error "Tag Was Lost" in XIAOMI only
I am developing an application with NFC and an NFC TAG (ST25). When I send more than 13 bytes with the nfcV.transceive() command, I receive the error "TAG WAS LOST", but it only occurs on ...
0
votes
1
answer
55
views
Why text colors are not working in Xiaomi 12T
The text in totalizador1TextView, do not change according with instruction, allways black. MIUI Global 14.0.13 Android 13TP1A
<?xml version="1.0" encoding="utf-8"?> <...
1
vote
0
answers
829
views
i am getting the warning in the flutter usb debugging after launch the app in mobile phone
D/InputMethodManager(15647): showSoftInput() view=io.flutter.embedding.android.FlutterView{a362dc9 VFE...... .F....ID 0,0-1080,2356 #1 aid=1073741824} flags=0 reason=SHOW_SOFT_INPUT
W/libc (15647): ...
0
votes
1
answer
143
views
Navbar pops up when DropdownMenu from material3 appears on MIUI
I have Activity with hidden navigation bar and pure Compose content. It works as expected until androidx.compose.material3.DropdownMenu is shown. At this moment navbar is back, it hides again when ...
0
votes
0
answers
71
views
Type undefined error while compiling Xiaomi kernel
HDRTEST usr/include/audio/sound/msmcal-hwdep.h
In file included from <built-in>:1:
./usr/include/audio/sound/cs35l41.h:17:2: error: unknown type name 'bool'
bool classh_bst_override;
...