Android应用程序的权限列表.docx
- 文档编号:9335340
- 上传时间:2023-02-04
- 格式:DOCX
- 页数:35
- 大小:32.50KB
Android应用程序的权限列表.docx
《Android应用程序的权限列表.docx》由会员分享,可在线阅读,更多相关《Android应用程序的权限列表.docx(35页珍藏版)》请在冰豆网上搜索。
Android应用程序的权限列表
Android应用程序的权限列表
分类:
安卓-Android|发表于2011/03/04没有评论48views
Android应用程序在使用很多功能的时候必须在Mainifest.xml中声明所需的权限,否则无法运行。
下面是一个Mainifest.xml文件的例子:
xmlversion="1.0"encoding="utf-8"?
>
android=" package="hi.braincol.local.filebrowser" android: versionCode="1" android: versionName="1.0.0"> icon="@drawable/icon"android: label="@string/app_name"> name=".FileBrowser" android: label="@string/app_name"> name="android.intent.action.MAIN"/> name="android.intent.category.LAUNCHER"/> name="android.permission.ACCESS_SURFACE_FLINGER"/> name="android.permission.VIBRATE"/> 上面xml文件中的: 就是允许应用程序使用SurfaceFlinger的底层属性。 Android中为应用程序准备了很多可选权限,下面是Android应用程序权限清单: android.permission.ACCESS_CHECKIN_PROPERTIES: Allowsread/writeaccesstothe“properties”tableinthecheckindatabase,tochangevaluesthatgetuploaded. 允许以read/write访问检入数据库(checkindatabase? )的”properties”表,并且可以更改、更新数据库。 android.permission.ACCESS_COARSE_LOCATION: Allowsanapplicationtoaccesscoarse(e.g,Cell-ID,WiFi)location. 允许一个应用程序通过访问CellID和WiFi热点等方式获取粗略的本地位置。 android.permission.ACCESS_FINE_LOCATION: Allowsanapplicationtoaccessfine(e.g,GPS)location. 允许一个应用程序通过访问GPS等方式获取较精确的本地位置。 android.permission.ACCESS_LOCATION_EXTRA_COMMANDS: Allowsanapplicationtoaccessextralocationprovidercommands. 允许一个应用程序访问(使用)额外的本地位置服务提供者。 android.permission.ACCESS_MOCK_LOCATION: Allowsanapplicationtoaccessmocklocationprovidersfortesting. 允许一个应用程序访问(创建)模拟的位置服务提供者用于测试。 android.permission.ACCESS_NETWORK_STATE: Allowsapplicationstoaccessinformationaboutnetworks. 允许应用程序访问(获取)网络信息。 android.permission.ACCESS_SURFACE_FLINGER: AllowsanapplicationtouseSurfaceFlinger’slowlevelfeatures. 允许一个应用程序使用SurfaceFlinger的底层属性。 (什么是SurfaceFlinger? ) android.permission.ACCESS_WIFI_STATE: AllowsapplicationstoaccessinformationaboutWi-Finetworks. 允许应用程序获取Wi-Fi网络的信息)。 android.permission.ACCOUNT_MANAGER: AllowsanapplicationstocallintoAccountAuthenticators. 允许一个应用程序启动账户认证。 android.permission.AUTHERTICATE_ACCOUTS: AllowsanapplicatonstoactasanAccoutAuterticatorfortheAccoutManger. 允许一个应用程序充当账户认证管理者。 android.permission.BATTERY_STATS: Allowsanapplicationtocollectbatterystatistics. 允许一个应用程序获取电池使用的统计信息(剩余电量、电池的耗电情况(各主要应用程序耗电占总耗电的百分比等)等)。 android.permission.BIND_APPWIGET: AllowsanapplicationtotelltheAppWigetservicewhichapplicationcanaccessAppWigetdata. 允许一个应用程序告知AppWiget服务: 我(当前应用程序)可以访问AppWiget数据。 android.permission.BIND_DEVICE_ADMIN: Mustberequiredbydeviceadministrationreceiver,toensurethatonlythesystemcaninteractwithit. 设备管理服务必须拥有的权限,确保只有系统可以通过设备管理服务与设备进行互动(访问设备,数据交互)。 android.permission.BIND_INPUT_METHOD: MustberequiredbyanInputMethodService,toensurethatonlythesystemcanbindtoit. 输入法服务(InputMethodService)必须拥有的权限,确保只有系统可以绑定之。 android.permission.BIND_WALLPAPER: MustberequiredbyaWallpaperService,toensurethatonlythesystemcanbindtoit. 桌面服务(WallpaperService)必须拥有的权限,确保只有系统才可以绑定之. android.permission.BLUETOOTH: Allowsapplicationstoconnecttopairedbuletoothdevices. 允许应用程序连接到已配对的蓝牙设备(远端蓝牙,非本机蓝牙)。 android.permission.BULETOOTH_ADMIN: Allowsapplicationstodiscoveranpairbluetoothdevices. 允许应用程序搜索并且配对蓝牙设备。 android.permission.BRICK: Requiredtobeabletodisablethedevice(verydangrous! ). 禁用设备必须拥有的权限(危险,慎用! )。 android.permission.BROADCAST_PACKAGE_REMOVED: Allowsanapplicationtoboradcastanotificationthatanapplicationpackagehasbeenremoved. 允许一个应用程序广播“一个(不是同一个)应用程序包已经被移除”的通告。 (指一个应用程序已被卸装的通告? ) android.permission.BROADCAST_SMS: AllowsanapplicationtobroadcastanSMSreceiptnotification. 允许一个应用程序广播一个短信回执(如: 帅哥,你有一条新的短消息! )的通告。 android.permission.BROADCAST_STICKY: Allowsanapplicationtobroadcaststickyintents. 允许一个应用程序广播常用(sticky? )intents. android.permission.WAP_PUSH: AllowsanapplicationtobroadcastaWAPPUSHreceiptnotification. 允许一个应用程序广播WAPPUSH回执通告。 说明: WAP-PUSH,WAP推送短信,是一种特殊格式的短信。 WAP-PUSH可以将某一站点或某一业务的链接通过短息发送到支持WAP的设备,WAPPUSH实现了短信和WAP业务的结合。 android.permission.CALL_PHONE: AllowsanapplicationtoinitiateaphonecallwithoutgoingthroughtheDialeruserinterfacefortheusertoconfirmthecallbeingplaced. 允许应用程序不经过用户拨号界面而直接拨号。 android.permission.CALL_PRIVILEGED: Allowsanapplicationtocallanyphonenumber,includingemergencynumbers,withoutgoingthrougththeDialeruserinterfaceforconfirmthecallbeingpalced. 允许应用程序不经过用户拨号界面而拨打任意号码(包括紧急号码)。 (紧急号码是指哪些? ) android.permission.CAMERA: Requiredtobeabletoaccessthecameradevice. 访问摄像头设备必须具备的权限。 android.permission.CHANGE_COMPONENT_ENABLED_STATE: Allowsanapplicationtochangewhetheranapplicationcomponent(otherthanitsown)isenabledornot. 允许一个应用程序改变另一个应用程序组件的启用状态(禁用或启用)。 android.permission.CHANGE_NETWORK_STATE: Allowsapplicationstochangenetworkconnecititystate. 允许应用程序更改网络连接状态。 android.permission.CHANGE_WIFIMULTICAST_STATE: AllowsapplicationstoenterWi-FiMulticastmode. 允许应用程序进入Wi-FiMulticast模式。 说明: Multicast,多重广播,网络中的一个节点发出的信息被多个节点接收。 android.permission.CHANGE_WIFI_STATE: AllowsapplicationstochangeWi-Ficonnectivitystate. 允许应用程序更改Wi-Fi连接状态。 android.permission.CLEAR_APP_CACHE: Allowsanapplicationtoclearthecachesofallinstalledapplicationonthedevice. 允许一个应用程序清理所有已安装程序的设备缓冲区(是安装的时候使用的缓冲区,还是运行时候的缓冲区? ) android.permission.CLEAR_APP_USER_DATA: Allowsanapplicationtoclearuserdata. 允许一个应用程序清理用户数据。 android.perimmision.CONTROL_LOCATION_UPDATES: Allowsenabling/disablinglocationupdatenotificationfromtheradio. 允许启用/禁用位置更新的提示信息。 (fromtheradio? 通过电波获得的位置更新信息? ) android.permission.DELETE_CACHE_FILES: Allowsanapplicationtodeletecachefiles. 允许一个应用程序删除cache文件。 android.permission.DLEETE.PACKAGES: Allowsanapplicationtodeletepackages. 允许一个应用程序删除packages(apk安装包? 还是所有类型的压缩包? ) android.permission.DEVICE_POWER: Allowslow-levelaccesstopowermanagement. 允许访问底层的电源管理。 android.permission.DIAGNOSTIC: AllowsapplicationtoRWtodiagnosticresources. 允许应用程序读写诊断资源(diagnosticresources)。 (什么事diagnosticresources? 诊断信息,log? ) android.permission.DISABLE_KEYGUARD: Allowsaplicationstodisablethekeyguard. 允许应程序禁用键盘锁。 android.permission.DUMP: Allowsanapplicationtoretrievestatedumpinformationfromsystemservices. 允许一个应用程序从系统服务中抓取(检索)状态转储信息。 (什么是statedump? 将数据从一个设备转存到另外一个设备? ) android.permission.EXPAND_STATUS_BAR: Allowsanapplicatontoexpandorcollapsethestatusbar. 允许一个应用程序扩张或收缩状态栏。 android.permission.FACTORY_TEST: Runasanmanufacturertestapplication,runningastherootuser. 允许像厂家测试程序那样以root用户权限运行应用程序。 android.permission.FLSHLIGHT: Allowsaccesstotheflashlight. 允许访问闪光信号灯。 android.permission.FORCE_BACK: AllowsanapplicationtoforceaBACKoperationonwhateveristhetopactivity. 允许一个应用程序在activity上强制执行一个回退操作,无论这个activity是否是顶层的activity。 android.permission.GET_ACCOUNTS: AllowsaccesstothelistofaccoutsintheAccountsService. 允许访问账号服务的账号列表。 android.permission.GET_PACKAGE_SIZE: Allowsanapplicationtofindoutthespaceusedbyanypackage. 允许应用程序获得任何package占用的存储空间。 android.permission.GET_TASKS: Allowsanappllicationtogetinformationaboutthecurrentlyorrecentlyrunningtasks: athumbnailrepresentationofthetasks,whatactivitiesarerunninginit,etc. 允许一个应用程序获得的当前或最近运行的任务信息: 像在任务中运行了哪些activitys等一些简短信息。 android.permission.GLBOAL_SEARCH: Thispermissioncanbeusedoncontentproviderstoallowtheglobalsearchsystemtoaccesstheirdata. 拥有该权限的contentproviders将允许全局搜索系统访问其数据。 android.permission.HARDWARE_TEST: Allowsaccesstohardwareperipherals. 允许访问外设。 android.permission.INJECT_EVENTS: Allowsanapplicationtoinjectuserevents(keys,touch,trackball)intotheeventstreamanddeliverthemtoANYwindow. 允许一个应用程序向事件流(事件队列)注入用户事件(keys,touch,tarckball),并且将其传递给窗口。 android.permission.INSTALL_LOCATION_PROVIDER: AllowsanapplicationtoinstallalocatonproviderintthelocationManager. 允许应用程序程序安装一个位置服务到位置管理器。 androd.permission.INSTALL_PCAKAGES: Allowsanapplicationtoinstallpackages. 允许一个应用程序安装packages。 (用于版本升级的? ) android.permission.INTERNAL_SYSTEM_WINDOW: Allowsanapplicationtoopenwindowsthatareforusebypartsofthesystemuserinterface. 允许一个应用程序打开系统用户界面中的窗口。 android.permission.INTERNET: Allowsapplicationtoopennetworkdsockets. 允许应用程序打开网络套接字(sockets)。 android.permission.KILL_BACKGROUND_PROCESSES: AllowsanapplicationtocallkillBackgroundProcesses(String). 允许应用程序调用killBackgroundProcesses(String)方法。 android.permission.MANAGE_ACCOUNTS: AllowsanapplicationtomanagethelistofaccoutsintheAccountManager. 允许应用程序管理AccountManager中的账户列表。 android.permission.MANAGE_APP_TOKENS: Allowsanapplicationtomanage(create,destroy,Z-order)applicationtokensinthewindowmanager. 允许一个应用程序管理(创建、销毁、Z-order)在窗口管理器中的应用程序图标。 android.permission.MASTER_CLEAR: none. 没任何描述。 android.permisson.MODIFY_AUDIO_SETTINGS: Allowsanapplicationtomodifyglobalaudiosettings. 允许一个应用程序更改全局音频设置。 android.permission.MODIFY_PHONE_STATE: Allowsmodificationofthetelephonystate–poweron,mmi,etc. 允许修改电话(手机? )状态——上电,人机界面(mmi,ManMachineInterface)等。 android.permission.MOUNT_FORMAT_FILESYSTEMS: Allowsformattingfilesysytemsforremovablestorage. 允许格式化移动存储设备。 android.permission.MOUNT_UNMOUNT_FILESYSYTEMS: Allowsmountingandunmountingthefilesysytemsforremovablestorage. 允许加载或卸载移动存储设备。 android.permission.FERSISTENT_ACTIVITY: Allowsanapplicationtomakeitsactivitiespersistent. 允许一个应程序设置其activities具有持久性(persistentactivities是什么样的activites? )。 android.permission.PROCESS_OUTGOING_CALLS: Allowsanapplicationtomonitor,
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Android 应用程序 权限 列表
![提示](https://static.bdocx.com/images/bang_tan.gif)