Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android - Programmatically check developer options?

I have a application thats uses intent to make photos with camera, but lately i have met a problem for users using developer options like 'Background process limit' that they turn off all background apps - so my app is killed besides calling onPause and onResume. I'd wish if theres any possibility to check if this options is turn off and so I could prompt user a proper dialog.

like image 276
Axxxon Avatar asked Feb 27 '14 11:02

Axxxon


People also ask

How do I reveal developer options?

1 Go to 'Settings' , then tap 'About device' or 'About phone' . 2 Scroll down, then tap 'Build number' seven times. Depending on your device and operating system, you may need to tap 'Software information' then tap 'Build number' seven times. 3 Enter your pattern, PIN or password to enable the Developer options menu.


1 Answers

You can open with

startActivity(new Intent(android.provider.Settings.ACTION_APPLICATION_DEVELOPMENT_SETTINGS));
like image 107
Aj 27 Avatar answered Oct 11 '22 18:10

Aj 27