In this tip we will see how to open an application setting screen from our application. In some application it might be possible that user has denied permission and you need to open application permission screen in order to get that particular permission, but this is not possible to in this case you need to redirect a user to application setting page and from that user can check for permission settings.
Intent intent = new Intent();
Uri uri = Uri.fromParts("package", activity.getPackageName(), null);
If you want to open a setting screen of other application, you need to replace activity.getPackageName() with a package name of application whose setting screen you need to open.