Laucher AndroidManifest.xml

1. permission 和 uses-permission 的区别


permission 

Declares a security permission that can be used to limit access to specific components or features of this or other applications. See the Permissions section in the introduction, and the Security and Permissions document for more information on how permissions work.

uses-permission

Requests a permission that the application must be granted in order for it to operate correctly. Permissions are granted when the application is installed, not while it's running.


permission 是定义一个permission

uses-permission是用了别人定义的permission

举例子,我写了一个程序,定义了一个permission,那么别人要调用我这个程序的话,要uses-permission

举个例子,你是A公司,我是B公司,你给门卫下一个命令,凡是带我A公司工牌的才能进来

你这个就是permission

我到你们A公司,我带着你们公司的工牌,就是uses-permission

2. Launcher太有权了

3.<category android:name="android.intent.category.HOME" />

4.<receiver/>定义安装快捷方式和卸载快捷方式的receiver

5.<provider/>存放数据,例如favorites

你可能感兴趣的:(xml,Security,Access)