used for question about xiaomi redmi devices.
Questions tagged [redmi-device]
60 questions
2
votes
0 answers
Intent ACTION_FINGERPRINT_ENROLL on Redmi results in exception
On a Xiaomi Redmi Note 9 Pro we try to open the fingerprint enrollment with the following code:
val intent = Intent(Settings.ACTION_FINGERPRINT_ENROLL)
startActivityForResult(intent, SETTINGS_FINGERPRINT_ENROLLMENT_REQUESTCODE)
This result in the…

Aaron
- 413
- 5
- 13
2
votes
0 answers
Unpair Bluetooth device not working in redmi phones, Used "removeBond" this method working in all other device
Consider:
fun BluetoothDevice.removeBond() {
try {
javaClass.getMethod("removeBond").invoke(this)
} catch (e: Exception) {
Timber.i("Removing bond has been failed. ${e.message}")
} }
In another Android phone this method is working well, but…

komal mane
- 21
- 4
2
votes
3 answers
Android Studio could not detect Redmi 5A
I connected my Redmi 5A using a USB cable, with developer and USB debugging enabled, but somehow android studio could not detect my device when I click the run icon.
I tried to troubleshoot the issue and the event log showed this:
What is the…

Samson Yap
- 33
- 7
2
votes
1 answer
Unable to access Redmi Note 5 Pro from Ubuntu 18.10
I'm using Ubuntu 18.10 (Cosmic Cuttlefish), and I've Redmi Note 5 Pro on MIUI Global 10.0 ROM.
When I connect my device and try to access the drive, I get the following error :
Unable to access "SDM636 MTP SN:E5BA4F65"
Couldn't find matching udev…

Nikhil Wagh
- 1,376
- 1
- 24
- 44
2
votes
1 answer
Background location service is not working in oppo and MI phones
In my android application,location service is implemented as background service.I have tested it with different phones(like samsung,micromax,Moto,lenovo,nexus) it works fine with all.But when i run in Oppo (colorOS) and MI (MIUI OS),my service is…

Akshay Chache
- 21
- 6
2
votes
3 answers
Install Via USB not working - on 7.0 device
I have red mi note 4 devices after update device with miui version 9 attempt to enable installation via application via USB, it doesn't work and shows "This device is temporarily restricted". The solution I found didn't work.
Without that feature, I…

Sanjay Bhalani
- 2,424
- 18
- 44
2
votes
0 answers
Alarm System not working properly in MI(Xiaomi) device
I make an alarm system its working fine in other device after clearing the alarm app from list but in MI(Xiaomi) phone its not working.
user7919238
2
votes
0 answers
Doze Mode battery optimization, device specific issue
I implemented ignore battery optimization functionality programmatically.
I found lots of questions and answers but i want to know that the IGNORE_BATTERY_OPTIMIZATIONS is works only for pure android or is there any other cases?
I have couple of…

RaRa
- 2,024
- 1
- 18
- 29
2
votes
0 answers
BluetoothDevice.ACTION_FOUND Not Working in Android Devices with Version Marshmallow
This following is My Code to Detect Bluetooth Related Operations.
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
…

RAJESH KUMAR ARUMUGAM
- 1,560
- 21
- 35
1
vote
1 answer
Intent.createChooser not working for sharing image in REDMI xiomi devices
Intent.createChooser not working for sharing image in REDMI devices
I am saving image locally in my external storage of device and then passing the URI of that image in Intent.putExtra(Intent.EXTRA_STREAM, uri) and MIME type as image/jpg and then…

Shubham Khatri
- 45
- 6
1
vote
2 answers
Android Studio refuses to build and install any app on my phones
Since the time I have updated android studio to 3.5, I have been unable to run any app on multiple of my physical phones (Redmi Note 4 and OnePlus6). The app isn't installing on any of them. But it is installing on the emulated devices of the same…

Palash Aggrawal
- 29
- 5
1
vote
1 answer
Continue service even when app is cleared from recent apps or closed on Red MI Device
I am running a telemetry service in my app. This service is checking for changes in WiFi environment once a second and if changes are detected it notifies a remote db. I need this service to continue running even if the app is swiped from recent…

ncormac
- 11
- 3
1
vote
3 answers
Red mi device issue on enable "Installl via usb"
I am using the mi note 5a device with MiUI 9. but when I enable the option of Install by USB developer option its show error. can anyone help me how to fix that I was using some process that below
Settings -> Additional Settings -> Developer…

Ravi Jat
- 61
- 1
- 12
1
vote
0 answers
Getting 'java.lang.VerifyError' on Specific Device (Redmi 4A)
I had uploaded my app on google playstore and after some downloads I got the following error in crash report.
Error:
java.lang.VerifyError:
at java.lang.Class.newInstanceImpl (Native Method)
at java.lang.Class.newInstance (Class.java:1208)
at…

Jaydip Kalkani
- 2,493
- 6
- 24
- 56
1
vote
4 answers
Redmi Note 4 doesn't run apps from Android studio
I recently bought a Xiaomi Redmi Note 4 and I try to use it as device to run an application from Android studio..
The first time, it runs ok, but after that, it crashes and it says that there is a problem with the app and it can't run it. The code…

ni gi
- 75
- 1
- 10