Androidmanifest.xml "Uses-permission"

Source: Internet
Author: User

Introduced at API Level 1

Brief introduction:

In some cases, the permissions you set for your app will affect what rules Google Store uses to filter your app.

If you need a hardware-related permission--camera,google Store will assume that your application needs the underlying hardware capabilities to filter out apps that don't need to provide the device.

In order to control filtering, it is often necessary to define the hardware properties on the <uses-feature> node rather than relying on Google to determine the filtering rules by <uses-permission>. Therefore, if you want to disable filtering for a particular feature, you can add a android:required= "false" attribute to the <uses-feature> node.

Syntax: <uses-permission android:name="string" />

Parent node:<manifest>

Description: The defined permission takes effect only when it is properly authorized, and permissions are authorized at installation rather than at run time.

Property:

android:name
the name of the permission. <permission>节点中被定义的。权限一般被另一个app定义,或者是标准的系统权限定义(如:android.permission.CAMERA) is in
as a result, the permission names are generally prefixed with the package name applied

Androidmanifest.xml "Uses-permission"

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.