Questions tagged [miui]

MIUI developed by Xiaomi, is a stock and aftermarket firmware for smartphones and tablet computers based on the Google Android operating system. Use the tag [miui] for questions related to user interface or development for MIUI.

Xiaomi has released various smartphones, all of which come pre-installed with a complete version of MIUI. This includes various apps and features not available in the aftermarket version of MIUI.

Other than supporting their in-house smartphones and tablets, Xiaomi also offers MIUI to be flashed on other smartphone brands such as Samsung, Sony, HTC, BLU, OnePlus and Nexus.

On February 24, 2016, Xiaomi said that the MIUI ROM had over 170 million users worldwide, and was supported on over 340 handsets.

132 questions
3
votes
0 answers

StatusBar not showing on MIUI and EMUI devices

I created app for Android(with Xamarin Classic). I did the testing and everything is fine, except for one thing: StatusBar not showing on MIUI and EMUI. I understand that these firmware have their own peculiarities. but I almost did not find any…
FetFrumos
  • 5,388
  • 8
  • 60
  • 98
3
votes
0 answers

Unable to modify system settings in Xiaomi Miui devices

In my app even after user allowing modify system settings (write_settings) permission, the permission in real is not granting to my app. User allowed allow modify settings: but, when I went into settings > installed apps> my app > other permissions…
Harsha pulikollu
  • 2,386
  • 15
  • 28
2
votes
0 answers

Flutter app crashes just after wallpaper is set

flutter android application goes to hang state and immediately crashes just after wallpaper is set from the app.The wallpaper changes automatically every minute. This crash issue was not found on my nokia device this error was found on a redmi…
2
votes
0 answers

Android app crashes with Resources$NotFoundException after display resolution has changed

From the analytics and crash tools that are used the following situation has been discovered: a user installs the app from Google Play and use it without issues on his Xiaomi Mi 11 Ultra device; the reported Screen Resolution is 1440x3007, Screen…
2
votes
2 answers

Hide icons status bar MIUI 13

I am trying to hide some status bar icons on MIUI 13. Do you know of a way to hide icons such as Roaming, Mute, DND...? I tried these without success: adb shell settings put secure icon_blacklist zen,mute,volume Using the SystemUI Tuner app,…
2
votes
0 answers

How to disable/enable MIUI optimization in Redmi devices

Our client requirement is they don't want to navigate the developer page and turn on the MIUI Optimization. How do I achieve to turn on MIUI Optimization Programmatically in Redmi note 10 pro. Is it possible then let me. Thanks in Advance.
raja
  • 368
  • 2
  • 13
2
votes
1 answer

Android - Request accessibility permission on Xiaomi

what is the proper way to request accessibility permission on xiaomi/miui devices programmatically? The code snippet below on all other devices takes you to the screen with the option to enable accessibility. But on Xiaomi devices it takes to a…
araraujo
  • 613
  • 2
  • 8
  • 17
2
votes
1 answer

Ignore battery optimization permission for our android app is getting denied on Xiaomi android 11 devices

In our android app we ask for ignore battery optimization permission, and the user has an option to allow or deny the permission On some Xiaomi android 11 devices , even when the user clicks allow permission , it brings back an error that the…
sushmitha
  • 21
  • 2
2
votes
2 answers

Detect dark mode in miui (xiaomi)

I have seen many questions about detecting the dark mode like this one on stack overflow and visited many medium blogs like How to know when you’re using dark mode programmatically and DayNight — Adding a dark theme to your app and in all of them…
Buddy Christ
  • 1,364
  • 8
  • 22
2
votes
2 answers

MIUI 11/12 Theme Switch Results in LifeCycleException, ClassCastException

Since MIUI 11/12 Use Its Own Custom Implementation of Dark Mode, using below code results in ClassCastException and Activity Life Cycle Exception, as DefaultNightMode and LocalNightMode is always Unspecified i.e. -100 instead of 0 or 1. If anyone…
2
votes
2 answers

MIUI not detecting ".app" as a link on QR Code

I'm building an app that involves generating QR codes with a certain link (eg: mywebsite.app/cLKXz). Everything works fine on stock android, Samsung, and Apple. But MIUI's integrated scanner simply doesn't recognize a .app domain as a link, which…
Franco Muñiz
  • 811
  • 1
  • 10
  • 21
2
votes
0 answers

How to start Activity from Android Keyboard (IME) on MIUI 11 without asking permission from user?

I am not able to start Activity from keyboard, while other keyboard like "Go Keyboard", "Microsoft Swiftkey Keyboard" , "1C Big Keyboard", and many more keyboard working fine on MIUI 11 with default permission which are already allowed when install…
Ravi1187342
  • 1,247
  • 7
  • 14
2
votes
0 answers

MIUI 11 preventing Activities (of other apps) being launched from foreground service?

In some recent MIUI 11 update, it seems no longer possible to launch an Activity (at least, of another app) from a System Alert Window (SAW) running in a Foreground Service. I can confirm on my MIUI 11.0.5 device (not sure about earlier versions of…
Mark
  • 7,446
  • 5
  • 55
  • 75
2
votes
0 answers

When media recorder start recording video then "onPreviewFrame" method of Camera.PreviewCallback stopped working

I am writing code to record video after analyzing frame. If the frame contains a redness level above 240 then it starts recording or redness goes bellow 230 stop video recording. But the issue is that when media recorder starts recording than the…
2
votes
1 answer

Can't find 'Take Bug Report' option anywhere on Redmi 7A (MIUI 11)

Recently, the MIUI 11 update had come and after updating it, I can't find 'Take Bug Report' anywhere inside developer options. Is there anything new that I don't know about 'Bug Report' like it was renamed or something? I searched in docs and MIUI…
Farhan Ibn Wahid
  • 926
  • 1
  • 9
  • 22
1 2
3
8 9