Friday, 23 February 2018

Go to My App App Permission screen Setting




Navigate to App Setting in Android :


android app setting screen
Android App Setting Screen



Below is the code to navigate App Setting in Android . Sometimes we need to send user to App Setting Screen . Lets take an example, in Android Mashmallow device , if user permanent denied the permission then user has to
allow the permission by going to setting screen .

Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS,
    Uri.fromParts("package", getPackageName(), null));

By using the above code, user is navigate to setting screen .

 
    Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS,
    Uri.fromParts("package", getPackageName(), null));
    intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    startActivity(intent);

By using the above code, user is navigate to setting screen .

I have made the tutorial on Android Mashmallow Permission with Dexter , with just one line of code you can get Android permission easily .


                                                             DOWNLOAD CODE









0 comments:

Post a Comment