Top "Runtime-permissions" questions

This tag refers to Android runtime permissions introduced with Android 6.0 Marshmallow (API level 23).

How to check the multiple permission at single request in Android M?

I want to use the android.permission.CAMERA android.permission.WRITE_EXTERNAL_STORAGE in single request using ActivityCompat.requestPermissions(Activity …

android android-6.0-marshmallow runtime-permissions
How to ask runtime permissions for Camera in Android , Runtime storage permissions

I am doing an application to scan barcodes on a button click and it was working fine up to Lollipop …

android android-camera barcode android-6.0-marshmallow runtime-permissions
How to ask permission to make phone call from Android from Android version Marshmallow onwards?

I am trying to make a phone call from Android, and I've set run time permissions as well. And it …

java android phone-call runtime-permissions
Proper Way of Requesting WRITE_EXTERNAL_STORAGE Permission

I have struggled trying to figure out how the storage system work on Android. Now I am stuck at requesting …

android runtime-permissions
Android Studio - remove Security Exception warning

I'm getting the user's location through Location location = LocationServices.FusedLocationApi.getLastLocation( mGoogleApiClient); This line of code is inside a method …

android android-studio suppress-warnings runtime-permissions
How to forget the "Never ask again" choice in Android M runtime permission dialog

I wish to know where the "Never ask again" checkbox boolean flag is stored and how to clear its value? …

android android-6.0-marshmallow runtime-permissions
When to request permission at runtime for Android Marshmallow 6.0?

I am testing my app on Marshmallow 6.0 and it's getting force closed for the android.permission.READ_EXTERNAL_STORAGE, even …

java android android-6.0-marshmallow runtime-permissions
Espresso - click on the button of the dialog

I want to test the permissions of Android 6, but I didn't find the way to click on the "Allow" button …

android android-6.0-marshmallow android-espresso runtime-permissions
Android 6.0 Permissions. Read SMS

I want to get the permission to read SMS in my App. This is my code: String permission = Manifest.permission.…

android android-6.0-marshmallow runtime-permissions