Android許可權詳細說明

來源:互聯網
上載者:User

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 )

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.