Top "Android-permissions" questions

Permissions in the AndroidManifest.

Android System overlay window

I'm trying to create a system overlay. But I keep getting "permission denied". I'm using SDK version 23. My manifest file: &…

java android android-permissions
Checking if permissions have been granted already by user in Android

I have defined all the dangerous permissions in a String array as below: String[] perms = {Manifest.permission.READ_CONTACTS, Manifest.…

android android-permissions
What kind of Android application will require android.permission.READ_PHONE_STATE permission?

I have seen some Android apps on my phone require this android.permission.READ_PHONE_STATE permission. I don't know …

android permissions malware android-permissions
What's the difference between ACCESS_NETWORK_STATE and INTERNET?

What's the difference between ACCESS_NETWORK_STATE and INTERNET? If I use INTERNET, is it necessary to use ACCESS_NETWORK_…

android android-permissions
How Do We Distinguish Never-Asked From Stop-Asking in Android M's Runtime Permissions?

When it comes to the M Developer Preview runtime permissions, according to Google: If you have never asked for a …

android android-permissions android-6.0-marshmallow
Android "Permission Denial: can't use the camera"

I'm following a tutorial on utilizing the camera in an Android app. I am getting the error "Permission Denial: can't …

android android-camera android-permissions android-camera2
No activity found to handle intent action.dial

I'm trying to make my app call a number from an EditText, but I get: android.content.ActivityNotFoundException: No Activity …

android android-intent android-permissions phone-number phone-call
App crashes with SecurityException on Android M

Yesterday I set upped target and compile sdk to 23 API level. When I launched the app on Nexus 9 with Preview …

android android-permissions android-6.0-marshmallow android-developer-api
Android internet connectivity check problem

I'm new to Android development and working on an Android application that requires the phone to be connected to the …

android android-permissions android-internet
How to programmatically enable auto start and floating window permissions

How can I enable auto-start permission programmatically? How to find which phone need to do auto-start code? How to check …

android android-permissions autostart