Linked Questions
13 questions linked to/from Android - How to Enable Autostart option programmatically in Xiaomi devices?
27 votes
7 answers
29k views
How to enable auto start for my app in Xiaomi programmatically
I have a service in my app which needs to be running in the background all the time. On all devices, it's working fine except Xiaomi. I have read somewhere that we need to enable auto-start in ...
28 votes
3 answers
13k views
How to enable AutoStart option for my App in Xiaomi phone Security App programmatically in android
My App is working with good remarks in all mobile except MI. Because MI restricting my App background service to run. After enabling App in Autostart in Security, it working perfectly. So can I enable ...
20 votes
4 answers
25k views
Add my app to AutoStart apps list in android programmatically
I want my app to be in the autostart list after installation. I know when I install an app like (whatsapp) it goes automatically to the autostart list. I want my app to be the same I tried the code ...
9 votes
1 answer
6k views
How to enable auto start for an app in xiaomi programmatically
I would like to know whether the background service for any application can be provided by xiaomi? I have service in my app which need to be running in background all the time , in all devices its ...
11 votes
2 answers
4k views
How to verify that auto start option for my android app is enabled or disabled
I want to auto start my android app either at boot time or after installation of app. I have applied following code: (AndroidManifest.xml) <?xml version="1.0" encoding="utf-8"?> <manifest ...
7 votes
3 answers
8k views
How to programmatically enable Autostart option for my app in MI 4i security APP?
For check screenshot and detail, click here Please give related suggession or code for how to add automatic enable auto start for my app , please check here attached screen shot thanks in advance.
1 vote
3 answers
6k views
How to whitelist my Android app to China manufacturer like Xiaomi, Oppo, etc
I know this is a really old question, but I don't see a clearly answer. Any solution about keeping android app running in background on china devices seems to be not working, so I think about ...
-3 votes
1 answer
1k views
background service has stopped on miui rom
I am developing a background services and in OnDestroy Method, I've called an intent to start my services again. I'ts not started again on miui rom (Xiaomi mobile and huawei mobile). How do I handle ...
2 votes
0 answers
2k views
How to check AutoStart is enabled for our App in Xiaomi manufacturer mobile device Programmatically
While working with Xiaomi manufactured mobile devices, I am opening AutoStart screen to enable AutoStart for my App. But is there any way to check Is AutoStart is enabled for our App. Thanks in ...
0 votes
1 answer
887 views
onDestroy() onTaskRemoved both not working on Redmi MI device
I'm here developed a hybrid cordova based android app in which i need to do some task before killing app for this i wrote below code onDestroy() in MainActivity and onTaskRemoved in one of service ...
3 votes
1 answer
1k views
How to check application is white list in MI security permission autostart
I am building an android application where I am using some services. My services get close when application is close in some custom android OS like MI. Then I figure out we have to push our ...
1 vote
3 answers
934 views
How to call intent method from java using flutter
So I am trying to make my app auto-start So to do this i have to redirect the user to the auto start screen of the devices. I tried calling intent similar as we get the battery detail app in flutter ...
0 votes
1 answer
394 views
unable to receive push notifications in few android phones
I am facing issues in receiving FCM push notifications when the app is killed on certain devices like Oppo, Huawei, Xiaomi and OnePlus. I understand that it is due to battery optimisation settings in ...