<permission-group>
English Original: http://developer.android.com/guide/topics/manifest/permission-group-element.html
Acquisition (update) Date: 2014-5-29
Moved from the original blog: http://blog.sina.com.cn/s/blog_48d491300100zmv0.html
-
-
Grammar:
-
-
<android:description= "string resource" android:icon= " drawable resource " android:label=" string resource " android:name = "string" />
-
-
Included in:
-
-
<manifest>
-
-
Description
-
-
declares a name for a set of permissions that are logically associative. Each permission
<permission> is joined by declaring the attributes of the element permissionGroup . Members of the same group are displayed together in the user interface.
Note: This element does not declare the permissions themselves, but simply classifies the permissions. For more information on declaring permissions and grouping, see <permission> elements.
-
-
Property:
-
-
-
android:description
-
A textual description of the permission group for the user to read. This text description should be longer and more detailed than the text label (label). This property must be set to a reference to a string resource. Unlike
label attributes, this property cannot be set directly to a string.
-
android:icon
-
Represents the icon for a permission group. This property must be set to a reference to the drawable resource that contains the definition of the picture file.
-
android:label
-
The name of the permission group for the user to read. For convenience, it can be set directly to a string in the application's development process. However, when you are ready to publish your application, you should set it as a reference to a string resource so that it can be localized like any other string in the user interface.
-
android:name
-
the name of the permission group. This is the name of the attribute in the element that can be assigned
<permission> <permissionGroup> .
-
-
Introduced from:
-
-
API Level 1
-
-
See:
-
-
<permission>
<permission-tree>
<uses-permission>
Android Development-api Guide-<permission-group>