欢迎来到天天文库
浏览记录
ID:26668824
大小:56.00 KB
页数:8页
时间:2018-11-28
《android权限文档》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、程序执行需要读取到安全敏感项必需在androidmanifest.xml中声明相关权限请求,各种权限说明如下:android.permission.ACCESS_CHECKIN_PROPERTIES允许读写访问”properties”表在checkin数据库中,改值可以修改上传(Allowsread/writeaccesstothe“properties”tableinthecheckindatabase,tochangevaluesthatgetuploaded)android.permission.ACCESS_COARSE_LOCATION允
2、许一个程序访问CellID或WiFi热点来获取粗略的位置(Allowsanapplicationtoaccesscoarse(e.g.,Cell-ID,WiFi)location)android.permission.ACCESS_FINE_LOCATION允许一个程序访问精良位置(如GPS)(Allowsanapplicationtoaccessfine(e.g.,GPS)location)android.permission.ACCESS_LOCATION_EXTRA_COMMANDS允许应用程序访问额外的位置提供命令(Allowsanappl
3、icationtoaccessextralocationprovidercommands)android.permission.ACCESS_MOCK_LOCATION允许程序创建模拟位置提供用于测试(Allowsanapplicationtocreatemocklocationprovidersfortesting)android.permission.ACCESS_NETWORK_STATE允许程序访问有关GSM网络信息(Allowsapplicationstoaccessinformationaboutnetworks)android.per
4、mission.ACCESS_SURFACE_FLINGER允许程序使用SurfaceFlinger底层特性(AllowsanapplicationtouseSurfaceFlinger’slowlevelfeatures)android.permission.ACCESS_WIFI_STATE允许程序访问Wi-Fi网络状态信息(AllowsapplicationstoaccessinformationaboutWi-Finetworks)android.permission.ADD_SYSTEM_SERVICE允许程序发布系统级服务(Allows
5、anapplicationtopublishsystem-levelservices).android.permission.BATTERY_STATS允许程序更新手机电池统计信息(Allowsanapplicationtoupdatethecollectedbatterystatistics)android.permission.BLUETOOTH允许程序连接到已配对的蓝牙设备(Allowsapplicationstoconnecttopairedbluetoothdevices)android.permission.BLUETOOTH_ADMI
6、N允许程序发现和配对蓝牙设备(Allowsapplicationstodiscoverandpairbluetoothdevices)android.permission.BRICK请求能够禁用设备(非常危险)(Requiredtobeabletodisablethedevice(very*erous!).)android.permission.BROADCAST_PACKAGE_REMOVED允许程序广播一个提示消息在一个应用程序包已经移除后(Allowsanapplicationtobroadcastanotificationthatanapp
7、licationpackagehasbeenremoved)android.permission.BROADCAST_STICKY允许一个程序广播常用intents(Allowsanapplicationtobroadcaststickyintents)android.permission.CALL_PHONE允许一个程序初始化一个电话拨号不需通过拨号用户界面需要用户确认(AllowsanapplicationtoinitiateaphonecallwithoutgoingthroughtheDialeruserinterfacefortheuse
8、rtoconfirmthecallbeingplaced.)android.permission.CALL_PRIVILE
此文档下载收益归作者所有