Open application detail settings #1

Open
opened 2025-04-26 23:42:04 +02:00 by Filip · 0 comments
Owner

Add a method that opens app's detail settings. Later it can be used as a fallback if used declines runtime permission twice.

Uri uri = new Uri.Builder()
        .scheme("package")
        .opaquePart(getPackageName())
        .build();
startActivity(new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS, uri));
Add a method that opens app's detail settings. Later it can be used as a fallback if used declines runtime permission twice. ```java Uri uri = new Uri.Builder() .scheme("package") .opaquePart(getPackageName()) .build(); startActivity(new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS, uri)); ```
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Filip/droiddream#1
No description provided.