本文主要是介绍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
这篇关于Laucher AndroidManifest.xml的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!