5

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.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Axxxon
  • 703
  • 2
  • 11
  • 27
  • check this http://stackoverflow.com/questions/11985251/how-to-access-device-settings-programmatically – Ameer Feb 27 '14 at 11:56
  • its seems that only system settings can be checked, so there's no way for checking developer settings? – Axxxon Feb 27 '14 at 12:41
  • The system may choose to kill your app whether or not the option is set. I take it you're holding the camera and taking pictures of things while your app is in the background? – fadden Feb 28 '14 at 01:45
  • @fadden exactly like You say... – Axxxon Mar 01 '14 at 14:25

1 Answers1

34

You can open with

startActivity(new Intent(android.provider.Settings.ACTION_APPLICATION_DEVELOPMENT_SETTINGS));
Aj 27
  • 2,316
  • 21
  • 29