Android API Guides 之 App Manifest(16) - <permission-group>
来源:互联网 发布:科学管理案例 知乎 编辑:程序博客网 时间:2024/05/01 18:09
<permission-group>
- SYNTAX:
<permission-group android:description="string resource" android:icon="drawable resource" android:label="string resource" android:name="string" />
- CONTAINED IN:
<manifest>
- DESCRIPTION:
- Declares a name for a logical grouping of related permissions. Individual permission join the group through the
permissionGroup
attribute of the<permission>
element. Members of a group are presented together in the user interface.Note that this element does not declare a permission itself, only a category in which permissions can be placed. See the
<permission>
element for element for information on declaring permissions and assigning them to groups. - ATTRIBUTES:
android:description
- User-readable text that describes the group. The text should be longer and more explanatory than the label. This attribute must be set as a reference to a string resource. Unlike the
label
attribute, it cannot be a raw string. android:icon
- An icon representing the permission. This attribute must be set as a reference to a drawable resource containing the image definition.
android:label
- A user-readable name for the group. As a convenience, the label can be directly set as a raw string while you're developing the application. However, when the application is ready to be published, it should be set as a reference to a string resource, so that it can be localized like other strings in the user interface.
android:name
- The name of the group. This is the name that can be assigned to a
<permission>
element's<permissionGroup>
attribute.
- INTRODUCED IN:
- API Level 1
- SEE ALSO:
<permission>
<permission-tree>
<uses-permission>
0 0
- Android API Guides 之 App Manifest(16) - <permission-group>
- Android API Guides---App Manifest <permission> <permission-group> <permission-tree>
- Android API Guides 之 App Manifest(14) - <path-permission>
- Android API Guides 之 App Manifest(15) - <permission>
- Android API Guides 之 App Manifest(17) - <permission-tree>
- Android API Guides 之 App Manifest(9) - <grant-uri-permission>
- Android API Guides---App Manifest <manifest> <meta-data> <path-permission>
- Android API Guides 之 App Manifest(12) - <manifest>
- Android API Guides---App Manifest <uses-sdk> <uses-permission>
- Android API Guides 之 App Manifest(1) - Structure
- Android API Guides 之 App Manifest(2) - <action>
- Android API Guides 之 App Manifest(3) - <activity>
- Android API Guides 之 App Manifest(4) - <activity-alias>
- Android API Guides 之 App Manifest(5) - <application>
- Android API Guides 之 App Manifest(6) - <category>
- Android API Guides 之 App Manifest(7) - <compatible-screens>
- Android API Guides 之 App Manifest(8) - <data>
- Android API Guides 之 App Manifest(10) - <instrumentation>
- ZOJ 3769 —— Diablo III(背包,DP)
- tcp实现简单的文件服务器(只能传文件)
- 2012淘宝笔试及答案
- Android API Guides 之 App Manifest(15) - <permission>
- linux下MySQL安装及设置
- Android API Guides 之 App Manifest(16) - <permission-group>
- c#常用知识点
- Android API Guides 之 App Manifest(17) - <permission-tree>
- [转贴] 黑鹰VIP破解教程和天草破解教程的内容整体整理 [复制链接] zhang3314 电梯直达楼主 发表于 2011-4-14 23:02 | 只看该作者 分享到:QQ空间微信腾讯
- 用汇编的眼光看C++(之判断流程)
- <Lua程序设计(第二版)>书摘-1
- Wireshark源码编译总结
- Android API Guides 之 App Manifest(18) - <provider>
- FrameLayout布局