没有合适的资源?快使用搜索试试~ 我知道了~
android的权限说明
资源详情
资源评论
资源推荐
Android 的所有权限说明
2011 年 3 月 16 日 17:05
来源:Android 中文网
我有话说(0)
Android
权限分的很细,但命名比较人性化,
Android permission
比
SymbianCapabilities
有了不少改进,下面就来看看权限许可都有
哪些定义吧,发现还是比较繁多的,如果发现你的程序某个地方调试错误很可能是
Androidpermission
的访问控制在作怪,这也是为了安
全防止手机成为病毒的场所。
Android
开发网获取到的消息来看不用购买高昂的数字签名证书,权限许可权由用户决定而不是手机制造商
和平台提供商,这一点不得不说明为
Android
开发人员着想,下面的信息都是需要添加在
androidmanifest.xml
文件中。
程序执行需要读取到安全敏感项必需在
androidmanifest.xml
中声明相关权限请求
,Android
开发网已经翻译并使用中英文对照
android.permission.
ACCESS_CHECKIN_PROPERTIES 允许读写访问
"properties"
表在
checkin
数据库中,改值可以修改上传
( Allows
read/write access to the "properties" table inthe checkin database, to change values that get uploaded)
android.permission.
ACCESS_COARSE_LOCATION 允许一个程序访问
CellID
或
WiFi
热点来获取粗略的位置
(Allows an application to access
coarse (e.g., Cell-ID, WiFi)location)
android.permission.
ACCESS_FINE_LOCATION 允许一个程序访问精良位置
(
如
GPS) (Allows an application to access fine(e.g., GPS) location)
android.permission.
ACCESS_LOCATION_EXTRA_COMMANDS 允许应用程序访问额外的位置提供命令
(Allows an application to access extra
location provider commands)
android.permission.
ACCESS_MOCK_LOCATION 允许程序创建模拟位置提供用于测试
(Allows an application to create mock location providers
fortesting)
android.permission.
ACCESS_NETWORK_STATE 允许程序访问有关
GSM
网络信息
(Allows applications to accessinformation about networks)
android.permission.
ACCESS_SURFACE_FLINGER 允许程序使用
SurfaceFlinger
底层特性
(Allows an application touse SurfaceFlinger's low
level features)
android.permission.
ACCESS_WIFI_STATE 允许程序访问
Wi-Fi
网络状态信息
(Allows applications to accessinformation about Wi-Fi
networks)
android.permission.
ADD_SYSTEM_SERVICE 允许程序发布系统级服务
(Allows an application to publish system-level services).
android.permission.
BATTERY_STATS 允许程序更新手机电池统计信息
(Allows an application to update the collected battery statistics)
android.permission.
BLUETOOTH 允许程序连接到已配对的蓝牙设备
(Allows applications to connect to paired bluetooth devices)
android.permission.
BLUETOOTH_ADMIN 允许程序发现和配对蓝牙设备
(Allows applications to discover and pair bluetooth devices)
android.permission.
BRICK 请求能够禁用设备
(
非常危险
)(Required to be able to disable the device (very dangerous!).)
android.permission.
BROADCAST_PACKAGE_REMOVED 允许程序广播一个提示消息在一个应用程序包已经移除后
(Allows an application to
broadcast a notification that anapplication package has been removed)
android.permission.
BROADCAST_STICKY
.
允许一个程序广播常用
intents(Allows an application to broadcast sticky intents)
android.permission.
CALL_PHONE 允许一个程序初始化一个电话拨号不需通过拨号用户界面需要用户确认
(Allows an application to
initiate a phone call without goingthrough the Dialer user interface for the user to confirm the call beingplaced.)
android.permission.
CALL_PRIVILEGED 允许一个程序拨打任何号码,包含紧急号码无需通过拨号用户界面需要用户确认
(Allows an
application to call any phone number, including emergencynumbers, without going through the Dialer user interface for the user toconfirm the call
being placed)
android.permission.
CAMERA 请求访问使用照相设备
(Required to be able to access the camera device. )
android.permission.
CHANGE_COMPONENT_ENABLED_STATE 允许一个程序是否改变一个组件或其他的启用或禁用
(Allows an application to
change whether an application component(other than its own) is enabled or not. )
android.permission.
CHANGE_CONFIGURATION 允许一个程序修改当前设置,如本地化
(Allows an application to modify the current
configuration, such aslocale. )
七度光
- 粉丝: 1
- 资源: 51
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0