Android Development-api Guide-<permission-group>

Source: Internet
Author: User

<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>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.