public
static
final
class
Manifest.permission
extends Object
java.lang.Object | |
↳ | android.Manifest.permission |
Constants | |
---|---|
String |
ACCESS_CHECKIN_PROPERTIES
Allows read/write access to the "properties" table in the checkin database, to change values that get uploaded. |
String |
ACCESS_COARSE_LOCATION
Allows an app to access approximate location. |
String |
ACCESS_FINE_LOCATION
Allows an app to access precise location. |
String |
ACCESS_LOCATION_EXTRA_COMMANDS
Allows an application to access extra location provider commands. |
String |
ACCESS_NETWORK_STATE
Allows applications to access information about networks. |
String |
ACCESS_NOTIFICATION_POLICY
Marker permission for applications that wish to access notification policy. |
String |
ACCESS_WIFI_STATE
Allows applications to access information about Wi-Fi networks. |
String |
ACCOUNT_MANAGER
Allows applications to call into AccountAuthenticators. |
String |
ADD_VOICEMAIL
Allows an application to add voicemails into the system. |
String |
BATTERY_STATS
Allows an application to collect battery statistics |
String |
BIND_ACCESSIBILITY_SERVICE
Must be required by an |
String |
BIND_APPWIDGET
Allows an application to tell the AppWidget service which application can access AppWidget's data. |
String |
BIND_CARRIER_MESSAGING_SERVICE
This constant was deprecated
in API level 23.
Use |
String |
BIND_CARRIER_SERVICES
The system process that is allowed to bind to services in carrier apps will have this permission. |
String |
BIND_CHOOSER_TARGET_SERVICE
Must be required by a |
String |
BIND_CONDITION_PROVIDER_SERVICE
Must be required by a |
String |
BIND_DEVICE_ADMIN
Must be required by device administration receiver, to ensure that only the system can interact with it. |
String |
BIND_DREAM_SERVICE
Must be required by an |
String |
BIND_INCALL_SERVICE
Must be required by a |
String |
BIND_INPUT_METHOD
Must be required by an |
String |
BIND_MIDI_DEVICE_SERVICE
Must be required by an |
String |
BIND_NFC_SERVICE
Must be required by a |
String |
BIND_NOTIFICATION_LISTENER_SERVICE
Must be required by an |
String |
BIND_PRINT_SERVICE
Must be required by a |
String |
BIND_QUICK_SETTINGS_TILE
Allows an application to bind to third party quick settings tiles. |
String |
BIND_REMOTEVIEWS
Must be required by a |
String |
BIND_SCREENING_SERVICE
Must be required by a |
String |
BIND_TELECOM_CONNECTION_SERVICE
Must be required by a |
String |
BIND_TEXT_SERVICE
Must be required by a TextService (e.g. |
String |
BIND_TV_INPUT
Must be required by a |
String |
BIND_VOICE_INTERACTION
Must be required by a |
String |
BIND_VPN_SERVICE
Must be required by a |
String |
BIND_VR_LISTENER_SERVICE
Must be required by an |
String |
BIND_WALLPAPER
Must be required by a |
String |
BLUETOOTH
Allows applications to connect to paired bluetooth devices. |
String |
BLUETOOTH_ADMIN
Allows applications to discover and pair bluetooth devices. |
String |
BLUETOOTH_PRIVILEGED
Allows applications to pair bluetooth devices without user interaction, and to allow or disallow phonebook access or message access. |
String |
BODY_SENSORS
Allows an application to access data from sensors that the user uses to measure what is happening inside his/her body, such as heart rate. |
String |
BROADCAST_PACKAGE_REMOVED
Allows an application to broadcast a notification that an application package has been removed. |
String |
BROADCAST_SMS
Allows an application to broadcast an SMS receipt notification. |
String |
BROADCAST_STICKY
Allows an application to broadcast sticky intents. |
String |
BROADCAST_WAP_PUSH
Allows an application to broadcast a WAP PUSH receipt notification. |
String |
CALL_PHONE
Allows an application to initiate a phone call without going through the Dialer user interface for the user to confirm the call. |
String |
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. |
String |
CAMERA
Required to be able to access the camera device. |
String |
CAPTURE_AUDIO_OUTPUT
Allows an application to capture audio output. |
String |
CAPTURE_SECURE_VIDEO_OUTPUT
Allows an application to capture secure video output. |
String |
CAPTURE_VIDEO_OUTPUT
Allows an application to capture video output. |
String |
CHANGE_COMPONENT_ENABLED_STATE
Allows an application to change whether an application component (other than its own) is enabled or not. |
String |
CHANGE_CONFIGURATION
Allows an application to modify the current configuration, such as locale. |
String |
CHANGE_NETWORK_STATE
Allows applications to change network connectivity state. |
String |
CHANGE_WIFI_MULTICAST_STATE
Allows applications to enter Wi-Fi Multicast mode. |
String |
CHANGE_WIFI_STATE
Allows applications to change Wi-Fi connectivity state. |
String |
CLEAR_APP_CACHE
Allows an application to clear the caches of all installed applications on the device. |
String |
CONTROL_LOCATION_UPDATES
Allows enabling/disabling location update notifications from the radio. |
String |
DELETE_CACHE_FILES
Allows an application to delete cache files. |
String |
DELETE_PACKAGES
Allows an application to delete packages. |
String |
DIAGNOSTIC
Allows applications to RW to diagnostic resources. |
String |
DISABLE_KEYGUARD
Allows applications to disable the keyguard if it is not secure. |
String |
DUMP
Allows an application to retrieve state dump information from system services. |
String |
EXPAND_STATUS_BAR
Allows an application to expand or collapse the status bar. |
String |
FACTORY_TEST
Run as a manufacturer test application, running as the root user. |
String |
GET_ACCOUNTS
Allows access to the list of accounts in the Accounts Service. |
String |
GET_ACCOUNTS_PRIVILEGED
Allows access to the list of accounts in the Accounts Service. |
String |
GET_PACKAGE_SIZE
Allows an application to find out the space used by any package. |
String |
GET_TASKS
This constant was deprecated in API level 21. No longer enforced. |
String |
GLOBAL_SEARCH
This permission can be used on content providers to allow the global search system to access their data. |
String |
INSTALL_LOCATION_PROVIDER
Allows an application to install a location provider into the Location Manager. |
String |
INSTALL_PACKAGES
Allows an application to install packages. |
String |
INSTALL_SHORTCUT
Allows an application to install a shortcut in Launcher. |
String |
INTERNET
Allows applications to open network sockets. |
String |
KILL_BACKGROUND_PROCESSES
Allows an application to call
|
String |
LOCATION_HARDWARE
Allows an application to use location features in hardware, such as the geofencing api. |
String |
MANAGE_DOCUMENTS
Allows an application to manage access to documents, usually as part of a document picker. |
String |
MASTER_CLEAR
Not for use by third-party applications. |
String |
MEDIA_CONTENT_CONTROL
Allows an application to know what content is playing and control its playback. |
String |
MODIFY_AUDIO_SETTINGS
Allows an application to modify global audio settings. |
String |
MODIFY_PHONE_STATE
Allows modification of the telephony state - power on, mmi, etc. |
String |
MOUNT_FORMAT_FILESYSTEMS
Allows formatting file systems for removable storage. |
String |
MOUNT_UNMOUNT_FILESYSTEMS
Allows mounting and unmounting file systems for removable storage. |
String |
NFC
Allows applications to perform I/O operations over NFC. |
String |
PACKAGE_USAGE_STATS
Allows an application to collect component usage statistics Declaring the permission implies intention to use the API and the user of the device can grant permission through the Settings application. |
String |
PERSISTENT_ACTIVITY
This constant was deprecated in API level 9. This functionality will be removed in the future; please do not use. Allow an application to make its activities persistent. |
String |
PROCESS_OUTGOING_CALLS
Allows an application to see the number being dialed during an outgoing call with the option to redirect the call to a different number or abort the call altogether. |
String |
READ_CALENDAR
Allows an application to read the user's calendar data. |
String |
READ_CALL_LOG
Allows an application to read the user's call log. |
String |
READ_CONTACTS
Allows an application to read the user's contacts data. |
String |
READ_EXTERNAL_STORAGE
Allows an application to read from external storage. |
String |
READ_FRAME_BUFFER
Allows an application to take screen shots and more generally get access to the frame buffer data. |
String |
READ_INPUT_STATE
This constant was deprecated in API level 16. The API that used this permission has been removed. |
String |
READ_LOGS
Allows an application to read the low-level system log files. |
String |
READ_PHONE_STATE
Allows read only access to phone state, including the phone number of the device,
current cellular network information, the status of any ongoing calls, and a list of any
|
String |
READ_SMS
Allows an application to read SMS messages. |
String |
READ_SYNC_SETTINGS
Allows applications to read the sync settings. |
String |
READ_SYNC_STATS
Allows applications to read the sync stats. |
String |
READ_VOICEMAIL
Allows an application to read voicemails in the system. |
String |
REBOOT
Required to be able to reboot the device. |
String |
RECEIVE_BOOT_COMPLETED
Allows an application to receive the
|
String |
RECEIVE_MMS
Allows an application to monitor incoming MMS messages. |
String |
RECEIVE_SMS
Allows an application to receive SMS messages. |
String |
RECEIVE_WAP_PUSH
Allows an application to receive WAP push messages. |
String |
RECORD_AUDIO
Allows an application to record audio. |
String |
REORDER_TASKS
Allows an application to change the Z-order of tasks. |
String |
REQUEST_IGNORE_BATTERY_OPTIMIZATIONS
Permission an application must hold in order to use
|
String |
REQUEST_INSTALL_PACKAGES
Allows an application to request installing packages. |
String |
RESTART_PACKAGES
This constant was deprecated
in API level 8.
The |
String |
SEND_RESPOND_VIA_MESSAGE
Allows an application (Phone) to send a request to other applications to handle the respond-via-message action during incoming calls. |
String |
SEND_SMS
Allows an application to send SMS messages. |
String |
SET_ALARM
Allows an application to broadcast an Intent to set an alarm for the user. |
String |
SET_ALWAYS_FINISH
Allows an application to control whether activities are immediately finished when put in the background. |
String |
SET_ANIMATION_SCALE
Modify the global animation scaling factor. |
String |
SET_DEBUG_APP
Configure an application for debugging. |
String |
SET_PREFERRED_APPLICATIONS
This constant was deprecated
in API level 7.
No longer useful, see
|
String |
SET_PROCESS_LIMIT
Allows an application to set the maximum number of (not needed) application processes that can be running. |
String |
SET_TIME
Allows applications to set the system time. |
String |
SET_TIME_ZONE
Allows applications to set the system time zone. |
String |
SET_WALLPAPER
Allows applications to set the wallpaper. |
String |
SET_WALLPAPER_HINTS
Allows applications to set the wallpaper hints. |
String |
SIGNAL_PERSISTENT_PROCESSES
Allow an application to request that a signal be sent to all persistent processes. |
String |
STATUS_BAR
Allows an application to open, close, or disable the status bar and its icons. |
String |
SYSTEM_ALERT_WINDOW
Allows an app to create windows using the type
|
String |
TRANSMIT_IR
Allows using the device's IR transmitter, if available. |
String |
UNINSTALL_SHORTCUT
Allows an application to uninstall a shortcut in Launcher. |
String |
UPDATE_DEVICE_STATS
Allows an application to update device statistics. |
String |
USE_FINGERPRINT
Allows an app to use fingerprint hardware. |
String |
USE_SIP
Allows an application to use SIP service. |
String |
VIBRATE
Allows access to the vibrator. |
String |
WAKE_LOCK
Allows using PowerManager WakeLocks to keep processor from sleeping or screen from dimming. |
String |
WRITE_APN_SETTINGS
Allows applications to write the apn settings. |
String |
WRITE_CALENDAR
Allows an application to write the user's calendar data. |
String |
WRITE_CALL_LOG
Allows an application to write (but not read) the user's call log data. |
String |
WRITE_CONTACTS
Allows an application to write the user's contacts data. |
String |
WRITE_EXTERNAL_STORAGE
Allows an application to write to external storage. |
String |
WRITE_GSERVICES
Allows an application to modify the Google service map. |
String |
WRITE_SECURE_SETTINGS
Allows an application to read or write the secure system settings. |
String |
WRITE_SETTINGS
Allows an application to read or write the system settings. |
String |
WRITE_SYNC_SETTINGS
Allows applications to write the sync settings. |
String |
WRITE_VOICEMAIL
Allows an application to modify and remove existing voicemails in the system. |
Public constructors | |
---|---|
Manifest.permission()
|
Inherited methods | |
---|---|
From
class
java.lang.Object
|
String ACCESS_CHECKIN_PROPERTIES
Allows read/write access to the "properties" table in the checkin database, to change values that get uploaded.
Not for use by third-party applications.
Constant Value: "android.permission.ACCESS_CHECKIN_PROPERTIES"
String ACCESS_COARSE_LOCATION
Allows an app to access approximate location.
Protection level: dangerous
Constant Value: "android.permission.ACCESS_COARSE_LOCATION"
String ACCESS_FINE_LOCATION
Allows an app to access precise location.
Protection level: dangerous
Constant Value: "android.permission.ACCESS_FINE_LOCATION"
String ACCESS_LOCATION_EXTRA_COMMANDS
Allows an application to access extra location provider commands.
Protection level: normal
Constant Value: "android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
String ACCESS_NETWORK_STATE
Allows applications to access information about networks.
Protection level: normal
Constant Value: "android.permission.ACCESS_NETWORK_STATE"
String ACCESS_NOTIFICATION_POLICY
Marker permission for applications that wish to access notification policy.
Protection level: normal
Constant Value: "android.permission.ACCESS_NOTIFICATION_POLICY"
String ACCESS_WIFI_STATE
Allows applications to access information about Wi-Fi networks.
Protection level: normal
Constant Value: "android.permission.ACCESS_WIFI_STATE"
String ACCOUNT_MANAGER
Allows applications to call into AccountAuthenticators.
Not for use by third-party applications.
Constant Value: "android.permission.ACCOUNT_MANAGER"
String ADD_VOICEMAIL
Allows an application to add voicemails into the system.
Protection level: dangerous
Constant Value: "com.android.voicemail.permission.ADD_VOICEMAIL"
String BATTERY_STATS
Allows an application to collect battery statistics
Constant Value: "android.permission.BATTERY_STATS"
String BIND_ACCESSIBILITY_SERVICE
Must be required by an AccessibilityService
,
to ensure that only the system can bind to it.
Protection level: signature
Constant Value: "android.permission.BIND_ACCESSIBILITY_SERVICE"
String BIND_APPWIDGET
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.
Not for use by third-party applications.
Constant Value: "android.permission.BIND_APPWIDGET"
String BIND_CARRIER_MESSAGING_SERVICE
This constant was deprecated
in API level 23.
Use BIND_CARRIER_SERVICES
instead
Constant Value: "android.permission.BIND_CARRIER_MESSAGING_SERVICE"
String BIND_CARRIER_SERVICES
The system process that is allowed to bind to services in carrier apps will have this permission. Carrier apps should use this permission to protect their services that only the system is allowed to bind to.
Protection level: system|signature
Constant Value: "android.permission.BIND_CARRIER_SERVICES"
String BIND_CHOOSER_TARGET_SERVICE
Must be required by a ChooserTargetService
, to ensure that
only the system can bind to it.
Protection level: signature
Constant Value: "android.permission.BIND_CHOOSER_TARGET_SERVICE"
String BIND_CONDITION_PROVIDER_SERVICE
Must be required by a ConditionProviderService
,
to ensure that only the system can bind to it.
Protection level: signature
Constant Value: "android.permission.BIND_CONDITION_PROVIDER_SERVICE"
String BIND_DEVICE_ADMIN
Must be required by device administration receiver, to ensure that only the system can interact with it.
Protection level: signature
Constant Value: "android.permission.BIND_DEVICE_ADMIN"
String BIND_DREAM_SERVICE
Must be required by an DreamService
,
to ensure that only the system can bind to it.
Protection level: signature
Constant Value: "android.permission.BIND_DREAM_SERVICE"
String BIND_INCALL_SERVICE
Must be required by a InCallService
,
to ensure that only the system can bind to it.
Protection level: signature|privileged
Constant Value: "android.permission.BIND_INCALL_SERVICE"
String BIND_INPUT_METHOD
Must be required by an InputMethodService
,
to ensure that only the system can bind to it.
Protection level: signature
Constant Value: "android.permission.BIND_INPUT_METHOD"
String BIND_MIDI_DEVICE_SERVICE
Must be required by an MidiDeviceService
,
to ensure that only the system can bind to it.
Protection level: signature
Constant Value: "android.permission.BIND_MIDI_DEVICE_SERVICE"
String BIND_NFC_SERVICE
Must be required by a HostApduService
or OffHostApduService
to ensure that only
the system can bind to it.
Protection level: signature
Constant Value: "android.permission.BIND_NFC_SERVICE"
String BIND_NOTIFICATION_LISTENER_SERVICE
Must be required by an NotificationListenerService
,
to ensure that only the system can bind to it.
Protection level: signature
Constant Value: "android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"
String BIND_PRINT_SERVICE
Must be required by a PrintService
,
to ensure that only the system can bind to it.
Protection level: signature
Constant Value: "android.permission.BIND_PRINT_SERVICE"
String BIND_QUICK_SETTINGS_TILE
Allows an application to bind to third party quick settings tiles.
Should only be requested by the System, should be required by TileService declarations.
Constant Value: "android.permission.BIND_QUICK_SETTINGS_TILE"
String BIND_REMOTEVIEWS
Must be required by a RemoteViewsService
,
to ensure that only the system can bind to it.
Constant Value: "android.permission.BIND_REMOTEVIEWS"
String BIND_SCREENING_SERVICE
Must be required by a CallScreeningService
,
to ensure that only the system can bind to it.
Protection level: signature|privileged
Constant Value: "android.permission.BIND_SCREENING_SERVICE"
String BIND_TELECOM_CONNECTION_SERVICE
Must be required by a ConnectionService
,
to ensure that only the system can bind to it.
Protection level: signature|privileged
Constant Value: "android.permission.BIND_TELECOM_CONNECTION_SERVICE"
String BIND_TEXT_SERVICE
Must be required by a TextService (e.g. SpellCheckerService) to ensure that only the system can bind to it.
Protection level: signature
Constant Value: "android.permission.BIND_TEXT_SERVICE"
String BIND_TV_INPUT
Must be required by a TvInputService
to ensure that only the system can bind to it.
Protection level: signature
Constant Value: "android.permission.BIND_TV_INPUT"
String BIND_VOICE_INTERACTION
Must be required by a VoiceInteractionService
,
to ensure that only the system can bind to it.
Protection level: signature
Constant Value: "android.permission.BIND_VOICE_INTERACTION"
String BIND_VPN_SERVICE
Must be required by a VpnService
,
to ensure that only the system can bind to it.
Protection level: signature
Constant Value: "android.permission.BIND_VPN_SERVICE"
String BIND_VR_LISTENER_SERVICE
Must be required by an VrListenerService
, to ensure that only
the system can bind to it.
Protection level: signature
Constant Value: "android.permission.BIND_VR_LISTENER_SERVICE"
String BIND_WALLPAPER
Must be required by a WallpaperService
,
to ensure that only the system can bind to it.
Protection level: system|signature
Constant Value: "android.permission.BIND_WALLPAPER"
String BLUETOOTH
Allows applications to connect to paired bluetooth devices.
Protection level: normal
Constant Value: "android.permission.BLUETOOTH"
String BLUETOOTH_ADMIN
Allows applications to discover and pair bluetooth devices.
Protection level: normal
Constant Value: "android.permission.BLUETOOTH_ADMIN"
String BLUETOOTH_PRIVILEGED
Allows applications to pair bluetooth devices without user interaction, and to allow or disallow phonebook access or message access. This is not available to third party applications.
Constant Value: "android.permission.BLUETOOTH_PRIVILEGED"
String BODY_SENSORS
Allows an application to access data from sensors that the user uses to measure what is happening inside his/her body, such as heart rate.
Protection level: dangerous
Constant Value: "android.permission.BODY_SENSORS"
String BROADCAST_PACKAGE_REMOVED
Allows an application to broadcast a notification that an application package has been removed.
Not for use by third-party applications.
Constant Value: "android.permission.BROADCAST_PACKAGE_REMOVED"
String BROADCAST_SMS
Allows an application to broadcast an SMS receipt notification.
Not for use by third-party applications.
Constant Value: "android.permission.BROADCAST_SMS"
String BROADCAST_STICKY
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.
Protection level: normal
Constant Value: "android.permission.BROADCAST_STICKY"
String BROADCAST_WAP_PUSH
Allows an application to broadcast a WAP PUSH receipt notification.
Not for use by third-party applications.
Constant Value: "android.permission.BROADCAST_WAP_PUSH"
String CALL_PHONE
Allows an application to initiate a phone call without going through the Dialer user interface for the user to confirm the call.
Protection level: dangerous
Constant Value: "android.permission.CALL_PHONE"
String 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.
Not for use by third-party applications.
Constant Value: "android.permission.CALL_PRIVILEGED"
String CAMERA
Required to be able to access the camera device.
This will automatically enforce the
Protection level: dangerous
Constant Value: "android.permission.CAMERA"
String CAPTURE_AUDIO_OUTPUT
Allows an application to capture audio output.
Not for use by third-party applications.
Constant Value: "android.permission.CAPTURE_AUDIO_OUTPUT"
String CAPTURE_SECURE_VIDEO_OUTPUT
Allows an application to capture secure video output.
Not for use by third-party applications.
Constant Value: "android.permission.CAPTURE_SECURE_VIDEO_OUTPUT"
String CAPTURE_VIDEO_OUTPUT
Allows an application to capture video output.
Not for use by third-party applications.
Constant Value: "android.permission.CAPTURE_VIDEO_OUTPUT"
String CHANGE_COMPONENT_ENABLED_STATE
Allows an application to change whether an application component (other than its own) is enabled or not.
Not for use by third-party applications.
Constant Value: "android.permission.CHANGE_COMPONENT_ENABLED_STATE"
String CHANGE_CONFIGURATION
Allows an application to modify the current configuration, such as locale.
Constant Value: "android.permission.CHANGE_CONFIGURATION"
String CHANGE_NETWORK_STATE
Allows applications to change network connectivity state.
Protection level: normal
Constant Value: "android.permission.CHANGE_NETWORK_STATE"
String CHANGE_WIFI_MULTICAST_STATE
Allows applications to enter Wi-Fi Multicast mode.
Protection level: normal
Constant Value: "android.permission.CHANGE_WIFI_MULTICAST_STATE"
String CHANGE_WIFI_STATE
Allows applications to change Wi-Fi connectivity state.
Protection level: normal
Constant Value: "android.permission.CHANGE_WIFI_STATE"
String CLEAR_APP_CACHE
Allows an application to clear the caches of all installed applications on the device.
Protection level: system|signature
Constant Value: "android.permission.CLEAR_APP_CACHE"
String CONTROL_LOCATION_UPDATES
Allows enabling/disabling location update notifications from the radio.
Not for use by third-party applications.
Constant Value: "android.permission.CONTROL_LOCATION_UPDATES"
String DELETE_CACHE_FILES
Allows an application to delete cache files.
Not for use by third-party applications.
Constant Value: "android.permission.DELETE_CACHE_FILES"
String DELETE_PACKAGES
Allows an application to delete packages.
Not for use by third-party applications.
Starting in N
, user confirmation is requested
when the application deleting the package is not the same application that installed the
package.
Constant Value: "android.permission.DELETE_PACKAGES"
String DIAGNOSTIC
Allows applications to RW to diagnostic resources.
Not for use by third-party applications.
Constant Value: "android.permission.DIAGNOSTIC"
String DISABLE_KEYGUARD
Allows applications to disable the keyguard if it is not secure.
Protection level: normal
Constant Value: "android.permission.DISABLE_KEYGUARD"
String DUMP
Allows an application to retrieve state dump information from system services.
Not for use by third-party applications.
Constant Value: "android.permission.DUMP"
String EXPAND_STATUS_BAR
Allows an application to expand or collapse the status bar.
Protection level: normal
Constant Value: "android.permission.EXPAND_STATUS_BAR"
String FACTORY_TEST
Run as a manufacturer test application, running as the root user. Only available when the device is running in manufacturer test mode.
Not for use by third-party applications.
Constant Value: "android.permission.FACTORY_TEST"
String GET_ACCOUNTS
Allows access to the list of accounts in the Accounts Service.
Note: Beginning with Android 6.0 (API level
23), if an app shares the signature of the authenticator that manages an
account, it does not need "GET_ACCOUNTS"
permission to read
information about that account. On Android 5.1 and lower, all apps need
"GET_ACCOUNTS"
permission to read information about any
account.
Protection level: dangerous
Constant Value: "android.permission.GET_ACCOUNTS"
String GET_ACCOUNTS_PRIVILEGED
Allows access to the list of accounts in the Accounts Service.
Constant Value: "android.permission.GET_ACCOUNTS_PRIVILEGED"
String GET_PACKAGE_SIZE
Allows an application to find out the space used by any package.
Protection level: normal
Constant Value: "android.permission.GET_PACKAGE_SIZE"
String GET_TASKS
This constant was deprecated
in API level 21.
No longer enforced.
Constant Value: "android.permission.GET_TASKS"
String GLOBAL_SEARCH
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"
String INSTALL_LOCATION_PROVIDER
Allows an application to install a location provider into the Location Manager.
Not for use by third-party applications.
Constant Value: "android.permission.INSTALL_LOCATION_PROVIDER"
String INSTALL_PACKAGES
Allows an application to install packages.
Not for use by third-party applications.
Constant Value: "android.permission.INSTALL_PACKAGES"
String INSTALL_SHORTCUT
Allows an application to install a shortcut in Launcher.
Protection level: normal
Constant Value: "com.android.launcher.permission.INSTALL_SHORTCUT"
String INTERNET
Allows applications to open network sockets.
Protection level: normal
Constant Value: "android.permission.INTERNET"
String KILL_BACKGROUND_PROCESSES
Allows an application to call
killBackgroundProcesses(String)
.
Protection level: normal
Constant Value: "android.permission.KILL_BACKGROUND_PROCESSES"
String LOCATION_HARDWARE
Allows an application to use location features in hardware, such as the geofencing api.
Not for use by third-party applications.
Constant Value: "android.permission.LOCATION_HARDWARE"
String MANAGE_DOCUMENTS
Allows an application to manage access to documents, usually as part of a document picker.
This permission should only be requested by the platform document management app. This permission cannot be granted to third-party apps.
Protection level: signature
Constant Value: "android.permission.MANAGE_DOCUMENTS"
String MASTER_CLEAR
Not for use by third-party applications.
Constant Value: "android.permission.MASTER_CLEAR"
String MEDIA_CONTENT_CONTROL
Allows an application to know what content is playing and control its playback.
Not for use by third-party applications due to privacy of media consumption
Constant Value: "android.permission.MEDIA_CONTENT_CONTROL"
String MODIFY_AUDIO_SETTINGS
Allows an application to modify global audio settings.
Protection level: normal
Constant Value: "android.permission.MODIFY_AUDIO_SETTINGS"
String MODIFY_PHONE_STATE
Allows modification of the telephony state - power on, mmi, etc. Does not include placing calls.
Not for use by third-party applications.
Constant Value: "android.permission.MODIFY_PHONE_STATE"
String MOUNT_FORMAT_FILESYSTEMS
Allows formatting file systems for removable storage.
Not for use by third-party applications.
Constant Value: "android.permission.MOUNT_FORMAT_FILESYSTEMS"
String MOUNT_UNMOUNT_FILESYSTEMS
Allows mounting and unmounting file systems for removable storage.
Not for use by third-party applications.
Constant Value: "android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
String NFC
Allows applications to perform I/O operations over NFC.
Protection level: normal
Constant Value: "android.permission.NFC"
String PACKAGE_USAGE_STATS
Allows an application to collect component usage statistics
Declaring the permission implies intention to use the API and the user of the device can grant permission through the Settings application.
Constant Value: "android.permission.PACKAGE_USAGE_STATS"
String PERSISTENT_ACTIVITY
This constant was deprecated
in API level 9.
This functionality will be removed in the future; please do
not use. Allow an application to make its activities persistent.
Constant Value: "android.permission.PERSISTENT_ACTIVITY"
String PROCESS_OUTGOING_CALLS
Allows an application to see the number being dialed during an outgoing call with the option to redirect the call to a different number or abort the call altogether.
Protection level: dangerous
Constant Value: "android.permission.PROCESS_OUTGOING_CALLS"
String READ_CALENDAR
Allows an application to read the user's calendar data.
Protection level: dangerous
Constant Value: "android.permission.READ_CALENDAR"
String READ_CALL_LOG
Allows an application to read the user's call log.
Note: If your app uses the
READ_CONTACTS
permission and both your minSdkVersion
and targetSdkVersion
values are set to 15 or lower, the system implicitly
grants your app this permission. If you don't need this permission, be sure your targetSdkVersion
is 16 or higher.
Protection level: dangerous
Constant Value: "android.permission.READ_CALL_LOG"
String READ_CONTACTS
Allows an application to read the user's contacts data.
Protection level: dangerous
Constant Value: "android.permission.READ_CONTACTS"
String READ_EXTERNAL_STORAGE
Allows an application to read from external storage.
Any app that declares the WRITE_EXTERNAL_STORAGE
permission is implicitly
granted this permission.
This permission is enforced starting in API level 19. Before API level 19, this permission is not enforced and all apps still have access to read from external storage. You can test your app with the permission enforced by enabling Protect USB storage under Developer options in the Settings app on a device running Android 4.1 or higher.
Also starting in API level 19, this permission is not required to
read/write files in your application-specific directories returned by
getExternalFilesDir(String)
and
getExternalCacheDir()
.
Note: If both your minSdkVersion
and targetSdkVersion
values are set to 3 or lower, the system implicitly
grants your app this permission. If you don't need this permission, be sure your targetSdkVersion
is 4 or higher.
Protection level: dangerous
Constant Value: "android.permission.READ_EXTERNAL_STORAGE"
String READ_FRAME_BUFFER
Allows an application to take screen shots and more generally get access to the frame buffer data.
Not for use by third-party applications.
Constant Value: "android.permission.READ_FRAME_BUFFER"
String READ_INPUT_STATE
This constant was deprecated
in API level 16.
The API that used this permission has been removed.
Allows an application to retrieve the current state of keys and switches.
Not for use by third-party applications.
Constant Value: "android.permission.READ_INPUT_STATE"
String READ_LOGS
Allows an application to read the low-level system log files.
Not for use by third-party applications, because Log entries can contain the user's private information.
Constant Value: "android.permission.READ_LOGS"
String READ_PHONE_STATE
Allows read only access to phone state, including the phone number of the device,
current cellular network information, the status of any ongoing calls, and a list of any
PhoneAccount
s registered on the device.
Note: If both your minSdkVersion
and targetSdkVersion
values are set to 3 or lower, the system implicitly
grants your app this permission. If you don't need this permission, be sure your targetSdkVersion
is 4 or higher.
Protection level: dangerous
Constant Value: "android.permission.READ_PHONE_STATE"
String READ_SMS
Allows an application to read SMS messages.
Protection level: dangerous
Constant Value: "android.permission.READ_SMS"
String READ_SYNC_SETTINGS
Allows applications to read the sync settings.
Protection level: normal
Constant Value: "android.permission.READ_SYNC_SETTINGS"
String READ_SYNC_STATS
Allows applications to read the sync stats.
Protection level: normal
Constant Value: "android.permission.READ_SYNC_STATS"
String READ_VOICEMAIL
Allows an application to read voicemails in the system.
Protection level: signature|privileged
Constant Value: "com.android.voicemail.permission.READ_VOICEMAIL"
String REBOOT
Required to be able to reboot the device.
Not for use by third-party applications.
Constant Value: "android.permission.REBOOT"
String RECEIVE_BOOT_COMPLETED
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.
Protection level: normal
Constant Value: "android.permission.RECEIVE_BOOT_COMPLETED"
String RECEIVE_MMS
Allows an application to monitor incoming MMS messages.
Protection level: dangerous
Constant Value: "android.permission.RECEIVE_MMS"
String RECEIVE_SMS
Allows an application to receive SMS messages.
Protection level: dangerous
Constant Value: "android.permission.RECEIVE_SMS"
String RECEIVE_WAP_PUSH
Allows an application to receive WAP push messages.
Protection level: dangerous
Constant Value: "android.permission.RECEIVE_WAP_PUSH"
String RECORD_AUDIO
Allows an application to record audio.
Protection level: dangerous
Constant Value: "android.permission.RECORD_AUDIO"
String REORDER_TASKS
Allows an application to change the Z-order of tasks.
Protection level: normal
Constant Value: "android.permission.REORDER_TASKS"
String REQUEST_IGNORE_BATTERY_OPTIMIZATIONS
Permission an application must hold in order to use
ACTION_REQUEST_IGNORE_BATTERY_OPTIMIZATIONS
.
This is a normal permission: an app requesting it will always be granted the
permission, without the user needing to approve or see it.
Constant Value: "android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"
String REQUEST_INSTALL_PACKAGES
Allows an application to request installing packages. Apps
targeting APIs greater than 22 must hold this permission in
order to use ACTION_INSTALL_PACKAGE
.
Protection level: normal
Constant Value: "android.permission.REQUEST_INSTALL_PACKAGES"
String RESTART_PACKAGES
This constant was deprecated
in API level 8.
The restartPackage(String)
API is no longer supported.
Constant Value: "android.permission.RESTART_PACKAGES"
String SEND_RESPOND_VIA_MESSAGE
Allows an application (Phone) to send a request to other applications to handle the respond-via-message action during incoming calls.
Not for use by third-party applications.
Constant Value: "android.permission.SEND_RESPOND_VIA_MESSAGE"
String SEND_SMS
Allows an application to send SMS messages.
Protection level: dangerous
Constant Value: "android.permission.SEND_SMS"
String SET_ALARM
Allows an application to broadcast an Intent to set an alarm for the user.
Protection level: normal
Constant Value: "com.android.alarm.permission.SET_ALARM"
String SET_ALWAYS_FINISH
Allows an application to control whether activities are immediately finished when put in the background.
Not for use by third-party applications.
Constant Value: "android.permission.SET_ALWAYS_FINISH"
String SET_ANIMATION_SCALE
Modify the global animation scaling factor.
Not for use by third-party applications.
Constant Value: "android.permission.SET_ANIMATION_SCALE"
String SET_DEBUG_APP
Configure an application for debugging.
Not for use by third-party applications.
Constant Value: "android.permission.SET_DEBUG_APP"
String SET_PREFERRED_APPLICATIONS
This constant was deprecated
in API level 7.
No longer useful, see
addPackageToPreferred(String)
for details.
Constant Value: "android.permission.SET_PREFERRED_APPLICATIONS"
String SET_PROCESS_LIMIT
Allows an application to set the maximum number of (not needed) application processes that can be running.
Not for use by third-party applications.
Constant Value: "android.permission.SET_PROCESS_LIMIT"
String SET_TIME
Allows applications to set the system time.
Not for use by third-party applications.
Constant Value: "android.permission.SET_TIME"
String SET_TIME_ZONE
Allows applications to set the system time zone.
Protection level: normal
Constant Value: "android.permission.SET_TIME_ZONE"
String SET_WALLPAPER
Allows applications to set the wallpaper.
Protection level: normal
Constant Value: "android.permission.SET_WALLPAPER"
String SET_WALLPAPER_HINTS
Allows applications to set the wallpaper hints.
Protection level: normal
Constant Value: "android.permission.SET_WALLPAPER_HINTS"
String SIGNAL_PERSISTENT_PROCESSES
Allow an application to request that a signal be sent to all persistent processes.
Not for use by third-party applications.
Constant Value: "android.permission.SIGNAL_PERSISTENT_PROCESSES"
String STATUS_BAR
Allows an application to open, close, or disable the status bar and its icons.
Not for use by third-party applications.
Constant Value: "android.permission.STATUS_BAR"
String SYSTEM_ALERT_WINDOW
Allows an app to create windows using the type
TYPE_SYSTEM_ALERT
,
shown on top of all other apps. Very few apps
should use this permission; these windows are intended for
system-level interaction with the user.
Note: If the app
targets API level 23 or higher, the app user must explicitly grant
this permission to the app through a permission management screen. The app requests
the user's approval by sending an intent with action
ACTION_MANAGE_OVERLAY_PERMISSION
.
The app can check whether it has this authorization by calling
Settings.canDrawOverlays()
.
Protection level: signature
Constant Value: "android.permission.SYSTEM_ALERT_WINDOW"
String TRANSMIT_IR
Allows using the device's IR transmitter, if available.
Protection level: normal
Constant Value: "android.permission.TRANSMIT_IR"
String UNINSTALL_SHORTCUT
Allows an application to uninstall a shortcut in Launcher.
Protection level: normal
Constant Value: "com.android.launcher.permission.UNINSTALL_SHORTCUT"
String UPDATE_DEVICE_STATS
Allows an application to update device statistics.
Not for use by third-party applications.
Constant Value: "android.permission.UPDATE_DEVICE_STATS"
String USE_FINGERPRINT
Allows an app to use fingerprint hardware.
Protection level: normal
Constant Value: "android.permission.USE_FINGERPRINT"
String USE_SIP
Allows an application to use SIP service.
Protection level: dangerous
Constant Value: "android.permission.USE_SIP"
String VIBRATE
Allows access to the vibrator.
Protection level: normal
Constant Value: "android.permission.VIBRATE"
String WAKE_LOCK
Allows using PowerManager WakeLocks to keep processor from sleeping or screen from dimming.
Protection level: normal
Constant Value: "android.permission.WAKE_LOCK"
String WRITE_APN_SETTINGS
Allows applications to write the apn settings.
Not for use by third-party applications.
Constant Value: "android.permission.WRITE_APN_SETTINGS"
String WRITE_CALENDAR
Allows an application to write the user's calendar data.
Protection level: dangerous
Constant Value: "android.permission.WRITE_CALENDAR"
String WRITE_CALL_LOG
Allows an application to write (but not read) the user's call log data.
Note: If your app uses the
WRITE_CONTACTS
permission and both your minSdkVersion
and targetSdkVersion
values are set to 15 or lower, the system implicitly
grants your app this permission. If you don't need this permission, be sure your targetSdkVersion
is 16 or higher.
Protection level: dangerous
Constant Value: "android.permission.WRITE_CALL_LOG"
String WRITE_CONTACTS
Allows an application to write the user's contacts data.
Protection level: dangerous
Constant Value: "android.permission.WRITE_CONTACTS"
String WRITE_EXTERNAL_STORAGE
Allows an application to write to external storage.
Note: If both your minSdkVersion
and targetSdkVersion
values are set to 3 or lower, the system implicitly
grants your app this permission. If you don't need this permission, be sure your targetSdkVersion
is 4 or higher.
Starting in API level 19, this permission is not required to
read/write files in your application-specific directories returned by
getExternalFilesDir(String)
and
getExternalCacheDir()
.
Protection level: dangerous
Constant Value: "android.permission.WRITE_EXTERNAL_STORAGE"
String WRITE_GSERVICES
Allows an application to modify the Google service map.
Not for use by third-party applications.
Constant Value: "android.permission.WRITE_GSERVICES"
String WRITE_SECURE_SETTINGS
Allows an application to read or write the secure system settings.
Not for use by third-party applications.
Constant Value: "android.permission.WRITE_SECURE_SETTINGS"
String WRITE_SETTINGS
Allows an application to read or write the system settings.
Note: If the app targets API level 23
or higher, the app user
must explicitly grant this permission to the app through a permission management screen.
The app requests the user's approval by sending an intent with action
ACTION_MANAGE_WRITE_SETTINGS
. The app
can check whether it has this authorization by calling Settings.System.canWrite()
.
Protection level: signature
Constant Value: "android.permission.WRITE_SETTINGS"
String WRITE_SYNC_SETTINGS
Allows applications to write the sync settings.
Protection level: normal
Constant Value: "android.permission.WRITE_SYNC_SETTINGS"
String WRITE_VOICEMAIL
Allows an application to modify and remove existing voicemails in the system.
Protection level: signature|privileged
Constant Value: "com.android.voicemail.permission.WRITE_VOICEMAIL"