Android Permission 訪問許可權大全(轉)

来源:http://www.cnblogs.com/shouce/archive/2016/06/06/5562684.html
-Advertisement-
Play Games

程式執行需要讀取到安全敏感項必需在androidmanifest.xml中聲明相關許可權請求, 完整列表如下:android.permission.ACCESS_CHECKIN_PROPERTIES允許讀寫訪問”properties”表在 checkin資料庫中,改值可以修改上傳( Allows re ...


程式執行需要讀取到安全敏感項必需在androidmanifest.xml中聲明相關許可權請求, 完整列表如下:

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
允許程式訪問有關GSM網路信息(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.READ_SYNC_SETTINGS
允許程式讀取同步設置(Allows applications to read the sync settings)

android.permission.READ_SYNC_STATS
允許程式讀取同步狀態(Allows applications to read the sync stats)

android.permission.REBOOT
請求能夠重新啟動設備(Required to be able to reboot the device. )

android.permission.RECEIVE_BOOT_COMPLETED
允許一個程式接收到 ACTION_BOOT_COMPLETED廣播在系統完成啟動(Allows an application to receive the ACTION_BOOT_COMPLETED that is broadcast after the system finishes booting. )

android.permission.RECEIVE_MMS
允許一個程式監控將收到MMS彩信,記錄或處理(Allows an application to monitor incoming MMS messages, to record or perform processing on them. )

android.permission.RECEIVE_SMS
允許程式監控一個將收到簡訊息,記錄或處理(Allows an application to monitor incoming SMS messages, to record or perform processing on them.)

android.permission.RECEIVE_WAP_PUSH
允許程式監控將收到WAP PUSH信息(Allows an application to monitor incoming WAP push messages. )

android.permission.RECORD_AUDIO
允許程式錄製音頻(Allows an application to record audio)

android.permission.REORDER_TASKS
允許程式改變Z軸排列任務(Allows an application to change the Z-order of tasks)

android.permission.RESTART_PACKAGES
允許程式重新啟動其他程式(Allows an application to restart other applications)

android.permission.SEND_SMS
允許程式發送SMS簡訊(Allows an application to send SMS messages)

android.permission.SET_ACTIVITY_WATCHER
允許程式監控或控制activities已經啟動全局系統中Allows an application to watch and control how activities are started globally in the system.

android.permission.SET_ALWAYS_FINISH
允許程式控制是否活動間接完成在處於後臺時Allows an application to control whether activities are immediately finished when put in the background.

android.permission.SET_ANIMATION_SCALE
修改全局信息比例(Modify the global animation scaling factor.)

android.permission.SET_DEBUG_APP
配置一個程式用於調試(Configure an application for debugging.)

android.permission.SET_ORIENTATION
允許底層訪問設置屏幕方向和實際旋轉(Allows low-level access to setting the orientation (actually rotation) of the screen.)

android.permission.SET_PREFERRED_APPLICATIONS
允許一個程式修改列表參數 PackageManager.addPackageToPreferred() 和PackageManager.removePackageFromPreferred()方法(Allows an application to modify the list of preferred applications with the PackageManager.addPackageToPreferred() and PackageManager.removePackageFromPreferred() methods.)

android.permission.SET_PROCESS_FOREGROUND
允許程式當前運行程式強行到前臺(Allows an application to force any currently running process to be in the foreground.)

android.permission.SET_PROCESS_LIMIT
允許設置最大的運行進程數量(Allows an application to set the maximum number of (not needed) application processes that can be running. )

android.permission.SET_TIME_ZONE
允許程式設置時間區域(Allows applications to set the system time zone)

android.permission.SET_WALLPAPER
允許程式設置壁紙(Allows applications to set the wallpaper )

android.permission.SET_WALLPAPER_HINTS
允許程式設置壁紙hits(Allows applications to set the wallpaper hints)

android.permission.SIGNAL_PERSISTENT_PROCESSES
允許程式請求發送信號到所有顯示的進程中 (Allow an application to request that a signal be sent to all persistent processes)

android.permission.STATUS_BAR
允許程式打開、關閉或禁用狀態欄及圖標Allows an application to open, close, or disable the status bar and its icons.

android.permission.SUBSCRIBED_FEEDS_READ
允許一個程式訪問訂閱RSS Feed內容提供(Allows an application to allow access the subscribed feeds ContentProvider. )

android.permission.SUBSCRIBED_FEEDS_WRITE
系統暫時保留改設置,android開髮網認為未來版本會加入該功能。

android.permission.SYSTEM_ALERT_WINDOW
允許一個程式打開視窗使用 TYPE_SYSTEM_ALERT,顯示在其他所有程式的頂層(Allows an application to open windows using the type TYPE_SYSTEM_ALERT, shown on top of all other applications. )

android.permission.VIBRATE
允許訪問振動設備(Allows access to the vibrator)

android.permission.WAKE_LOCK
允許使用PowerManager的 WakeLocks保持進程在休眠時從屏幕消失( Allows using PowerManager WakeLocks to keep processor from sleeping or screen from dimming)

android.permission.WRITE_APN_SETTINGS
允許程式寫入API設置(Allows applications to write the apn settings)

android.permission.WRITE_CALENDAR
允許一個程式寫入但不讀取用戶日曆數據(Allows an application to write (but not read) the user’s calendar data. )

android.permission.WRITE_CONTACTS
允許程式寫入但不讀取用戶聯繫人數據(Allows an application to write (but not read) the user’s contacts data. )

android.permission.WRITE_GSERVICES
允許程式修改Google服務地圖(Allows an application to modify the Google service map. )

android.permission.WRITE_OWNER_DATA
允許一個程式寫入但不讀取所有者數據(Allows an application to write (but not read) the owner’s data.)

android.permission.WRITE_SETTINGS
允許程式讀取或寫入系統設置(Allows an application to read or write the system settings. )

android.permission.WRITE_SMS
允許程式寫簡訊(Allows an application to write SMS messages)

android.permission.WRITE_SYNC_SETTINGS
允許程式寫入同步設置(Allows applications to write the sync settings)

android平臺上的許可權許可分得很細,如果軟體無法正常執行時看看是不是缺少相關的permission聲明,最終我們還需要使用 android sign tools簽名生成的apk文件。


您的分享是我們最大的動力!

-Advertisement-
Play Games
更多相關文章
  • 對android開發有一定瞭解的同學一定或多或少知道android的觸摸事件分發,整個事件的分發消耗流程都可以通過看源碼理解,下麵通過講解demo幫助加深事件分發的理解和在實戰中的應用。首先直接上demo截圖: ...
  • iOS獲取通知需要註意以下三個地方iOS 設備收到一條推送(APNs),用戶點擊推送通知打開應用時,應用程式根據狀態不同進行處理需在 AppDelegate 中的以下兩個方法中添加代碼以獲取apn內容 如果 App 狀態為未運行,此函數將被調用,如果launchOptions包含UIApplicat ...
  • 資料庫:SQLite(輕量級,嵌入式的資料庫) 大量的相似結構的數據的儲存,快速的查詢。特殊的文件(按照一定的格式生成) 資料庫的創建 創建文件 1.聲明文件對象,文件是不會被創建出來的。 File file = new File("文件名稱"); 2.寫文件(文件才會被創建出來) FileOutp ...
  • 準備工作 Google VR SDK for Unity Github下載: https://github.com/googlevr/gvr-unity-sdk Google VR SDK文檔: https://developers.google.com/vr/unity/#features Goo ...
  • ### 背景 最近小區旁邊工地施工,今一大早就被工地傳來的guang!guang!...吵醒了。很響很響的那種,你們肯定會問具體有多響?具體要多響?怎麼描述呢?頓時就萌生出開發一款記錄聲音響度的app,忙活了一下午於是就出了這個聲音檢測儀 ### 簡介 android端的聲音檢測程式,實時獲取當前周... ...
  • android系統架構 1.Linux內核層(LINUX KERNEL) 這是系統架構的最低層,這層為android設備的硬體提供了驅動 2.系統運行庫層(LIBRARIES) 這一層為倒數第二層,利用一些c/c++庫來為android系統提供一些主要的特性支持,比如說SQLite庫提供了對資料庫的 ...
  • 最近把四大組件,網路編程,以及一些常用的控制項都學完了,不過感覺還不是特別牢固,所以決定再花一點時間重新過一遍,你們有這樣的感覺嗎? ...
  • 前言: 受颱風影響今天學校不上課,在家閑的蛋疼沒事做,使用Mac系統一段時間了發現它和Windows系統的操作風格還是有很大不同的,遂決定將Mac系統與Xcode的一些常用操作收集整理一下,方便自己日後查找使用。 一、Mac系統(OS X 10.10以上版本)操作篇 1)F11 開啟多個程式時可快速 ...
一周排行
    -Advertisement-
    Play Games
  • 移動開發(一):使用.NET MAUI開發第一個安卓APP 對於工作多年的C#程式員來說,近來想嘗試開發一款安卓APP,考慮了很久最終選擇使用.NET MAUI這個微軟官方的框架來嘗試體驗開發安卓APP,畢竟是使用Visual Studio開發工具,使用起來也比較的順手,結合微軟官方的教程進行了安卓 ...
  • 前言 QuestPDF 是一個開源 .NET 庫,用於生成 PDF 文檔。使用了C# Fluent API方式可簡化開發、減少錯誤並提高工作效率。利用它可以輕鬆生成 PDF 報告、發票、導出文件等。 項目介紹 QuestPDF 是一個革命性的開源 .NET 庫,它徹底改變了我們生成 PDF 文檔的方 ...
  • 項目地址 項目後端地址: https://github.com/ZyPLJ/ZYTteeHole 項目前端頁面地址: ZyPLJ/TreeHoleVue (github.com) https://github.com/ZyPLJ/TreeHoleVue 目前項目測試訪問地址: http://tree ...
  • 話不多說,直接開乾 一.下載 1.官方鏈接下載: https://www.microsoft.com/zh-cn/sql-server/sql-server-downloads 2.在下載目錄中找到下麵這個小的安裝包 SQL2022-SSEI-Dev.exe,運行開始下載SQL server; 二. ...
  • 前言 隨著物聯網(IoT)技術的迅猛發展,MQTT(消息隊列遙測傳輸)協議憑藉其輕量級和高效性,已成為眾多物聯網應用的首選通信標準。 MQTTnet 作為一個高性能的 .NET 開源庫,為 .NET 平臺上的 MQTT 客戶端與伺服器開發提供了強大的支持。 本文將全面介紹 MQTTnet 的核心功能 ...
  • Serilog支持多種接收器用於日誌存儲,增強器用於添加屬性,LogContext管理動態屬性,支持多種輸出格式包括純文本、JSON及ExpressionTemplate。還提供了自定義格式化選項,適用於不同需求。 ...
  • 目錄簡介獲取 HTML 文檔解析 HTML 文檔測試參考文章 簡介 動態內容網站使用 JavaScript 腳本動態檢索和渲染數據,爬取信息時需要模擬瀏覽器行為,否則獲取到的源碼基本是空的。 本文使用的爬取步驟如下: 使用 Selenium 獲取渲染後的 HTML 文檔 使用 HtmlAgility ...
  • 1.前言 什麼是熱更新 游戲或者軟體更新時,無需重新下載客戶端進行安裝,而是在應用程式啟動的情況下,在內部進行資源或者代碼更新 Unity目前常用熱更新解決方案 HybridCLR,Xlua,ILRuntime等 Unity目前常用資源管理解決方案 AssetBundles,Addressable, ...
  • 本文章主要是在C# ASP.NET Core Web API框架實現向手機發送驗證碼簡訊功能。這裡我選擇是一個互億無線簡訊驗證碼平臺,其實像阿裡雲,騰訊雲上面也可以。 首先我們先去 互億無線 https://www.ihuyi.com/api/sms.html 去註冊一個賬號 註冊完成賬號後,它會送 ...
  • 通過以下方式可以高效,並保證數據同步的可靠性 1.API設計 使用RESTful設計,確保API端點明確,並使用適當的HTTP方法(如POST用於創建,PUT用於更新)。 設計清晰的請求和響應模型,以確保客戶端能夠理解預期格式。 2.數據驗證 在伺服器端進行嚴格的數據驗證,確保接收到的數據符合預期格 ...