Created
July 15, 2016 23:24
-
-
Save JosiasSena/e790118e88176852c2478808a9a965d8 to your computer and use it in GitHub Desktop.
go to the settings for the current application
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void goToAppSettings(final Context context) { | |
final Uri uri = Uri.fromParts("package", context.getPackageName(), null); | |
final Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS, uri); | |
context.startActivity(intent); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment