4

It is possible to do on iOS like this: (find here)

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];

Is there an equivalent on Android?

Something like that maybe?

String url = "app-settings:";
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(url));
startActivity(i);
Community
  • 1
  • 1
lopez.mikhael
  • 9,943
  • 19
  • 67
  • 110

1 Answers1

3

There are no URLs for Settings AFAIK.

However, the Settings class provides dedicated action strings for the Settings app and many of the screens inside of it.

So, to open up the Settings app's main screen, it would be:

startActivity(new Intent(Settings.ACTION_SETTINGS));
CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491