Manifest Permissions

Outline

Every Android application requires a procedure called AndroidManifest.xml manifest file, the manifest file name is fixed and placed in the root directory of each Android application. It defines the application of some very important information for Android systems. Android system need this information in order to properly run the application. Android manifest file has the following main functions: 

· It Java package naming to the application, the application package name as a unique identifier. 

· It describes each program component -Activity application, Service, Broadcast Receivers and Content Provider. It describes a class name component and the ability to achieve for each application component (such as what type of assembly can Intent message processing). These descriptions help Andoid operating system components and understand these procedures can be started under what conditions these program components. 

· It determines which process to run the application components. 

· It describes the use of certain applications protected programs or API permissions and other interactive applications required. 

· It also describes the rights of other applications and interact with the application should have. 

· It lists some of the performance statistics and other information Instrumentation class for running applications when provided. These life only when testing or development applications. It should be removed when publishing applications. 

• It gives the minimum required AndroidAPI version of the application is running. 

· It lists the custom application development libraries need to call. 

A permission is separated Android operating system, where each application has its unique identification system (Linux user ID and group ID). Each part of the system is also divided into different identity. Linux under which the different applications as well as applications and systems separated.

Other security features in more detail by "rights" mechanisms, this mechanism limits the specific process can perform specific operations, and temporary authorized access to specific data segments based on the URI permission.

Permissions

No association rights under the basic Android default application, which means it can not do anything to adversely affect any data on the user experience or equipment. To use the device functions protected, must application manifest comprising one or more  <uses-permission>  tags.

For example, the need to monitor incoming SMS application to specify:

5777390-dce6f529e2aff44a.png

Permissions list

You can view the official website address  following is a list of common permissions

5777390-97385f0e68d13fb5.png
5777390-ee95157953d01dbf.png
5777390-1ee1e3c82dfcccd7.png
5777390-4c78a5d05904b86c.png
5777390-80a02620e4c90298.png
5777390-18c303e2d9058a86.png

Reproduced in: https: //www.jianshu.com/p/a0751d4900ba

Guess you like

Origin blog.csdn.net/weixin_34088583/article/details/91244164