Android – Runtime Permissions
In this video, we see What is the runtime permissions in android? Android contains a permission and predefined permissions for any tasks. Every application can request for required permissions. Before API 23 the user was asked during installation, after API level the user is asked during runtime. The permission concept has changed since API 23. The API 23 is a new runtime permission model. In case your application targets Android 6.0, you must use the new permissions model.
There is two type of permission:
1- Normal permission is automatically granted to the application. This permission is deemed harmless for the user’s privacy or the operation of other applications.
2- Dangerous permissions can affect directly to the user’s private information, or could potentially affect his data or other application.