萬盛學電腦網

 萬盛學電腦網 >> 網絡編程 >> 安卓開發 >> Android權限詳細說明

Android權限詳細說明

Android權限說明

開發android程序的時候常常會設計到各種權限,程序執行需要讀取到安全敏感項必需在androidmanifest.xml中聲明相關權限請求,各種權限說明如下:

android.permission.ACCESS_CHECKIN_PROPERTIES
允 許讀寫訪問”properties”表在checkin數據庫中,改值可以修改上傳( Allows read/write accessto the “properties” table in the checkin database, to change valuesthat get uploaded)

android.permission.ACCESS_COARSE_LOCATION
允許一個程序訪問CellID或WiFi熱點來獲取粗略的位置(Allows an application to accesscoarse (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
允許應用程序訪問額外的位置提供命令(Allowsan application to access extra location provider commands)

android.permission.ACCESS_MOCK_LOCATION
允許程序創建模擬位置提供用於測試(Allows an application to create mock locationproviders for testing)

android.permission.ACCESS_NETWORK_STATE
允許程序訪問有關GSM網絡信息(Allowsapplications to access information about networks)

android.permission.ACCESS_SURFACE_FLINGER
允許程序使用SurfaceFlinger底層特性(Allows an application to useSurfaceFlinger’s low level features)

android.permission.ACCESS_WIFI_STATE
允許程序訪問Wi-Fi網絡狀態信息(Allows applications to access information aboutWi-Fi networks)

android.permission.ADD_SYSTEM_SERVICE
允許程序發布系統級服務(Allows an application to publish system-levelservices).

android.permission.BATTERY_STATS
允許程序更新手機電池統計信息(Allows an application to update the collectedbattery statistics)

android.permission.BLUETOOTH
允許程序連接到已配對的藍牙設備(Allowsapplications to connect to paired bluetooth devices)

android.permission.BLUETOOTH_ADMIN
允許程序發現和配對藍牙設備(Allows applications to discover and pair bluetoothdevices)

android.permission.BRICK
請求能夠禁用設備(非常危險)(Required to be able to disable the device (very*erous!).)

android.permission.BROADCAST_PACKAGE_REMOVED
允許程序廣播一個提示消息在一個應用程序包已經移除後(Allows an application to broadcast anotification that an application package has been removed)

android.permission.BROADCAST_STICKY
允許一個程序廣播常用intents(Allows an application to broadcast stickyintents)

android.permission.CALL_PHONE
允 許一個程序初始化一個電話撥號不需通過撥號用戶界面需要用戶確認(Allows an application to initiate aphone call without going through the Dialer user interface for theuser to confirm the call being placed.)

android.permission.CALL_PRIVILEGED
允 許一個程序撥打任何號碼,包含緊急號碼無需通過撥號用戶界面需要用戶確認(Allows an application to callany phone number, including emergency numbers, without goingthrough the Dialer user interface for the user to confirm the callbeing 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 anapplication component (other than its own) is enabled or not. )

android.permission.CHANGE_CONFIGURATION
允許一個程序修改當前設置,如本地化(Allows an application to modify the currentconfiguration, such as locale. )

android.permission.CHANGE_NETWORK_STATE
允許程序改變網絡連接狀態(Allows applications to change network connectivitystate)

android.permission.CHANGE_WIFI_STATE
允許程序改變Wi-Fi連接狀態(Allows applications to change Wi-Fi connectivitystate)

android.permission.CLEAR_APP_CACHE
允許一個程序清楚緩存從所有安裝的程序在設備中(Allows an application to clear the caches ofall installed applications on the device. )

android.permission.CLEAR_APP_USER_DATA
允許一個程序清除用戶設置(Allows an application to clear user data)

android.permission.CONTROL_LOCATION_UPDATES
允許啟用禁止位置更新提示從無線模塊(Allows enabling/disabling location updatenotifications from the radio. )

android.permission.DELETE_CACHE_FILES
允許程序刪除緩存文件(Allows an application to delete cache files)

android.permission.DELETE_PACKAGES
允許一個程序刪除包(Allows an application to delete packages)

android.permission.DEVICE_POWER
允許訪問底層電源管理(Allows low-level access to power management)

android.permission.DIAGNOSTIC
允許程序RW診斷資源(Allows applications to RW to diagnostic resources. )

android.permission.DISABLE_KEYGUARD
允許程序禁用鍵盤鎖(Allows applications to disable the keyguard )

android.permission.DUMP
允許程序返回狀態抓取信息從系統服務(Allows an application to retrieve state dumpinformation from system services.)

android.permission.EXPAND_STATUS_BAR
允許一個程序擴展收縮在狀態欄,android開發網提示應該是一個類似windowsmobile中的托盤程序(Allows an application to expand or collapse thestatus bar. )

android.permission.FACTORY_TEST
作為一個工廠測試程序,運行在root用戶(Run as a manufacturer test application,running as the root user. )

android.permission.FLASHLIGHT
訪問閃光燈,android開發網提示htcDream不包含閃光燈(Allows access to the flashlight )

android.permission.FORCE_BACK
允許程序強行一個後退操作是否在頂層activities(Allows an application to force a BACKoperation on whatever is the top activity. )

android.permission.FOTA_UPDATE
暫時不了解這是做什麼使用的,android開發網分析可能是一個預留權限.

android.permission.GET_ACCOUNTS
訪問一個帳戶列表在Accounts Service中(Allows access to the list of accounts inthe Accounts Service)

android.permission.GET_PACKAGE_SIZE
允許一個程序獲取任何package占用空間容量(Allows an application to find out the spaceused by any package. )

android.permission.GET_TASKS
允 許一個程序獲取信息有關當前或最近運行的任務,一個縮略的任務狀態,是否活動等等(Allows an application toget information about the currently or recently running tasks: athumbnail representation of the tasks, what activities are runningin it, etc.)

android.permission.HARDWARE_TEST
允許訪問硬件(Allows access to hardware peripherals. )

android.permission.INJECT_EVENTS
允 許一個程序截獲用戶事件如按鍵、觸摸、軌跡球等等到一個時間流,android 開發網提醒算是hook技術吧(Allows anapplication to inject user events (keys, touch, trackball) into theevent stream and deliver them to ANY window.)

android.permission.INSTALL_PACKAGES
允許一個程序安裝packages(Allows an application to install packages. )

android.permission.INTERNAL_SYSTEM_WINDOW
允許打開窗口使用系統用戶界面(Allows an application to open windows that are foruse by parts of the system user interface. )

android.permission.INTERNET
允許程序打開網絡套接字(Allows applications to open network sockets)

andro

copyright © 萬盛學電腦網 all rights reserved