Skip to content

Instantly share code, notes, and snippets.

@erikcox
Created November 16, 2014 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erikcox/8a623a505ae44074a0f7 to your computer and use it in GitHub Desktop.
Save erikcox/8a623a505ae44074a0f7 to your computer and use it in GitHub Desktop.
Android intent to go to the system settings
/* Look into android.provider.Settings
Not all settings may be available on customized versions of Android,
so be sure to catch ActivityNotFoundException. */
try {
startActivity(new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS));
} catch (ActivityNotFoundException e) {
// Unavailable
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment