Opening Android Settings programmatically

Behnam picture Behnam · Oct 22, 2013 · Viewed 151.6k times · Source

How can I open settings programmatically?

Answer

kjurkovic picture kjurkovic · Oct 22, 2013

You can open with

startActivityForResult(new Intent(android.provider.Settings.ACTION_SETTINGS), 0);

You can return by pressing back button on device.