Is there a way to redirect a user to the settings of an application or better to the permissions of a specific application? as shown below:
Best regards.
Is there a way to redirect a user to the settings of an application or better to the permissions of a specific application? as shown below:
Best regards.
There is no intent to go directly to permissions page.
However, there is an intent by which you can redirect your user to your Application's detailed settings page. ACTION_APPLICATION_DETAILS_SETTINGS
Here is the code snippet:
Intent intent = new Intent();
intent.setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
Uri uri = Uri.fromParts("package",activity.getPackageName(), null);
intent.setData(uri);
context.startActivity(intent);
I hope this helps!
Is there a way to redirect a user to the settings of an application
Use ACTION_APPLICATION_DETAILS_SETTINGS
.
or better to the permissions of a specific application?
I do not think that there is a way to drive to that specific screen.