English | Site Directory

Android - An Open Handset Alliance Project

android
public static final class

android.Manifest.permission

java.lang.Object
android.Manifest.permission

Summary

Constants

      Value  
String  ACCESS_ASSISTED_GPS  Allows an application to access Assisted GPS (AGPS)   "android.permission.ACCESS_ASSISTED_GPS" 
String  ACCESS_CELL_ID  Allows an application to access Cell-ID location   "android.permission.ACCESS_CELL_ID" 
String  ACCESS_GPS  Allows an application to access GPS location   "android.permission.ACCESS_GPS" 
String  ACCESS_LOCATION  Allows an application to access geographical location (GPS, cell-id, etc.)   "android.permission.ACCESS_LOCATION" 
String  ACCESS_SURFACE_FLINGER  Allows an application to use SurfaceFlinger's low level features   "android.permission.ACCESS_SURFACE_FLINGER" 
String  ADD_SYSTEM_SERVICE  Allows an application to publish system-level services.  "android.permission.ADD_SYSTEM_SERVICE" 
String  BROADCAST_PACKAGE_REMOVED  Allows an application to broadcast a notification that an application package has been removed.  "android.permission.BROADCAST_PACKAGE_REMOVED" 
String  BROADCAST_STICKY  Allows an application to broadcast sticky intents.  "android.permission.BROADCAST_STICKY" 
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 being placed.  "android.permission.CALL_PHONE" 
String  CHANGE_COMPONENT_ENABLED_STATE  Allows an application to change whether an application component (other than it's own) is enabled or not.  "android.permission.CHANGE_COMPONENT_ENABLED_STATE" 
String  DELETE_PACKAGES  Allows an application to delete packages.  "android.permission.DELETE_PACKAGES" 
String  DUMP  Allows an application to retrieve state dump information from system services.  "android.permission.DUMP" 
String  FOTA_UPDATE    "android.permission.FOTA_UPDATE" 
String  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.GET_TASKS" 
String  INSTALL_PACKAGES  Allows an application to install packages.  "android.permission.INSTALL_PACKAGES" 
String  INTERNAL_SYSTEM_WINDOW  Allows an application to open windows that are for use by parts of the system user interface.  "android.permission.INTERNAL_SYSTEM_WINDOW" 
String  RAISED_THREAD_PRIORITY  Allows an application to get raised thread priorities, for realtime audio playback.  "android.permission.RAISED_THREAD_PRIORITY" 
String  READ_CONTACTS  Allows an application to read the user's contacts data.  "android.permission.READ_CONTACTS" 
String  READ_FRAME_BUFFER  Allows an application to take screen shots and more generally get access to the frame buffer data   "android.permission.READ_FRAME_BUFFER" 
String  RECEIVE_BOOT_COMPLETED  Allows an application to receive the BOOT_COMPLETED_ACTION that is broadcast after the system finishes booting.  "android.permission.RECEIVE_BOOT_COMPLETED" 
String  RECEIVE_SMS  Allows an application to monitor incoming SMS messages, to record or perform processing on them.  "android.permission.RECEIVE_SMS" 
String  RECEIVE_WAP_PUSH  Allows an application to monitor incoming WAP push messages.  "android.permission.RECEIVE_WAP_PUSH" 
String  RUN_INSTRUMENTATION  Allows an application to start running an instrumentation package.  "android.permission.RUN_INSTRUMENTATION" 
String  SET_ACTIVITY_WATCHER  Allows an application to watch and control how activities are started globally in the system.  "android.permission.SET_ACTIVITY_WATCHER" 
String  SET_PREFERRED_APPLICATIONS  Allows an application to modify the list of preferred applications with the PackageManager.addPackageToPreferred() and PackageManager.removePackageFromPreferred() methods.  "android.permission.SET_PREFERRED_APPLICATIONS" 
String  SIGNAL_PERSISTENT_PROCESSES  Allow an application to request that a signal be sent to all persistent processes   "android.permission.SIGNAL_PERSISTENT_PROCESSES" 
String  SYSTEM_ALERT_WINDOW  Allows an application to open windows using the type TYPE_SYSTEM_ALERT, shown on top of all other applications.  "android.permission.SYSTEM_ALERT_WINDOW" 
String  WRITE_CONTACTS  Allows an application to write (but not read) the user's contacts data.  "android.permission.WRITE_CONTACTS" 
String  WRITE_SETTINGS  Allows an application to read or write the user's contacts data.  "android.permission.WRITE_SETTINGS" 

Public Constructors

          Manifest.permission()
Methods inherited from class java.lang.Object

Details

Constants

public static final String ACCESS_ASSISTED_GPS

Allows an application to access Assisted GPS (AGPS)
Constant Value: "android.permission.ACCESS_ASSISTED_GPS"

public static final String ACCESS_CELL_ID

Allows an application to access Cell-ID location
Constant Value: "android.permission.ACCESS_CELL_ID"

public static final String ACCESS_GPS

Allows an application to access GPS location
Constant Value: "android.permission.ACCESS_GPS"

public static final String ACCESS_LOCATION

Allows an application to access geographical location (GPS, cell-id, etc.)
Constant Value: "android.permission.ACCESS_LOCATION"

public static final String ACCESS_SURFACE_FLINGER

Allows an application to use SurfaceFlinger's low level features
Constant Value: "android.permission.ACCESS_SURFACE_FLINGER"

public static final String ADD_SYSTEM_SERVICE

Allows an application to publish system-level services. Such services can only be published from processes that never go away, so this is not something that any normal application can do.
Constant Value: "android.permission.ADD_SYSTEM_SERVICE"

public static final String BROADCAST_PACKAGE_REMOVED

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_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.
Constant Value: "android.permission.BROADCAST_STICKY"

public static final 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 being placed.
Constant Value: "android.permission.CALL_PHONE"

public static final String CHANGE_COMPONENT_ENABLED_STATE

Allows an application to change whether an application component (other than it's own) is enabled or not.
Constant Value: "android.permission.CHANGE_COMPONENT_ENABLED_STATE"

public static final String DELETE_PACKAGES

Allows an application to delete packages.
Constant Value: "android.permission.DELETE_PACKAGES"

public static final String DUMP

Allows an application to retrieve state dump information from system services.
Constant Value: "android.permission.DUMP"

public static final String FOTA_UPDATE

Constant Value: "android.permission.FOTA_UPDATE"

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

public static final String INSTALL_PACKAGES

Allows an application to install packages.
Constant Value: "android.permission.INSTALL_PACKAGES"

public static final String INTERNAL_SYSTEM_WINDOW

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 RAISED_THREAD_PRIORITY

Allows an application to get raised thread priorities, for realtime audio playback.
Constant Value: "android.permission.RAISED_THREAD_PRIORITY"

public static final String READ_CONTACTS

Allows an application to read the user's contacts data.
Constant Value: "android.permission.READ_CONTACTS"

public static final String READ_FRAME_BUFFER

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 RECEIVE_BOOT_COMPLETED

Allows an application to receive the BOOT_COMPLETED_ACTION 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_SMS

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

Allows an application to monitor incoming WAP push messages.
Constant Value: "android.permission.RECEIVE_WAP_PUSH"

public static final String RUN_INSTRUMENTATION

Allows an application to start running an instrumentation package.
Constant Value: "android.permission.RUN_INSTRUMENTATION"

public static final String SET_ACTIVITY_WATCHER

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_PREFERRED_APPLICATIONS

Allows an application to modify the list of preferred applications with the PackageManager.addPackageToPreferred() and PackageManager.removePackageFromPreferred() methods.
Constant Value: "android.permission.SET_PREFERRED_APPLICATIONS"

public static final String SIGNAL_PERSISTENT_PROCESSES

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 SYSTEM_ALERT_WINDOW

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 WRITE_CONTACTS

Allows an application to write (but not read) the user's contacts data.
Constant Value: "android.permission.WRITE_CONTACTS"

public static final String WRITE_SETTINGS

Allows an application to read or write the user's contacts data.
Constant Value: "android.permission.WRITE_SETTINGS"

Public Constructors

public Manifest.permission()

Build m5-rc15f - 23 Apr 2008 12:29