137 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
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
61
views
Setting a wallpaper on a xiaomi phone using a URI sometimes crashes the app
In my app it is possible for the users to set images as their wallpaper and I do this using the WallPaperManager. To change a wallpaper I use a service with the following code in the 'onStartCommand':
...
1
vote
1
answer
329
views
App shows white screen in Xiaomi HyperOS 2 (Redmi K80 Pro) floating window when using size constraints
I’m encountering a persistent white screen issue when running a Flutter app in floating window mode on a Xiaomi Redmi
K80 Pro with HyperOS 2. The problem occurs specifically when applying size ...
1
vote
0
answers
159
views
Android Studio creates templates that can not launch. Apps crash imediately
Plase help to pinpoint a solution to a bug of a Xiaomi MIUI 13 phone that makes it impossible to create any app for me. I don't know how to describe the problem in a more technical way, sorry for long ...
0
votes
0
answers
27
views
WorkManager Worker does not work after 2 or 3 days on the MIUI OS
Here is my background upload service when I am making a work request
package com.unischolarz.calllogger.utils
import android.app.Service
import android.content.Context
import android.content.Intent
...
1
vote
2
answers
336
views
Splash screen background turns to grey in Android App(Apache cordova) on miui (13.0.10)
I am using Apache cordova to create an app. My splash screen background is set to white however when dark mode is enabled it becomes greyish.
It is white when I change it to light mode.
config.xml
<...
1
vote
0
answers
54
views
How i can run my app in MIUI Floating Window by some Codes
I want some way to run my application on a popup window I want some way to run my application on a popup window I mean MIUI Floating Window Using some codes in the Android Java language.
intent....
1
vote
0
answers
1k
views
How can change the icon shape from Square to Circle on HyperOS?
I disabled the MiUI optimization & the icon shape was made squares from circle which was before. How to revert it to circle ? I don't want to re-enable MiUI optimization. I prefer solutions if it ...
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
1
answer
2k
views
Problem with "Display over other apps" permission on some MIUI versions
I am Android developer. And now I test my "anti-spam caller" application.
In case if application detects that there is incoming call from spammer it shows warning alert window.
For showing ...
0
votes
1
answer
297
views
Can't start foreground service when the application is not running via BroadcastReceiver with USER_PRESENT on Android 13 (MIUI 14)
I can't make my receiver work if the app is not already running (If it's running it works fine)
I have the same problem also with the intent USER_UNLOCKED
I managed to make the receiver work when the ...
0
votes
1
answer
128
views
Android Notification gray square on MIUI devices
On MIUI devices, there is an option to choose the notification style between Android and MIUI.
When I select android style, my icon is displayed as a gray square, and when MIUI style is displayed, the ...
2
votes
0
answers
240
views
ForceDarkAllowed for specific Compose component or how to fix weird text color in dark mode on some Xiaomi phones?
I have trouble with text color in dark mode on some Xiaomi devices with android 10.
The component is clickable Box with text, if item selected - the text color is back and box is white and vise versa. ...
0
votes
0
answers
695
views
Can't open youtube link from my android app using intent ACTION_VIEW
I want to open youtube link in youtube app, when I click button in my app. Instead of this I have this error:
AD-PLUGIN-...Controller com.miui.msa.global E Get miui intent sender : com.testyoutube....
0
votes
0
answers
121
views
Vite and Vue3 not working on MiuiBrowser ver 10.9.8-g on Redmi Note 5 real device
Blank page with no Dom and some bugs when trying to open windows with MiuiBrowser on Redmi note 5 as you can see in these pictures, please take your time and give me some advice to resolve this ...