Android Marshmallow 6.0: Asking For Permission
To protect the system's integrity and the user's privacy, Android runs each app in a limited access sandbox. If the app wants to use resources or information outside of its sandbox, the app has to explicitly request permission. Depending on the type of permission the app requests, the system may grant the permission automatically, or the system may ask the user to grant the permission.
This class shows you how to declare and request permissions for your app.
- Declaring Permissions
- Learn how to declare the permissions you need in your app manifest.
- Requesting Permissions at Run Time
- Learn how to request permissions from the user while the app is running. This lesson only applies to apps on devices running Android 6.0 (API level 23) and higher.
- Permissions Usage Notes
- Guidelines for creating the best user experience in requesting and using permissions.