AndroidManifest. xml file (uses-permission)

Source: Internet
Author: User

SYNTAX (SYNTAX ):

<Uses-permissionandroid: name = "string"/>

Included IN (contained in ):

<Manifest>

DESCRIPTION ):

This attribute is used to grant the application the required permissions for correct operations. These permissions are granted during application installation, rather than during runtime.

For more permission information, see "permission" Introduction (http://www.bkjia.com/kf/201205/130710.html) and "Android security and permissions" (http://www.bkjia.com/kf/201205/130474.html) in AndroidManifest. xml file (III ). In the android. Manifest. permission class, you can find a permission list (http://developer.android.com/reference/android/Manifest.permission.html) defined by the underlying platform ).

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

 


From FireOfStar's column

Related Article

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.