欢迎来到天天文库
浏览记录
ID:47403043
大小:49.00 KB
页数:9页
时间:2019-07-03
《Android SDK访问权限大全》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
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允许应用程序访问额外的位置提供命令(Allowsanapplicatio
3、ntoaccessextralocationprovidercommands)android.permission.ACCESS_MOCK_LOCATION允许程序创建模拟位置提供用于测试(Allowsanapplicationtocreatemocklocationprovidersfortesting)android.permission.ACCESS_NETWORK_STATE允许程序访问有关GSM网络信息(Allowsapplicationstoaccessinformationaboutnetworks)android.permission.
4、ACCESS_SURFACE_FLINGER允许程序使用SurfaceFlinger底层特性(AllowsanapplicationtouseSurfaceFlinger'slowlevelfeatures)android.permission.ACCESS_WIFI_STATE允许程序访问Wi-Fi网络状态信息(AllowsapplicationstoaccessinformationaboutWi-Finetworks)android.permission.ADD_SYSTEM_SERVICE允许程序发布系统级服务(Allowsanapplicat
5、iontopublishsystem-levelservices).android.permission.BATTERY_STATS允许程序更新手机电池统计信息(Allowsanapplicationtoupdatethecollectedbatterystatistics)android.permission.BLUETOOTH允许程序连接到已配对的蓝牙设备(Allowsapplicationstoconnecttopairedbluetoothdevices)android.permission.BLUETOOTH_ADMIN允许程序发现和配对蓝牙
6、设备(Allowsapplicationstodiscoverandpairbluetoothdevices)android.permission.BRICK请求能够禁用设备(非常危险)(Requiredtobeabletodisablethedevice(very*erous!).)android.permission.BROADCAST_PACKAGE_REMOVED允许程序广播一个提示消息在一个应用程序包已经移除后(Allowsanapplicationtobroadcastanotificationthatanapplicationpackag
7、ehasbeenremoved)android.permission.BROADCAST_STICKY允许一个程序广播常用intents(Allowsanapplicationtobroadcaststickyintents)android.permission.CALL_PHONE允许一个程序初始化一个电话拨号不需通过拨号用户界面需要用户确认(AllowsanapplicationtoinitiateaphonecallwithoutgoingthroughtheDialeruserinterfacefortheusertoconfirmthecal
8、lbeingplaced.)android.permission.CALL_PRIVILEGE
此文档下载收益归作者所有