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
0
votes
1 answer

MIUI - Permission denied while trying to start ACTION_SEND / ACTION_VIEW intent

I faced an issue, which occurs only on MIUI devices. I am trying to share some text using the following code private fun shareTextWithCallback(text: String) { val title = getString(resId) val intent = Intent(Intent.ACTION_SEND) …
Valentun
  • 1,661
  • 12
  • 23
0
votes
0 answers

Android 11 file sharing bug when I use hupu app

Bug when I use Hupu app I updated my MIUI version to 12.2.1.0 last night. When I was using hupu app this morning, I was told that 'Sharing exceptions, Android 11 and above require a file provider for sharing.'So anyone knows how to share files in…
Rou
  • 1
0
votes
0 answers

location issues for the custom roms like Miui,Oppo,Vivo etc

Guys i am facing an issue regading the location updates on Custom Roms like Miui,Oppo etc, These Roms are taking too much time for location update and in background it do not trigger the listner, and in foreground it takes about 1-2 minutes to get…
0
votes
1 answer

Video from ACTION_VIDEO_CAPTURE return null video after play

I send intent for recording video in this way private fun openCamera(url: String) { if (!viewModel.isAttachmentSaved) { val takeVideoIntent = Intent(MediaStore.ACTION_VIDEO_CAPTURE) val file = File(url) …
0
votes
1 answer

How to run cloned (dual) apps via adb shell

Could someone tell how to run cloned (dual) application via adb shell. The smartphone has MIUI 11 and the app is TelegramX, for example. Application clone emulator is by default. I get the original application when I try to run the app via: adb…
idkwhattodo
  • 1
  • 1
  • 2
0
votes
2 answers

Click on EditText crashes device

I'm writing an app that has a few EditText fields. The app has been tested on many different devices with different Android versions and everything went as expected, except on a Xiaomi Mi9 with Android 9 and MIUI Global 10.2.30 stable. On this…
eldev09
  • 39
  • 8
0
votes
1 answer

Background services not running in MIUI version 10.3.7

In Xiaomi PocoPhone f1 with MIUI version 10.3.7, the background services are not running when the application is in appkill state. Can anyone help me with this problem?? I have used the permission of the application autostart and removed the battery…
0
votes
2 answers

Translucent Status Bar Miui devices

I want to set the status bar to translucent on devices running MIUI. I can't find a solution to this problem. I've tried doing it like this: activity.window.setFlags(WindowManager.LayoutParams.FLAG_TRANSLCUENT_STATUS,…
0
votes
1 answer

How to create folder in MIUI 10 programmatically?

I'm doing a module which is get images from server and save in internal storage of phone, Image fetching part in done but when i click on save button in some phones images store successfully but not store in MIUI operating system. //Method for Save…
0
votes
0 answers

What permission is SHOW_ON_LOCK_SCREEN in MIUI? And how to programatically enable it?

I simply want to show an Activity in Lock Screen but because of this unknown or special permission called SHOW_ON_LOCK_SCREEN in MIUI, I can't make it work. I've tried the following code but no luck.
Polar
  • 3,327
  • 4
  • 42
  • 77
0
votes
1 answer

What to do when android doesn't detect my .css and .js files when I run index.html?

I wrote a .html file that uses css(style.css) and javascript(app.js). When I transferred the folder containing the index.html,style.css and app.js over to my android internal memory,the browser runs the html file but my .css and .js files are not…
0
votes
0 answers

Failed to load resource for Gboard stickers on Android

I created an Android app with Gboard stickers that works on some devices while on others it does not. On my Honor 10 device it works as expected while on my Xiaomi Mi 9 it prints this error to logcat when I try to insert the sticker anywhere: 04-26…
Rikudou_Sennin
  • 1,357
  • 10
  • 27
0
votes
1 answer

Loading old boot logo even after flashing with custom rom MiUi pro 10. TWRP

I installed custom MiUi Rom flashed with TWRP . Phone is Coolpad Note 3 Running with marshmallow Cool Ui . Flashed with MiUi Pro V10 with the help of TWRP Recovery. Installation was successful but when I try booting the phone it is still loading old…
Ram
  • 57
  • 8
0
votes
0 answers

FileNotFoundException: /acct/uid_99315/pid_1778/cgroup.procs while accessing native lib in Xiaomi MIUI GLobal 10.1

currently i'm handling Android application that built using Cordova. My application was running well while accessing Android native lib. Until one day i upgraded my device testing Xiaomi MIUI Version into the latest one, MIUI Global 10.1 i got error…
paulsenjs
  • 88
  • 10
0
votes
1 answer

Interesting notification - Android

I got this notification from like app, I found it bit innovative and engaging. Is it OS specific? How to implement any direction/reference Kindly see the reference for notification image below
ashu
  • 1
1 2 3
8
9