Syntax (syntax ):
<Uses-PermissionAndroid:Name="String"/>
Included in (contained in ):
<Manifest>
Description ):
This attribute is used to grant the application Program the required permissions for the correct operation. These permissions are granted during application installation, rather than during runtime.
for more permission information, see androidmanifest. XML file description (3) describes "Permissions" ( http://blog.csdn.net/fireofstar/article/details/7543067 ) and Android security and permissions ( http://blog.csdn.net/fireofstar/article/details/7536803 ). In Android. manifest. you can find a permission list defined by the basic platform in the permission class ( http://developer.android.com/reference/android/Manifest.permission.html ).
Attributes (attributes ):
Android: Name
This attribute is used to define the permission name. It can be a permission defined by the application using the <permission> element, a permission defined by another application, or a standard permission defined by a system, for example, Android: permission. camera or Android: permission. read_contacts. As shown in the example, the permission name is usually prefixed with the package name to ensure its uniqueness.
Introduced version (introduced in ):
API Level 1