Questions tagged [redmi-device]

used for question about xiaomi redmi devices.

60 questions
58
votes
11 answers

How to check MIUI autostart permission programmatically?

I need to check programmatically if the auto start permission for my app in MIUI phone is on or off. Facebook and whatsapp have this permission already enabled by default , how can I do so?
52
votes
4 answers

How can I create an Xiaomi emulator for Android Studio? Or any other way to test app on Xiaomi emulators?

I want to test my Android app for an Xiaomi device. How can I create an emulator for that? I have already tried andyroid, genymotion and bluestack, but I have not found any for Xiaomi devices.
rehan
  • 529
  • 1
  • 4
  • 3
8
votes
0 answers

How to enable show on lock screen permission in Redmi 5 programatically

I want to open activity through push notification, but in mi devices it is not opening due to "Show on lock screen" permission of, how to enable this programmatically.
6
votes
3 answers

Selecting image from gallery not working on Redmi Note 4

I have seen a couple of other questions on S/O related to this, but the one that was closest to my issue doesn't seem to have got many responses (Xiaomi MI device not picking image from Gallery). Hoping this question will have better luck. I am…
wanderingProgrammer
  • 191
  • 1
  • 3
  • 19
5
votes
0 answers

Android 11 - Wireless Debugging turns off when phones' display turns off

I have been having this problem with my Redmi Note 9 Pro. Whenever I turn on wireless debugging, it turns off whenever the device goes to sleep. I have checked WiFi settings for turn off WiFi during sleep but did not find any such option in the MIUI…
5
votes
1 answer

App crashes when launching camera to take picture on Redmi 7A

My app automatically crashes when I launch camera to take picture on Redmi 7A. Following are the crash logs: E/CAM_CameraIntentManager: checkCallerLegality: Unknown caller: com.qikcircle.eclinic Please help it really does not show what exactly…
4
votes
1 answer

How to Disable copy/paste option of Xamarin forms Entry control in Redmi note 8 device?

I want to disable copy/paste option of my Entry control in Xamarin forms application. I am using custom renderer for that. The current solution is working in all the other devices apart from Redmi Note 8. This is my renderer code. class…
Judson Abraham
  • 316
  • 2
  • 11
  • 37
4
votes
2 answers

App not installing in some devices from play store

I have an app published in Beta. It's not installing in some of the Redmi and Samsung devices. The app is getting download from the play store and while installing it shows an error dialog "Can't install the app, Try again, if it still doesn't work.…
Suresh Kumar
  • 2,014
  • 3
  • 19
  • 32
4
votes
0 answers

Why Android File Chooser with intent action ACTION_OPEN_DOCUMENT not working on some devices in case file is selected from File Manager?

I am trying to select PDF file using intent action ACTION_OPEN_DOCUMENT on Android but its giving null on some devices. I want the user to select PDF file only from his device. For this I have used intent action ACTION_OPEN_DOCUMENT. This works…
Prashant Jha
  • 574
  • 6
  • 21
3
votes
0 answers

Can we disable/enable MIUI optimization in Redmi devices

I have one use case where we have to turn off MIUI optimization on Redmi devices programatically. Is there any way to do this from an Android app programmatically on Redmi devices?
user3863488
  • 227
  • 1
  • 13
3
votes
3 answers

Android studio: Unable to detect adb version, exit value 0xc0000135

When I connect my mobile with PC, android studio says Unable to detect adb version, exit value 0xc0000135. what to do?
Asmar J.
  • 31
  • 1
  • 3
3
votes
4 answers

WorkManager doWork callback is not received in Redmi and other custom Chinese ROM when device got rebooted and force closed the app

My app is not receiving push notification in Redmi phones while the app is in the background or it got killed by swiping. So I am trying to wake the phone by WorkManager which works on many phones except Redmi and other Chinese custom ROM…
3
votes
1 answer

Xiomi Redmi Note 4 phone Install this app via usb, remember my choice coming every time app installation

Using redmi note 4 for mobile automation testig with appium. While executing the tests every time it is asking to install this app via usb and remember my choice radio button. I have enabled following options in developer options: USB debuging…
3
votes
2 answers

sms BroadcastReceiver doesn't receive SMS after app killed OR device restart on MI devices only

My SMS receiving code works good on all devices except Xiomi Redmi devices On Xiomi Redmi devices, my app(Broadcast Receiver) not able to receive SMS when app gets killed by swiping from recent app list OR after device restart until I start the app…
Shirish Herwade
  • 11,461
  • 20
  • 72
  • 111
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
1
2 3 4