android中文api:Manifest.permission group

来源:互联网 发布:汽车芯片编程器 编辑:程序博客网 时间:2024/05/17 20:34

Manifest.permission group:

英文原文:http://developer.android.com/reference/android/Manifest.permission_group.html版本:Android 4.0 r1译者署名:Zhao Xing译者链接:http://blog.csdn.net/hn307165411
Manifest.permission group


常量

public static final String ACCOUNTS

Permissions for direct access to the accounts managed by the Account Manager. 直接访问由账户管理者管理的账户的权限。

Constant Value: "android.permission-group.ACCOUNTS"


public static final String COST_MONEY

Used for permissions that can be used to make the user spend money without their direct involvement. For example, this is the group for permissions that allow you to directly place phone calls, directly send SMS messages, etc. 让用户以不直接的方式花钱的权限。比如,一组让你直接打电话和发短信的权限。

Constant Value: "android.permission-group.COST_MONEY"


public static final String DEVELOPMENT_TOOLS

Group of permissions that are related to development features. These are not permissions that should appear in normal applications; they protect APIs that are intended only to be used for development purposes.

一组和开发特性有关的权限。这是一些不应该出现在普通应用程序中的权限;他们用来保护仅仅是用来作为开发的API。

Constant Value: "android.permission-group.DEVELOPMENT_TOOLS"


public static final String HARDWARE_CONTROLS

Used for permissions that provide direct access to the hardware on the device. This includes audio, the camera, vibrator, etc.

直接使用设备上的硬件的权限,包括音频,相机,振动器等

Constant Value: "android.permission-group.HARDWARE_CONTROLS"


public static final String LOCATION

Used for permissions that allow access to the user's current location.

获取用户现在位置的权限。

Constant Value: "android.permission-group.LOCATION"


public static final String MESSAGES

Used for permissions that allow an application to send messages on behalf of the user or intercept messages being received by the user. This is primarily intended for SMS/MMS messaging, such as receiving or reading an MMS.

使应用程序可以代表用户发送和拦截短信的权限。主要针对SMS/MMS,如接收和阅读MMS。

Constant Value: "android.permission-group.MESSAGES"


public static final String NETWORK

Used for permissions that provide access to networking services. The main permission here is internet access, but this is also an appropriate group for accessing or modifying any network configuration or other related network operations.

使用网络服务的权限。最主要的权限是访问因特网,但是这也是可以使用和修改任意网络配置和使用其他相关网络的一组权限。

Constant Value: "android.permission-group.NETWORK"


public static final String PERSONAL_INFO

Used for permissions that provide access to the user's private data, such as contacts, calendar events, e-mail messages, etc. This includes both reading and writing of this data (which should generally be expressed as two distinct permissions).

提供访问用户隐私数据的权限,如联系人,日历,e-mail等。包括读和写的权限(一般都需要清楚的表明为两个权限)

Constant Value: "android.permission-group.PERSONAL_INFO"


public static final String PHONE_CALLS

Used for permissions that are associated with accessing and modifyign telephony state: intercepting outgoing calls, reading and modifying the phone state. Note that placing phone calls is not in this group, since that is in the more important "takin' yer moneys" group.

与使用和修改电话状态有关的权限:拦截呼出电话,读取和修改电话状态。记住,自从打电话的权限放在更重要的“花钱”的组里之后,就已经不在这个组了。

Constant Value: "android.permission-group.PHONE_CALLS"


public static final String STORAGE

Group of permissions that are related to SD card access.

使用SD卡的先关权限。

Constant Value: "android.permission-group.STORAGE"


public static final String SYSTEM_TOOLS

Group of permissions that are related to system APIs. Many of these are not permissions the user will be expected to understand, and such permissions should generally be marked as "normal" protection level so they don't get displayed. This can also, however, be used for miscellaneous features that provide access to the operating system, such as writing the global system settings.

与系统API相关的权限。他们中的大部分是用户不能理解的,这样的权限一般都被标记为普通的保护级别,所以他们一般不显示。然而,这也可以被用于访问操作系统提供的杂项功能。比如修改GPS的设置。

Constant Value: "android.permission-group.SYSTEM_TOOLS"

原创粉丝点击