您好,登錄后才能下訂單哦!
這篇文章給大家介紹Android中怎么設置permission 訪問權限,內容非常詳細,感興趣的小伙伴們可以參考借鑒,希望對大家能有所幫助。
android.permission.ACCESS_CHECKIN_PROPERTIES
允許讀寫訪問”properties”表在 checkin數據庫中,改值可以修改上傳( Allows read/write access to the “properties” table in the checkin database, to change values that get uploaded)
android.permission.ACCESS_COARSE_LOCATION
允許一個程序訪問CellID或WiFi熱點來獲取粗略的位置(Allows an application to access coarse (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
允許應用程序訪問額外的位置提供命令(Allows an application to access extra location provider commands)
android.permission.ACCESS_MOCK_LOCATION
允許程序創建模擬位置提供用于測試(Allows an application to create mock location providers for testing)
android.permission.ACCESS_NETWORK_STATE
允許程序訪問有關網絡狀態信息(Allows applications to access information about networks)
android.permission.ACCESS_SURFACE_FLINGER
允許程序使用SurfaceFlinger底層特性 (Allows an application to use SurfaceFlinger’s low level features)
android.permission.ACCESS_WIFI_STATE
允許程序訪問Wi-Fi網絡狀態信息(Allows applications to access information about Wi-Fi networks)
android.permission.ADD_SYSTEM_SERVICE
允許程序發布系統級服務(Allows an application to publish system-level services).
android.permission.BATTERY_STATS
允許程序更新手機電池統計信息(Allows an application to update the collected battery statistics)
android.permission.BLUETOOTH
允許程序連接到已配對的藍牙設備(Allows applications to connect to paired bluetooth devices)
android.permission.BLUETOOTH_ADMIN
允許程序發現和配對藍牙設備(Allows applications to discover and pair bluetooth devices)
android.permission.BRICK
請求能夠禁用設備(非常危險)(Required to be able to disable the device (very *erous!).)
android.permission.BROADCAST_PACKAGE_REMOVED
允許程序廣播一個提示消息在一個應用程序包已經移除后(Allows an application to broadcast a notification that an application package has been removed)
android.permission.BROADCAST_STICKY
允許一個程序廣播常用intents(Allows an application to broadcast sticky intents)
android.permission.CALL_PHONE
允許一個程序初始化一個電話撥號不需通過撥號用戶界面需要用戶確認 (Allows an application to initiate a phone call without going through the Dialer user interface for the user to confirm the call being placed.)
android.permission.CALL_PRIVILEGED
允許一個程序撥打任何號碼,包含緊急號碼無需通過撥號用戶界面需要用戶確認 (Allows an application to call any phone number, including emergency numbers, without going through the Dialer user interface for the user to confirm the call being 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 an application component (other than its own) is enabled or not. )
android.permission.CHANGE_CONFIGURATION
允許一個程序修改當前設置,如本地化(Allows an application to modify the current configuration, such as locale. )
android.permission.CHANGE_NETWORK_STATE
允許程序改變網絡連接狀態(Allows applications to change network connectivity state)
android.permission.CHANGE_WIFI_STATE
允許程序改變Wi-Fi連接狀態(Allows applications to change Wi-Fi connectivity state)
android.permission.CLEAR_APP_CACHE
允許一個程序清楚緩存從所有安裝的程序在設備中(Allows an application to clear the caches of all 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 update notifications 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 dump information from system services.)
android.permission.EXPAND_STATUS_BAR
允許一個程序擴展收縮在狀態欄,android開發網提示應該是一個類似Windows Mobile中的托盤程序(Allows an application to expand or collapse the status bar. )
android.permission.FACTORY_TEST
作為一個工廠測試程序,運行在root用戶(Run as a manufacturer test application, running as the root user. )
android.permission.FLASHLIGHT
訪問閃光燈,android開發網提示HTC Dream不包含閃光燈(Allows access to the flashlight )
android.permission.FORCE_BACK
允許程序強行一個后退操作是否在頂層activities(Allows an application to force a BACK operation on whatever is the top activity. )
android.permission.FOTA_UPDATE
暫時不了解這是做什么使用的,android開發網分析可能是一個預留權限.
android.permission.GET_ACCOUNTS
訪問一個帳戶列表在Accounts Service中(Allows access to the list of accounts in the Accounts Service)
android.permission.GET_PACKAGE_SIZE
允許一個程序獲取任何package占用空間容量(Allows an application to find out the space used by any package. )
android.permission.GET_TASKS
允許一個程序獲取信息有關當前或最近運行的任務,一個縮略的任務狀態,是否活動等等(Allows an application to get information about the currently or recently running tasks: a thumbnail representation of the tasks, what activities are running in it, etc.)
android.permission.HARDWARE_TEST
允許訪問硬件(Allows access to hardware peripherals. )
android.permission.INJECT_EVENTS
允許一個程序截獲用戶事件如按鍵、觸摸、軌跡球等等到一個時間流,android 開發網提醒算是hook技術吧(Allows an application to inject user events (keys, touch, trackball) into the event 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 for use by parts of the system user interface. )
android.permission.INTERNET
允許程序打開網絡套接字(Allows applications to open network sockets)
android.permission.MANAGE_APP_TOKENS
允許程序管理(創建、催后、 z- order默認向z軸推移)程序引用在窗口管理器中(Allows an application to manage (create, destroy, Z-order) application tokens in the window manager. )
android.permission.MASTER_CLEAR目前還沒有明確的解釋,android開發網分析可能是清除一切數據,類似硬格機
android.permission.MODIFY_AUDIO_SETTINGS
允許程序修改全局音頻設置(Allows an application to modify global audio settings)
android.permission.MODIFY_PHONE_STATE
允許修改話機狀態,如電源,人機接口等(Allows modification of the telephony state ? power on, mmi, etc. )
android.permission.MOUNT_UNMOUNT_FILESYSTEMS
允許掛載和反掛載文件系統可移動存儲 (Allows mounting and unmounting file systems for removable storage. )
android.permission.PERSISTENT_ACTIVITY
允許一個程序設置他的activities顯示 (Allow an application to make its activities persistent. )
android.permission.PROCESS_OUTGOING_CALLS
允許程序監視、修改有關播出電話(Allows an application to monitor, modify, or abort outgoing calls)
android.permission.READ_CALENDAR
允許程序讀取用戶日歷數據(Allows an application to read the user’s calendar data.)
android.permission.READ_CONTACTS
允許程序讀取用戶聯系人數據(Allows an application to read the user’s contacts data.)
android.permission.READ_FRAME_BUFFER
允許程序屏幕波或和更多常規的訪問幀緩沖數據(Allows an application to take screen shots and more generally get access to the frame buffer data)
android.permission.READ_INPUT_STATE
允許程序返回當前按鍵狀態(Allows an application to retrieve the current state of keys and switches. )
android.permission.READ_LOGS
允許程序讀取底層系統日志文件(Allows an application to read the low-level system log files. )
android.permission.READ_OWNER_DATA
允許程序讀取所有者數據(Allows an application to read the owner’s data)
android.permission.READ_SMS
允許程序讀取短信息(Allows an application to read SMS messages.)
關于Android中怎么設置permission 訪問權限就分享到這里了,希望以上內容可以對大家有一定的幫助,可以學到更多知識。如果覺得文章不錯,可以把它分享出去讓更多的人看到。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。