Android Permission大全

内容出自Android SDK (http://developer.android.com/reference/android/Manifest.permission.html),总穿墙看,太不方便了。

应用程序如果要对系统的一些内容访问,必须有相应的权限:

必须在 AndroidMainifest.xml中加入相应的权限,如:

<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />

下面是android系统中的所有权限。

public static final String ACCESS_CHECKIN_PROPERTIES 
Since: API Level 1 Allows read/write access to the "properties" table in the checkin database, to change values that get uploaded. 

Constant Value: "android.permission.ACCESS_CHECKIN_PROPERTIES" 
public static final String ACCESS_COARSE_LOCATION 
Since: API Level 1 Allows an application to access coarse (e.g., Cell-ID, WiFi) location 

Constant Value: "android.permission.ACCESS_COARSE_LOCATION" 
public static final String ACCESS_FINE_LOCATION 
Since: API Level 1 Allows an application to access fine (e.g., GPS) location 

Constant Value: "android.permission.ACCESS_FINE_LOCATION" 
public static final String ACCESS_LOCATION_EXTRA_COMMANDS 
Since: API Level 1 Allows an application to access extra location provider commands 

Constant Value: "android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" 
public static final String ACCESS_MOCK_LOCATION 
Since: API Level 1 Allows an application to create mock location providers for testing 

Constant Value: "android.permission.ACCESS_MOCK_LOCATION" 
public static final String ACCESS_NETWORK_STATE 
Since: API Level 1 Allows applications to access information about networks 

Constant Value: "android.permission.ACCESS_NETWORK_STATE" 
public static final String ACCESS_SURFACE_FLINGER 
Since: API Level 1 Allows an application to use SurfaceFlinger's low level features 

Constant Value: "android.permission.ACCESS_SURFACE_FLINGER" 
public static final String ACCESS_WIFI_STATE 
Since: API Level 1 Allows applications to access information about Wi-Fi networks 

Constant Value: "android.permission.ACCESS_WIFI_STATE" 
public static final String ACCOUNT_MANAGER 
Since: API Level 5 Allows applications to call into AccountAuthenticators. Only the system can get this permission. 

Constant Value: "android.permission.ACCOUNT_MANAGER" 
public static final String AUTHENTICATE_ACCOUNTS 
Since: API Level 5 Allows an application to act as an AccountAuthenticator for the AccountManager 

Constant Value: "android.permission.AUTHENTICATE_ACCOUNTS" 
public static final String BATTERY_STATS 
Since: API Level 1 Allows an application to collect battery statistics 

Constant Value: "android.permission.BATTERY_STATS" 
public static final String BIND_APPWIDGET 
Since: API Level 3 Allows an application to tell the AppWidget service which application can access AppWidget's data. The normal user flow is that a user picks an AppWidget to go into a particular host, thereby giving that host application access to the private data from the AppWidget app. An application that has this permission should honor that contract. Very few applications should need to use this permission. 

Constant Value: "android.permission.BIND_APPWIDGET" 
public static final String BIND_DEVICE_ADMIN 
Since: API Level 8 Must be required by device administration receiver, to ensure that only the system can interact with it. 

Constant Value: "android.permission.BIND_DEVICE_ADMIN" 
public static final String BIND_INPUT_METHOD 
Since: API Level 3 Must be required by an InputMethodService, to ensure that only the system can bind to it. 

Constant Value: "android.permission.BIND_INPUT_METHOD" 
public static final String BIND_WALLPAPER 
Since: API Level 8 Must be required by a WallpaperService, to ensure that only the system can bind to it. 

Constant Value: "android.permission.BIND_WALLPAPER" 
public static final String BLUETOOTH 
Since: API Level 1 Allows applications to connect to paired bluetooth devices 

Constant Value: "android.permission.BLUETOOTH" 
public static final String BLUETOOTH_ADMIN 
Since: API Level 1 Allows applications to discover and pair bluetooth devices 

Constant Value: "android.permission.BLUETOOTH_ADMIN" 
public static final String BRICK 
Since: API Level 1 Required to be able to disable the device (very dangerous!). 

Constant Value: "android.permission.BRICK" 
public static final String BROADCAST_PACKAGE_REMOVED 
Since: API Level 1 Allows an application to broadcast a notification that an application package has been removed. 

Constant Value: "android.permission.BROADCAST_PACKAGE_REMOVED" 
public static final String BROADCAST_SMS 
Since: API Level 2 Allows an application to broadcast an SMS receipt notification 

Constant Value: "android.permission.BROADCAST_SMS" 
public static final String BROADCAST_STICKY 
Since: API Level 1 Allows an application to broadcast sticky intents. These are broadcasts whose data is held by the system after being finished, so that clients can quickly retrieve that data without having to wait for the next broadcast. 

Constant Value: "android.permission.BROADCAST_STICKY" 
public static final String BROADCAST_WAP_PUSH 
Since: API Level 2 Allows an application to broadcast a WAP PUSH receipt notification 

Constant Value: "android.permission.BROADCAST_WAP_PUSH" 
public static final String CALL_PHONE 
Since: API Level 1 Allows an application to initiate a phone call without going through the Dialer user interface for the user to confirm the call being placed. 

Constant Value: "android.permission.CALL_PHONE" 
public static final String CALL_PRIVILEGED 
Since: API Level 1 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. 

Constant Value: "android.permission.CALL_PRIVILEGED" 
public static final String CAMERA 
Since: API Level 1 Required to be able to access the camera device. 

This will automatically enforce the <uses-feature> manifest element for all camera features. If you do not require all camera features or can properly operate if a camera is not available, then you must modify your manifest as appropriate in order to install on devices that don't support all camera features.


Constant Value: "android.permission.CAMERA" 
public static final String CHANGE_COMPONENT_ENABLED_STATE 
Since: API Level 1 Allows an application to change whether an application component (other than its own) is enabled or not. 

Constant Value: "android.permission.CHANGE_COMPONENT_ENABLED_STATE" 
public static final String CHANGE_CONFIGURATION 
Since: API Level 1 Allows an application to modify the current configuration, such as locale. 

Constant Value: "android.permission.CHANGE_CONFIGURATION" 
public static final String CHANGE_NETWORK_STATE 
Since: API Level 1 Allows applications to change network connectivity state 

Constant Value: "android.permission.CHANGE_NETWORK_STATE" 
public static final String CHANGE_WIFI_MULTICAST_STATE 
Since: API Level 4 Allows applications to enter Wi-Fi Multicast mode 

Constant Value: "android.permission.CHANGE_WIFI_MULTICAST_STATE" 
public static final String CHANGE_WIFI_STATE 
Since: API Level 1 Allows applications to change Wi-Fi connectivity state 

Constant Value: "android.permission.CHANGE_WIFI_STATE" 
public static final String CLEAR_APP_CACHE 
Since: API Level 1 Allows an application to clear the caches of all installed applications on the device. 

Constant Value: "android.permission.CLEAR_APP_CACHE" 
public static final String CLEAR_APP_USER_DATA 
Since: API Level 1 Allows an application to clear user data 

Constant Value: "android.permission.CLEAR_APP_USER_DATA" 
public static final String CONTROL_LOCATION_UPDATES 
Since: API Level 1 Allows enabling/disabling location update notifications from the radio. Not for use by normal applications. 

Constant Value: "android.permission.CONTROL_LOCATION_UPDATES" 
public static final String DELETE_CACHE_FILES 
Since: API Level 1 Allows an application to delete cache files. 

Constant Value: "android.permission.DELETE_CACHE_FILES" 
public static final String DELETE_PACKAGES 
Since: API Level 1 Allows an application to delete packages. 

Constant Value: "android.permission.DELETE_PACKAGES" 
public static final String DEVICE_POWER 
Since: API Level 1 Allows low-level access to power management 

Constant Value: "android.permission.DEVICE_POWER" 
public static final String DIAGNOSTIC 
Since: API Level 1 Allows applications to RW to diagnostic resources. 

Constant Value: "android.permission.DIAGNOSTIC" 
public static final String DISABLE_KEYGUARD 
Since: API Level 1 Allows applications to disable the keyguard 

Constant Value: "android.permission.DISABLE_KEYGUARD" 
public static final String DUMP 
Since: API Level 1 Allows an application to retrieve state dump information from system services. 

Constant Value: "android.permission.DUMP" 
public static final String EXPAND_STATUS_BAR 
Since: API Level 1 Allows an application to expand or collapse the status bar. 

Constant Value: "android.permission.EXPAND_STATUS_BAR" 
public static final String FACTORY_TEST 
Since: API Level 1 Run as a manufacturer test application, running as the root user. Only available when the device is running in manufacturer test mode. 

Constant Value: "android.permission.FACTORY_TEST" 
public static final String FLASHLIGHT 
Since: API Level 1 Allows access to the flashlight 

Constant Value: "android.permission.FLASHLIGHT" 
public static final String FORCE_BACK 
Since: API Level 1 Allows an application to force a BACK operation on whatever is the top activity. 

Constant Value: "android.permission.FORCE_BACK" 
public static final String GET_ACCOUNTS 
Since: API Level 1 Allows access to the list of accounts in the Accounts Service 

Constant Value: "android.permission.GET_ACCOUNTS" 
public static final String GET_PACKAGE_SIZE 
Since: API Level 1 Allows an application to find out the space used by any package. 

Constant Value: "android.permission.GET_PACKAGE_SIZE" 
public static final String GET_TASKS 
Since: API Level 1 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. 

Constant Value: "android.permission.GET_TASKS" 
public static final String GLOBAL_SEARCH 
Since: API Level 4 This permission can be used on content providers to allow the global search system to access their data. Typically it used when the provider has some permissions protecting it (which global search would not be expected to hold), and added as a read-only permission to the path in the provider where global search queries are performed. This permission can not be held by regular applications; it is used by applications to protect themselves from everyone else besides global search. 

Constant Value: "android.permission.GLOBAL_SEARCH" 
public static final String HARDWARE_TEST 
Since: API Level 1 Allows access to hardware peripherals. Intended only for hardware testing 

Constant Value: "android.permission.HARDWARE_TEST" 
public static final String INJECT_EVENTS 
Since: API Level 1 Allows an application to inject user events (keys, touch, trackball) into the event stream and deliver them to ANY window. Without this permission, you can only deliver events to windows in your own process. Very few applications should need to use this permission. 

Constant Value: "android.permission.INJECT_EVENTS" 
public static final String INSTALL_LOCATION_PROVIDER 
Since: API Level 4 Allows an application to install a location provider into the Location Manager 

Constant Value: "android.permission.INSTALL_LOCATION_PROVIDER" 
public static final String INSTALL_PACKAGES 
Since: API Level 1 Allows an application to install packages. 

Constant Value: "android.permission.INSTALL_PACKAGES" 
public static final String INTERNAL_SYSTEM_WINDOW 
Since: API Level 1 Allows an application to open windows that are for use by parts of the system user interface. Not for use by third party apps. 

Constant Value: "android.permission.INTERNAL_SYSTEM_WINDOW" 
public static final String INTERNET 
Since: API Level 1 Allows applications to open network sockets. 

Constant Value: "android.permission.INTERNET" 
public static final String KILL_BACKGROUND_PROCESSES 
Since: API Level 8 Allows an application to call killBackgroundProcesses(String). 

Constant Value: "android.permission.KILL_BACKGROUND_PROCESSES" 
public static final String MANAGE_ACCOUNTS 
Since: API Level 5 Allows an application to manage the list of accounts in the AccountManager 

Constant Value: "android.permission.MANAGE_ACCOUNTS" 
public static final String MANAGE_APP_TOKENS 
Since: API Level 1 Allows an application to manage (create, destroy, Z-order) application tokens in the window manager. This is only for use by the system. 

Constant Value: "android.permission.MANAGE_APP_TOKENS" 
public static final String MASTER_CLEAR 
Since: API Level 1 
Constant Value: "android.permission.MASTER_CLEAR" 
public static final String MODIFY_AUDIO_SETTINGS 
Since: API Level 1 Allows an application to modify global audio settings 

Constant Value: "android.permission.MODIFY_AUDIO_SETTINGS" 
public static final String MODIFY_PHONE_STATE 
Since: API Level 1 Allows modification of the telephony state - power on, mmi, etc. Does not include placing calls. 

Constant Value: "android.permission.MODIFY_PHONE_STATE" 
public static final String MOUNT_FORMAT_FILESYSTEMS 
Since: API Level 3 Allows formatting file systems for removable storage. 

Constant Value: "android.permission.MOUNT_FORMAT_FILESYSTEMS" 
public static final String MOUNT_UNMOUNT_FILESYSTEMS 
Since: API Level 1 Allows mounting and unmounting file systems for removable storage. 

Constant Value: "android.permission.MOUNT_UNMOUNT_FILESYSTEMS" 
public static final String PERSISTENT_ACTIVITY 
Since: API Level 1 Allow an application to make its activities persistent. 

Constant Value: "android.permission.PERSISTENT_ACTIVITY" 
public static final String PROCESS_OUTGOING_CALLS 
Since: API Level 1 Allows an application to monitor, modify, or abort outgoing calls. 

Constant Value: "android.permission.PROCESS_OUTGOING_CALLS" 
public static final String READ_CALENDAR 
Since: API Level 1 Allows an application to read the user's calendar data. 

Constant Value: "android.permission.READ_CALENDAR" 
public static final String READ_CONTACTS 
Since: API Level 1 Allows an application to read the user's contacts data. 

Constant Value: "android.permission.READ_CONTACTS" 
public static final String READ_FRAME_BUFFER 
Since: API Level 1 Allows an application to take screen shots and more generally get access to the frame buffer data 

Constant Value: "android.permission.READ_FRAME_BUFFER" 
public static final String READ_HISTORY_BOOKMARKS 
Since: API Level 4 Allows an application to read (but not write) the user's browsing history and bookmarks. 

Constant Value: "com.android.browser.permission.READ_HISTORY_BOOKMARKS" 
public static final String READ_INPUT_STATE 
Since: API Level 1 Allows an application to retrieve the current state of keys and switches. This is only for use by the system. 

Constant Value: "android.permission.READ_INPUT_STATE" 
public static final String READ_LOGS 
Since: API Level 1 Allows an application to read the low-level system log files. These can contain slightly private information about what is happening on the device, but should never contain the user's private information. 

Constant Value: "android.permission.READ_LOGS" 
public static final String READ_OWNER_DATA 
Since: API Level 1 Allows an application to read the owner's data. 

Constant Value: "android.permission.READ_OWNER_DATA" 
public static final String READ_PHONE_STATE 
Since: API Level 1 Allows read only access to phone state. 

Constant Value: "android.permission.READ_PHONE_STATE" 
public static final String READ_SMS 
Since: API Level 1 Allows an application to read SMS messages. 

Constant Value: "android.permission.READ_SMS" 
public static final String READ_SYNC_SETTINGS 
Since: API Level 1 Allows applications to read the sync settings 

Constant Value: "android.permission.READ_SYNC_SETTINGS" 
public static final String READ_SYNC_STATS 
Since: API Level 1 Allows applications to read the sync stats 

Constant Value: "android.permission.READ_SYNC_STATS" 
public static final String REBOOT 
Since: API Level 1 Required to be able to reboot the device. 

Constant Value: "android.permission.REBOOT" 
public static final String RECEIVE_BOOT_COMPLETED 
Since: API Level 1 Allows an application to receive the ACTION_BOOT_COMPLETED that is broadcast after the system finishes booting. If you don't request this permission, you will not receive the broadcast at that time. Though holding this permission does not have any security implications, it can have a negative impact on the user experience by increasing the amount of time it takes the system to start and allowing applications to have themselves running without the user being aware of them. As such, you must explicitly declare your use of this facility to make that visible to the user. 

Constant Value: "android.permission.RECEIVE_BOOT_COMPLETED" 
public static final String RECEIVE_MMS 
Since: API Level 1 Allows an application to monitor incoming MMS messages, to record or perform processing on them. 

Constant Value: "android.permission.RECEIVE_MMS" 
public static final String RECEIVE_SMS 
Since: API Level 1 Allows an application to monitor incoming SMS messages, to record or perform processing on them. 

Constant Value: "android.permission.RECEIVE_SMS" 
public static final String RECEIVE_WAP_PUSH 
Since: API Level 1 Allows an application to monitor incoming WAP push messages. 

Constant Value: "android.permission.RECEIVE_WAP_PUSH" 
public static final String RECORD_AUDIO 
Since: API Level 1 Allows an application to record audio 

Constant Value: "android.permission.RECORD_AUDIO" 
public static final String REORDER_TASKS 
Since: API Level 1 Allows an application to change the Z-order of tasks 

Constant Value: "android.permission.REORDER_TASKS" 
public static final String RESTART_PACKAGES 
Since: API Level 1 
This constant is deprecated.
The restartPackage(String) API is no longer supported. 


Constant Value: "android.permission.RESTART_PACKAGES" 
public static final String SEND_SMS 
Since: API Level 1 Allows an application to send SMS messages. 

Constant Value: "android.permission.SEND_SMS" 
public static final String SET_ACTIVITY_WATCHER 
Since: API Level 1 Allows an application to watch and control how activities are started globally in the system. Only for is in debugging (usually the monkey command). 

Constant Value: "android.permission.SET_ACTIVITY_WATCHER" 
public static final String SET_ALWAYS_FINISH 
Since: API Level 1 Allows an application to control whether activities are immediately finished when put in the background. 

Constant Value: "android.permission.SET_ALWAYS_FINISH" 
public static final String SET_ANIMATION_SCALE 
Since: API Level 1 Modify the global animation scaling factor. 

Constant Value: "android.permission.SET_ANIMATION_SCALE" 
public static final String SET_DEBUG_APP 
Since: API Level 1 Configure an application for debugging. 

Constant Value: "android.permission.SET_DEBUG_APP" 
public static final String SET_ORIENTATION 
Since: API Level 1 Allows low-level access to setting the orientation (actually rotation) of the screen. Not for use by normal applications. 

Constant Value: "android.permission.SET_ORIENTATION" 
public static final String SET_PREFERRED_APPLICATIONS 
Since: API Level 1 
This constant is deprecated.
No longer useful, see addPackageToPreferred(String) for details. 


Constant Value: "android.permission.SET_PREFERRED_APPLICATIONS" 
public static final String SET_PROCESS_LIMIT 
Since: API Level 1 Allows an application to set the maximum number of (not needed) application processes that can be running. 

Constant Value: "android.permission.SET_PROCESS_LIMIT" 
public static final String SET_TIME 
Since: API Level 8 Allows applications to set the system time 

Constant Value: "android.permission.SET_TIME" 
public static final String SET_TIME_ZONE 
Since: API Level 1 Allows applications to set the system time zone 

Constant Value: "android.permission.SET_TIME_ZONE" 
public static final String SET_WALLPAPER 
Since: API Level 1 Allows applications to set the wallpaper 

Constant Value: "android.permission.SET_WALLPAPER" 
public static final String SET_WALLPAPER_HINTS 
Since: API Level 1 Allows applications to set the wallpaper hints 

Constant Value: "android.permission.SET_WALLPAPER_HINTS" 
public static final String SIGNAL_PERSISTENT_PROCESSES 
Since: API Level 1 Allow an application to request that a signal be sent to all persistent processes 

Constant Value: "android.permission.SIGNAL_PERSISTENT_PROCESSES" 
public static final String STATUS_BAR 
Since: API Level 1 Allows an application to open, close, or disable the status bar and its icons. 

Constant Value: "android.permission.STATUS_BAR" 
public static final String SUBSCRIBED_FEEDS_READ 
Since: API Level 1 Allows an application to allow access the subscribed feeds ContentProvider. 

Constant Value: "android.permission.SUBSCRIBED_FEEDS_READ" 
public static final String SUBSCRIBED_FEEDS_WRITE 
Since: API Level 1 
Constant Value: "android.permission.SUBSCRIBED_FEEDS_WRITE" 
public static final String SYSTEM_ALERT_WINDOW 
Since: API Level 1 Allows an application to open windows using the type TYPE_SYSTEM_ALERT, shown on top of all other applications. Very few applications should use this permission; these windows are intended for system-level interaction with the user. 

Constant Value: "android.permission.SYSTEM_ALERT_WINDOW" 
public static final String UPDATE_DEVICE_STATS 
Since: API Level 3 Allows an application to update device statistics. Not for use by third party apps. 

Constant Value: "android.permission.UPDATE_DEVICE_STATS" 
public static final String USE_CREDENTIALS 
Since: API Level 5 Allows an application to request authtokens from the AccountManager 

Constant Value: "android.permission.USE_CREDENTIALS" 
public static final String VIBRATE 
Since: API Level 1 Allows access to the vibrator 

Constant Value: "android.permission.VIBRATE" 
public static final String WAKE_LOCK 
Since: API Level 1 Allows using PowerManager WakeLocks to keep processor from sleeping or screen from dimming 

Constant Value: "android.permission.WAKE_LOCK" 
public static final String WRITE_APN_SETTINGS 
Since: API Level 1 Allows applications to write the apn settings 

Constant Value: "android.permission.WRITE_APN_SETTINGS" 
public static final String WRITE_CALENDAR 
Since: API Level 1 Allows an application to write (but not read) the user's calendar data. 

Constant Value: "android.permission.WRITE_CALENDAR" 
public static final String WRITE_CONTACTS 
Since: API Level 1 Allows an application to write (but not read) the user's contacts data. 

Constant Value: "android.permission.WRITE_CONTACTS" 
public static final String WRITE_EXTERNAL_STORAGE 
Since: API Level 4 Allows an application to write to external storage 

Constant Value: "android.permission.WRITE_EXTERNAL_STORAGE" 
public static final String WRITE_GSERVICES 
Since: API Level 1 Allows an application to modify the Google service map. 

Constant Value: "android.permission.WRITE_GSERVICES" 
public static final String WRITE_HISTORY_BOOKMARKS 
Since: API Level 4 Allows an application to write (but not read) the user's browsing history and bookmarks. 

Constant Value: "com.android.browser.permission.WRITE_HISTORY_BOOKMARKS" 
public static final String WRITE_OWNER_DATA 
Since: API Level 1 Allows an application to write (but not read) the owner's data. 

Constant Value: "android.permission.WRITE_OWNER_DATA" 
public static final String WRITE_SECURE_SETTINGS 
Since: API Level 3 Allows an application to read or write the secure system settings. 

Constant Value: "android.permission.WRITE_SECURE_SETTINGS" 
public static final String WRITE_SETTINGS 
Since: API Level 1 Allows an application to read or write the system settings. 

Constant Value: "android.permission.WRITE_SETTINGS" 
public static final String WRITE_SMS 
Since: API Level 1 Allows an application to write SMS messages. 

Constant Value: "android.permission.WRITE_SMS" 
public static final String WRITE_SYNC_SETTINGS 
Since: API Level 1 Allows applications to write the sync settings 

Constant Value: "android.permission.WRITE_SYNC_SETTINGS"
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值