綁定帳號登入

Android 台灣中文網

[資料] Android部分常用權限說明

[複製連結] 查看: 3194|回覆: 3|好評: 0
fam1001 | 收聽TA | 顯示全部樓層 |閱讀模式
發表於 2016-3-28 14:26

馬上加入Android 台灣中文網,立即免費下載應用遊戲。

您需要 登錄 才可以下載或查看,沒有帳號?註冊

x
開發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)

android.permission.MANAGE_APP_TOKENS
允許程式管理(建立、催後、 z- order預設向z軸推移)程式引用在視窗管理器中(Allows an application tomanage (create, destroy, Z-order) application tokens in the windowmanager. )

android.permission.MASTER_CLEAR目前還沒有明確的解釋,android開發網分析可能是清除一切資料,類似硬格機

android.permission.MODIFY_AUDIO_SETTINGS
允許程式修改全局音訊設定(Allows an application to modify global audiosettings)

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 forremovable storage. )

android.permission.PERSISTENT_ACTIVITY
允許一個程式設定他的activities顯示(Allow an application to make its activitiespersistent. )

android.permission.PROCESS_OUTGOING_CALLS
允許程式監視、修改有關播出電話(Allows an application to monitor, modify, or abortoutgoing calls)

android.permission.READ_CALENDAR
允許程式讀取用戶日曆資料(Allows an application to read the user』s calendardata.)

android.permission.READ_CONTACTS
允許程式讀取用戶聯繫人資料(Allows an application to read the user』s contactsdata.)

android.permission.READ_FRAME_BUFFER
允許程式螢幕波或和更多常規的存取幀緩衝資料(Allows an application to take screen shotsand more generally get access to the frame buffer data)

android.permission.READ_INPUT_STATE
允許程式返回目前按鍵狀態(Allows an application to retrieve the current state ofkeys and switches. )

android.permission.READ_LOGS
允許程式讀取底層系統日誌檔案(Allows an application to read the low-level systemlog 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 toreceive the ACTION_BOOT_COMPLETED that is broadcast after thesystem finishes booting. )

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

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

android.permission.RECEIVE_WAP_PUSH
允許程式監控將收到WAPPUSH訊息(Allows an application to monitor incoming WAP pushmessages. )

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

android.permission.REORDER_TASKS
允許程式改變Z軸排列工作(Allows an application to change the Z-order oftasks)

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

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

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

android.permission.SET_ALWAYS_FINISH
允許程式控制是否活動間接完成在處於背景時Allows an application to control whetheractivities 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 theorientation (actually rotation) of the screen.)

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

android.permission.SET_PROCESS_FOREGROUND
允許程式目前執行程式強行到前台(Allows an application to force any currentlyrunning 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 signalbe sent to all persistent processes)

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

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

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

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

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

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

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) theuser』s contacts data. )

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

android.permission.WRITE_OWNER_DATA
允許一個程式寫入但不讀取所有者資料(Allows an application to write (but not read) theowner』s data.)

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

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

android.permission.WRITE_SYNC_SETTINGS
允許程式寫入同步設定(Allows applications to write the sync settings)
「用Android 就來APK.TW」,快來加入粉絲吧!
Android 台灣中文網(APK.TW)

評分

參與人數 7碎鑽 +5 幫助 +7 收起 理由
alex1202 + 1 偶像,看完你的內容,讓我找到了活著的意義.
wuzebra + 1 + 1 非常讃
Riv. + 1 + 1 非常讃
rock璋 + 1 + 1 非常讃
水良 + 1 + 1 非常讃
lmywing + 1 + 1 非常讃
球-球 + 1 好內容,老衲來為這篇文章開開光.

查看全部評分

用Android 就來Android 台灣中文網(https://apk.tw)
回覆

使用道具 舉報

rock璋 | 收聽TA | 顯示全部樓層
發表於 2016-4-11 18:19
本帖最後由 rock璋 於 2016-4-11 18:25 編輯

請問system etc 下的 permissions資料夾 我不小心手殘刪掉一個檔案 可是我不知道我刪掉哪個 請問要如何解決 有那個資料夾的截圖可以看嗎? 我的是android5.1.1的 我不知道少了哪個? 新手 不知道要如何解決 情多多指導 謝謝
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

wstxthm | 收聽TA | 顯示全部樓層
發表於 2016-8-30 20:04
好好学习,过来看资料

評分

參與人數 1碎鑽 +1 收起 理由
a9113112002 + 1

查看全部評分

用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

0QAQ0 | 收聽TA | 顯示全部樓層
發表於 2016-11-13 12:49
謝謝大大的講解.雖然都看不懂就是了
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則