Manifest.permission
来源:互联网 发布:淘宝清仓特卖真的吗 编辑:程序博客网 时间:2024/05/21 10:18
Summary: Constants|Ctors| InheritedMethods | [ExpandAll] 由于时间的问题还未完成
Added in APIlevel 1
public static final class
Manifest.permission
extends Object
java.lang.Object
↳
android.Manifest.permission
Summary
Constants
String
ACCESS_CHECKIN_PROPERTIES
为了改变得到上传的值,允许读/写访问表的“属性”签入数据库。
String
ACCESS_COARSE_LOCATION
允许应用程序访问附附近位置来自如蜂窝基站和无线网络位置来源。
String
ACCESS_FINE_LOCATION
允许应用程序访问位置来源的精确位置,如GPS、基站和Wi-F。
String
ACCESS_LOCATION_EXTRA_COMMANDS
允许应用程序访问额外位置提供者的命令
String
ACCESS_MOCK_LOCATION
允许应用程序创建模拟位置提供者进行测试
String
ACCESS_NETWORK_STATE
允许应用程序访问网络的信息
String
ACCESS_SURFACE_FLINGER
允许一个应用程序使用SurfaceFlinger低水平特性。
String
ACCESS_WIFI_STATE
允许应用程序访问无线网络的信息
String
ACCOUNT_MANAGER
允许应用程序调用AccountAuthenticators。
String
ADD_VOICEMAIL
允许一个应用程序添加语音邮件到系统。
String
AUTHENTICATE_ACCOUNTS
对已AccountManager允许一个应用程序作为一个AccountAuthenticator
String
BATTERY_STATS
允许应用程序收集电池数据
String
BIND_ACCESSIBILITY_SERVICE
必须请求一个AccessibilityService,确保只有系统可以绑定到它。
String
BIND_APPWIDGET
允许应用程序告诉AppWidget服务,使应用程序可以访问AppWidget的数据。
String
BIND_DEVICE_ADMIN
必须通过设备管理接收器请求,以确保只有系统可以与之交互。
String
BIND_INPUT_METHOD
Must be required by an InputMethodService, to ensure that only the system can bind to it.
必须通过一个InputMethodService请求,确保只有系统可以绑定到它。
String
BIND_NFC_SERVICE
必须通过一个 HostApduService或者OffHostApduService请求,确保只有系统可以绑定到它。
String
BIND_NOTIFICATION_LISTENER_SERVICE
必须通过一个 NotificationListenerService请求,确保只有系统可以绑定到它。
String
BIND_PRINT_SERVICE
必须通过一个 PrintService请求,确保只有系统可以绑定到它。
String
BIND_REMOTEVIEWS
必须通过一个 RemoteViewsService请求,确保只有系统可以绑定到它。
String
BIND_TEXT_SERVICE
必须请求TextService
String
BIND_VPN_SERVICE
必须通过一个VpnService请求,确保只有系统可以绑定到它。
String
BIND_WALLPAPER
必须通过一个 RemoteViewsService请求,确保只有系统可以绑定到它。
String
BLUETOOTH
允许应用程序连接到蓝牙设备配对
String
BLUETOOTH_ADMIN
允许应用程序连接到蓝牙设备配对
String
BLUETOOTH_PRIVILEGED
允许应用程序对蓝牙设备,不需要用户交互。
String
BRICK
请求能够禁用设备(非常危险!)。
String
BROADCAST_PACKAGE_REMOVED
允许应用程序广播一个已被删除的应用程序包的一个通知,。
String
BROADCAST_SMS
允许应用程序广播短信通知。
String
BROADCAST_STICKY
允许应用程序广播粘性的意图。
String
BROADCAST_WAP_PUSH
允许应用程序广播一个WAP推收到的通知。
String
CALL_PHONE
允许应用程序启动一个电话而无需通过拨号器界面为用户确认调用被放置。
String
CALL_PRIVILEGED
允许一个应用程序调用任何电话号码,包括紧急号码,不经过用户确认的拨号器界面调用被放置。
String
CAMERA
请求访问相机
String
CAPTURE_AUDIO_OUTPUT
允许应用程序捕获音频输出。
String
CAPTURE_SECURE_VIDEO_OUTPUT
允许应用程序捕获视频输出。
String
CAPTURE_VIDEO_OUTPUT
允许应用程序来捕获视频输出。
String
CHANGE_COMPONENT_ENABLED_STATE
允许应用程序改变是否启用应用程序组件(除了自己的)。
String
CHANGE_CONFIGURATION
允许应用修改当前的配置,如本地设置
String
CHANGE_NETWORK_STATE
允许应用改变网络的连接状态
String
CHANGE_WIFI_MULTICAST_STATE
允许应用进入Wi-Fi的组播方式
String
CHANGE_WIFI_STATE
允许应用改变Wi-Fi的连接状态
String
CLEAR_APP_CACHE
允许应用清除所有安装在设备上的应用的缓存
String
CLEAR_APP_USER_DATA
允许应用清除使用者的信息资料
String
CONTROL_LOCATION_UPDATES
允许从广播设备来更新或不更新本地的消息
String
DELETE_CACHE_FILES
允许应用删除掉缓存文件
String
DELETE_PACKAGES
允许应用删除掉程序包
String
DEVICE_POWER
允许低权限的访问电源管理项
String
DIAGNOSTIC
允许应用诊断程序资源
String
DISABLE_KEYGUARD
允许应用禁用键盘锁
String
DUMP
允许应用从系统服务中恢复转储的信息
String
EXPAND_STATUS_BAR
允许应用扩大或缩小状态栏
String
FACTORY_TEST
如制造商测试的应用一样用终极权限用户运行
String
FLASHLIGHT
允许访问手电筒
String
FORCE_BACK
允许应用强制的返回操作而不论是不是最终的activity
String
GET_ACCOUNTS
允许应用访问账目服务中的统计清单
String
GET_PACKAGE_SIZE
允许应用查找出任何程序包使用的空间
String
GET_TASKS
允许应用找到关于当前或最近运行的任务和在哪些acitivities里运行
String
GET_TOP_ACTIVITY_INFO
允许应用去获得一些关于已经停止的activty的信息,但是不能用于第三方软件
String
GLOBAL_SEARCH
这个权限可以被内容提供者用来允许使用全程搜索他们的数据
String
HARDWARE_TEST
允许访问硬件及周边设备.
String
INJECT_EVENTS
允许应用注入用户事件(键盘、触摸)到事件中然后提供给任意的窗口
String
INSTALL_LOCATION_PROVIDER
允许应用安装一个位置提供商到位置管理器中
String
INSTALL_PACKAGES
允许应用安装程序包.
String
INSTALL_SHORTCUT
许应用程序快捷方式安装程序包
String
INTERNAL_SYSTEM_WINDOW
允许应用打开被部分系统用户接口使用的窗口
String
INTERNET
允许应用打开网络套接口
String
KILL_BACKGROUND_PROCESSES
允许应用去呼叫killBackgroundProcesses(String).方法
String
LOCATION_HARDWARE
允许应用程序使用定位功能硬件,比如geofencing api
String
MANAGE_ACCOUNTS
允许应用去管理帐户管理者中的重要清单
String
MANAGE_APP_TOKENS
允许应用去管理(创建、销毁、顺序)在窗口管理者中的应用
String
MANAGE_DOCUMENTS
允许应用程序管理访问文件,通常作为一个文档选择器的一部分。
String
MASTER_CLEAR
不使用第三方应用程序。
String
MEDIA_CONTENT_CONTROL
允许应用程序知道内容充当什么和控制它的回放。
String
MODIFY_AUDIO_SETTINGS
允许应用修改全局音频设定
String
MODIFY_PHONE_STATE
允许改变拨打电话的状态-电源等
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
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 monitor, modify, or abort outgoing calls.
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_HISTORY_BOOKMARKS
Allows an application to read (but not write) the user's browsing history and bookmarks.
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.
String
READ_PROFILE
Allows an application to read the user's personal profile data.
String
READ_SMS
Allows an application to read SMS messages.
String
READ_SOCIAL_STREAM
Allows an application to read from the user's social stream.
String
READ_SYNC_SETTINGS
Allows applications to read the sync settings
String
READ_SYNC_STATS
Allows applications to read the sync stats
String
READ_USER_DICTIONARY
Allows an application to read the user dictionary.
String
REBOOT
Required to be able to reboot the device.
String
RECEIVE_BOOT_COMPLETED
Allows an application to receive the ACTION_BOOT_COMPLETED that is broadcast after the system finishes booting.
String
RECEIVE_MMS
Allows an application to monitor incoming MMS messages, to record or perform processing on them.
String
RECEIVE_SMS
Allows an application to monitor incoming SMS messages, to record or perform processing on them.
String
RECEIVE_WAP_PUSH
Allows an application to monitor incoming 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
RESTART_PACKAGES
This constant was deprecated in API level 8. The restartPackage(String) API is no longer supported.
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_ACTIVITY_WATCHER
Allows an application to watch and control how activities are started globally in the system.
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_ORIENTATION
Allows low-level access to setting the orientation (actually rotation) of the screen.
String
SET_POINTER_SPEED
Allows low-level access to setting the pointer speed.
String
SET_PREFERRED_APPLICATIONS
This constant was deprecated in API level 7. No longer useful, seeaddPackageToPreferred(String) for details.
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
SUBSCRIBED_FEEDS_READ
Allows an application to allow access the subscribed feeds ContentProvider.
String
SUBSCRIBED_FEEDS_WRITE
String
SYSTEM_ALERT_WINDOW
Allows an application to open windows using the type TYPE_SYSTEM_ALERT, shown on top of all other applications.
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_CREDENTIALS
Allows an application to request authtokens from the AccountManager
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 (but not read) the user's calendar data.
String
WRITE_CALL_LOG
Allows an application to write (but not read) the user's contacts data.
String
WRITE_CONTACTS
Allows an application to write (but not read) 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_HISTORY_BOOKMARKS
Allows an application to write (but not read) the user's browsing history and bookmarks.
String
WRITE_PROFILE
Allows an application to write (but not read) the user's personal profile data.
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_SMS
Allows an application to write SMS messages.
String
WRITE_SOCIAL_STREAM
Allows an application to write (but not read) the user's social stream data.
String
WRITE_SYNC_SETTINGS
Allows applications to write the sync settings
String
WRITE_USER_DICTIONARY
Allows an application to write to the user dictionary.
Public Constructors
Manifest.permission()
Inherited Methods
From class java.lang.Object
Object
clone()
Creates and returns a copy of this Object.
boolean
equals(Object o)
Compares this instance with the specified object and indicates if they are equal.
void
finalize()
Invoked when the garbage collector has detected that this instance is no longer reachable.
final Class<?>
getClass()
Returns the unique instance of Class that represents this object's class.
int
hashCode()
Returns an integer hash code for this object.
final void
notify()
Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.
final void
notifyAll()
Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.
String
toString()
Returns a string containing a concise, human-readable description of this object.
final void
wait()
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.
final void
wait(long millis, int nanos)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.
final void
wait(long millis)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.
Constants
public staticfinalStringACCESS_CHECKIN_PROPERTIES
Added in APIlevel 1
Allows read/write access to the "properties" table in thecheckin database, to change values that get uploaded.
Not for use by third-party applications.
Constant Value: "android.permission.ACCESS_CHECKIN_PROPERTIES"
public staticfinalStringACCESS_COARSE_LOCATION
Added in APIlevel 1
Allows an app to access approximate location derived from network locationsources such as cell towers and Wi-Fi.
Constant Value: "android.permission.ACCESS_COARSE_LOCATION"
public staticfinalStringACCESS_FINE_LOCATION
Added in APIlevel 1
Allows an app to access precise location from location sources such asGPS, cell towers, and Wi-Fi.
Constant Value: "android.permission.ACCESS_FINE_LOCATION"
public staticfinalStringACCESS_LOCATION_EXTRA_COMMANDS
Added in APIlevel 1
Allows an application to access extra location provider commands
Constant Value: "android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
public static finalStringACCESS_MOCK_LOCATION
Added in APIlevel 1
Allows an application to create mock location providers for testing
Constant Value: "android.permission.ACCESS_MOCK_LOCATION"
public staticfinalStringACCESS_NETWORK_STATE
Added in APIlevel 1
Allows applications to access information about networks
Constant Value: "android.permission.ACCESS_NETWORK_STATE"
public staticfinalStringACCESS_SURFACE_FLINGER
Added in APIlevel 1
Allows an application to use SurfaceFlinger's low level features.
Not for use by third-party applications.
Constant Value: "android.permission.ACCESS_SURFACE_FLINGER"
public staticfinalStringACCESS_WIFI_STATE
Added in APIlevel 1
Allows applications to access information about Wi-Fi networks
Constant Value: "android.permission.ACCESS_WIFI_STATE"
public staticfinalStringACCOUNT_MANAGER
Added in APIlevel 5
Allows applications to call into AccountAuthenticators.
Not for use by third-party applications.
Constant Value: "android.permission.ACCOUNT_MANAGER"
public staticfinalStringADD_VOICEMAIL
Added in APIlevel 14
Allows an application to add voicemails into the system.
Constant Value: "com.android.voicemail.permission.ADD_VOICEMAIL"
public staticfinalStringAUTHENTICATE_ACCOUNTS
Added in APIlevel 5
Allows an application to act as an AccountAuthenticator for theAccountManager
Constant Value: "android.permission.AUTHENTICATE_ACCOUNTS"
public staticfinalStringBATTERY_STATS
Added in APIlevel 1
Allows an application to collect battery statistics
Constant Value: "android.permission.BATTERY_STATS"
publicstatic finalStringBIND_ACCESSIBILITY_SERVICE
Added in APIlevel 16
Must be required by an AccessibilityService,to ensure that only the system can bind to it.
Constant Value: "android.permission.BIND_ACCESSIBILITY_SERVICE"
public staticfinalStringBIND_APPWIDGET
Added in APIlevel 3
Allows an application to tell the AppWidget service which application canaccess AppWidget's data. The normal user flow is that a user picks an AppWidgetto go into a particular host, thereby giving that host application access tothe private data from the AppWidget app. An application that has thispermission should honor that contract.
Not for use by third-party applications.
Constant Value: "android.permission.BIND_APPWIDGET"
public staticfinalStringBIND_DEVICE_ADMIN
Added in APIlevel 8
Must be required by device administration receiver, to ensure that onlythe system can interact with it.
Constant Value: "android.permission.BIND_DEVICE_ADMIN"
public staticfinalStringBIND_INPUT_METHOD
Added in APIlevel 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 staticfinalStringBIND_NFC_SERVICE
Added in APIlevel 19
Must be required by a HostApduServiceorOffHostApduServiceto ensure that only the system can bind to it.
Constant Value: "android.permission.BIND_NFC_SERVICE"
public static finalStringBIND_NOTIFICATION_LISTENER_SERVICE
Added in APIlevel 18
Must be required by an NotificationListenerService,to ensure that only the system can bind to it.
Constant Value: "android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"
public staticfinalStringBIND_PRINT_SERVICE
Added in APIlevel 19
Must be required by a PrintService,to ensure that only the system can bind to it.
Constant Value: "android.permission.BIND_PRINT_SERVICE"
public staticfinalStringBIND_REMOTEVIEWS
Added in APIlevel 11
Must be required by a RemoteViewsService,to ensure that only the system can bind to it.
Constant Value: "android.permission.BIND_REMOTEVIEWS"
public staticfinalStringBIND_TEXT_SERVICE
Added in APIlevel 14
Must be required by a TextService (e.g. SpellCheckerService) to ensurethat only the system can bind to it.
Constant Value: "android.permission.BIND_TEXT_SERVICE"
public staticfinalStringBIND_VPN_SERVICE
Added in APIlevel 14
Must be required by a VpnService,to ensure that only the system can bind to it.
Constant Value: "android.permission.BIND_VPN_SERVICE"
public static finalStringBIND_WALLPAPER
Added in APIlevel 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 finalStringBLUETOOTH
Added in APIlevel 1
Allows applications to connect to paired bluetooth devices
Constant Value: "android.permission.BLUETOOTH"
public staticfinalStringBLUETOOTH_ADMIN
Added in APIlevel 1
Allows applications to discover and pair bluetooth devices
Constant Value: "android.permission.BLUETOOTH_ADMIN"
public staticfinalStringBLUETOOTH_PRIVILEGED
Added in APIlevel 19
Allows applications to pair bluetooth devices without user interaction.This is not available to third party applications.
Constant Value: "android.permission.BLUETOOTH_PRIVILEGED"
public static finalStringBRICK
Added in APIlevel 1
Required to be able to disable the device (very dangerous!).
Not for use by third-party applications..
Constant Value: "android.permission.BRICK"
public staticfinalStringBROADCAST_PACKAGE_REMOVED
Added in APIlevel 1
Allows an application to broadcast a notification that an applicationpackage has been removed.
Not for use by third-party applications.
Constant Value: "android.permission.BROADCAST_PACKAGE_REMOVED"
public staticfinalStringBROADCAST_SMS
Added in APIlevel 2
Allows an application to broadcast an SMS receipt notification.
Not for use by third-party applications.
Constant Value: "android.permission.BROADCAST_SMS"
public staticfinalStringBROADCAST_STICKY
Added in APIlevel 1
Allows an application to broadcast sticky intents. These are broadcastswhose data is held by the system after being finished, so that clients canquickly retrieve that data without having to wait for the next broadcast.
Constant Value: "android.permission.BROADCAST_STICKY"
public staticfinalStringBROADCAST_WAP_PUSH
Added in APIlevel 2
Allows an application to broadcast a WAP PUSH receipt notification.
Not for use by third-party applications.
Constant Value: "android.permission.BROADCAST_WAP_PUSH"
public static finalStringCALL_PHONE
Added in APIlevel 1
Allows an application to initiate a phone call without going through theDialer user interface for the user to confirm the call being placed.
Constant Value: "android.permission.CALL_PHONE"
public staticfinalStringCALL_PRIVILEGED
Added in APIlevel 1
Allows an application to call any phone number, including emergencynumbers, without going through the Dialer user interface for the user toconfirm the call being placed.
Not for use by third-party applications.
Constant Value: "android.permission.CALL_PRIVILEGED"
public static finalStringCAMERA
Added in APIlevel 1
Required to be able to access the camera device.
This will automatically enforce the <uses-feature>manifest element forall camera features. If you do not require allcamera features or can properly operate if a camera is not available, then youmust modify your manifest as appropriate in order to install on devices thatdon't support all camera features.
Constant Value: "android.permission.CAMERA"
public staticfinalStringCAPTURE_AUDIO_OUTPUT
Added in APIlevel 19
Allows an application to capture audio output.
Not for use by third-party applications.
Constant Value: "android.permission.CAPTURE_AUDIO_OUTPUT"
publicstatic finalStringCAPTURE_SECURE_VIDEO_OUTPUT
Added in APIlevel 19
Allows an application to capture secure video output.
Not for use by third-party applications.
Constant Value: "android.permission.CAPTURE_SECURE_VIDEO_OUTPUT"
public staticfinalStringCAPTURE_VIDEO_OUTPUT
Added in APIlevel 19
Allows an application to capture video output.
Not for use by third-party applications.
Constant Value: "android.permission.CAPTURE_VIDEO_OUTPUT"
publicstatic finalStringCHANGE_COMPONENT_ENABLED_STATE
Added in APIlevel 1
Allows an application to change whether an application component (otherthan its own) is enabled or not.
Not for use by third-party applications.
Constant Value: "android.permission.CHANGE_COMPONENT_ENABLED_STATE"
public staticfinalStringCHANGE_CONFIGURATION
Added in APIlevel 1
Allows an application to modify the current configuration, such as locale.
Constant Value: "android.permission.CHANGE_CONFIGURATION"
public staticfinalStringCHANGE_NETWORK_STATE
Added in APIlevel 1
Allows applications to change network connectivity state
Constant Value: "android.permission.CHANGE_NETWORK_STATE"
publicstatic finalStringCHANGE_WIFI_MULTICAST_STATE
Added in APIlevel 4
Allows applications to enter Wi-Fi Multicast mode
Constant Value: "android.permission.CHANGE_WIFI_MULTICAST_STATE"
public staticfinalStringCHANGE_WIFI_STATE
Added in APIlevel 1
Allows applications to change Wi-Fi connectivity state
Constant Value: "android.permission.CHANGE_WIFI_STATE"
public staticfinalStringCLEAR_APP_CACHE
Added in APIlevel 1
Allows an application to clear the caches of all installed applications onthe device.
Constant Value: "android.permission.CLEAR_APP_CACHE"
public staticfinalStringCLEAR_APP_USER_DATA
Added in APIlevel 1
Allows an application to clear user data.
Not for use by third-party applications.
Constant Value: "android.permission.CLEAR_APP_USER_DATA"
public staticfinalStringCONTROL_LOCATION_UPDATES
Added in APIlevel 1
Allows enabling/disabling location update notifications from the radio.
Not for use by third-party applications.
Constant Value: "android.permission.CONTROL_LOCATION_UPDATES"
public staticfinalStringDELETE_CACHE_FILES
Added in APIlevel 1
Allows an application to delete cache files.
Not for use by third-party applications.
Constant Value: "android.permission.DELETE_CACHE_FILES"
public staticfinalStringDELETE_PACKAGES
Added in APIlevel 1
Allows an application to delete packages.
Not for use by third-party applications.
Constant Value: "android.permission.DELETE_PACKAGES"
public static finalStringDEVICE_POWER
Added in APIlevel 1
Allows low-level access to power management.
Not for use by third-party applications.
Constant Value: "android.permission.DEVICE_POWER"
public static finalStringDIAGNOSTIC
Added in APIlevel 1
Allows applications to RW to diagnostic resources.
Not for use by third-party applications.
Constant Value: "android.permission.DIAGNOSTIC"
public staticfinalStringDISABLE_KEYGUARD
Added in APIlevel 1
Allows applications to disable the keyguard
Constant Value: "android.permission.DISABLE_KEYGUARD"
public static finalStringDUMP
Added in APIlevel 1
Allows an application to retrieve state dump information from systemservices.
Not for use by third-party applications.
Constant Value: "android.permission.DUMP"
public staticfinalStringEXPAND_STATUS_BAR
Added in APIlevel 1
Allows an application to expand or collapse the status bar.
Constant Value: "android.permission.EXPAND_STATUS_BAR"
public static finalStringFACTORY_TEST
Added in APIlevel 1
Run as a manufacturer test application, running as the root user. Onlyavailable when the device is running in manufacturer test mode.
Not for use by third-party applications.
Constant Value: "android.permission.FACTORY_TEST"
public static finalStringFLASHLIGHT
Added in APIlevel 1
Allows access to the flashlight
Constant Value: "android.permission.FLASHLIGHT"
public static finalStringFORCE_BACK
Added in APIlevel 1
Allows an application to force a BACK operation on whatever is the topactivity.
Not for use by third-party applications.
Constant Value: "android.permission.FORCE_BACK"
public static finalStringGET_ACCOUNTS
Added in APIlevel 1
Allows access to the list of accounts in the Accounts Service
Constant Value: "android.permission.GET_ACCOUNTS"
public staticfinalStringGET_PACKAGE_SIZE
Added in APIlevel 1
Allows an application to find out the space used by any package.
Constant Value: "android.permission.GET_PACKAGE_SIZE"
public static finalStringGET_TASKS
Added in APIlevel 1
Allows an application to get information about the currently or recentlyrunning tasks.
Constant Value: "android.permission.GET_TASKS"
public staticfinalStringGET_TOP_ACTIVITY_INFO
Added in APIlevel 18
Allows an application to retrieve private information about the currenttop activity, such as any assist context it can provide.
Not for use by third-party applications.
Constant Value: "android.permission.GET_TOP_ACTIVITY_INFO"
public staticfinalStringGLOBAL_SEARCH
Added in APIlevel 4
This permission can be used on content providers to allow the globalsearch system to access their data. Typically it used when the provider hassome permissions protecting it (which global search would not be expected tohold), and added as a read-only permission to the path in the provider whereglobal search queries are performed. This permission can not be held by regularapplications; it is used by applications to protect themselves from everyoneelse besides global search.
Constant Value: "android.permission.GLOBAL_SEARCH"
public staticfinalStringHARDWARE_TEST
Added in APIlevel 1
Allows access to hardware peripherals. Intended only for hardware testing.
Not for use by third-party applications.
Constant Value: "android.permission.HARDWARE_TEST"
public staticfinalStringINJECT_EVENTS
Added in APIlevel 1
Allows an application to inject user events (keys, touch, trackball) intothe event stream and deliver them to ANY window. Without this permission, youcan only deliver events to windows in your own process.
Not for use by third-party applications.
Constant Value: "android.permission.INJECT_EVENTS"
public staticfinalStringINSTALL_LOCATION_PROVIDER
Added in APIlevel 4
Allows an application to install a location provider into the LocationManager.
Not for use by third-party applications.
Constant Value: "android.permission.INSTALL_LOCATION_PROVIDER"
public staticfinalStringINSTALL_PACKAGES
Added in APIlevel 1
Allows an application to install packages.
Not for use by third-party applications.
Constant Value: "android.permission.INSTALL_PACKAGES"
public staticfinalStringINSTALL_SHORTCUT
Added in APIlevel 19
Allows an application to install a shortcut in Launcher
Constant Value: "com.android.launcher.permission.INSTALL_SHORTCUT"
public staticfinalStringINTERNAL_SYSTEM_WINDOW
Added in APIlevel 1
Allows an application to open windows that are for use by parts of thesystem user interface.
Not for use by third-party applications.
Constant Value: "android.permission.INTERNAL_SYSTEM_WINDOW"
public static finalStringINTERNET
Added in APIlevel 1
Allows applications to open network sockets.
Constant Value: "android.permission.INTERNET"
public staticfinalStringKILL_BACKGROUND_PROCESSES
Added in APIlevel 8
Allows an application to call killBackgroundProcesses(String).
Constant Value: "android.permission.KILL_BACKGROUND_PROCESSES"
public staticfinalStringLOCATION_HARDWARE
Added in APIlevel 18
Allows an application to use location features in hardware, such as thegeofencing api.
Not for use by third-party applications.
Constant Value: "android.permission.LOCATION_HARDWARE"
public staticfinalStringMANAGE_ACCOUNTS
Added in APIlevel 5
Allows an application to manage the list of accounts in the AccountManager
Constant Value: "android.permission.MANAGE_ACCOUNTS"
public staticfinalStringMANAGE_APP_TOKENS
Added in APIlevel 1
Allows an application to manage (create, destroy, Z-order) applicationtokens in the window manager.
Not for use by third-party applications.
Constant Value: "android.permission.MANAGE_APP_TOKENS"
public staticfinalStringMANAGE_DOCUMENTS
Added in APIlevel 19
Allows an application to manage access to documents, usually as part of adocument picker.
Constant Value: "android.permission.MANAGE_DOCUMENTS"
public static finalStringMASTER_CLEAR
Added in APIlevel 1
Not for use by third-party applications.
Constant Value: "android.permission.MASTER_CLEAR"
public staticfinalStringMEDIA_CONTENT_CONTROL
Added in APIlevel 19
Allows an application to know what content is playing and control itsplayback.
Not for use by third-party applications due to privacy of mediaconsumption
Constant Value: "android.permission.MEDIA_CONTENT_CONTROL"
public staticfinalStringMODIFY_AUDIO_SETTINGS
Added in APIlevel 1
Allows an application to modify global audio settings
Constant Value: "android.permission.MODIFY_AUDIO_SETTINGS"
public staticfinalStringMODIFY_PHONE_STATE
Added in APIlevel 1
Allows modification of the telephony state - power on, mmi, etc. Does notinclude placing calls.
Not for use by third-party applications.
Constant Value: "android.permission.MODIFY_PHONE_STATE"
public staticfinalStringMOUNT_FORMAT_FILESYSTEMS
Added in APIlevel 3
Allows formatting file systems for removable storage.
Not for use by third-party applications.
Constant Value: "android.permission.MOUNT_FORMAT_FILESYSTEMS"
public staticfinalStringMOUNT_UNMOUNT_FILESYSTEMS
Added in APIlevel 1
Allows mounting and unmounting file systems for removable storage.
Not for use by third-party applications.
Constant Value: "android.permission.MOUNT_UNMOUNT_FILESYSTEMS"
public static finalStringNFC
Added in APIlevel 9
Allows applications to perform I/O operations over NFC
Constant Value: "android.permission.NFC"
public staticfinalStringPERSISTENT_ACTIVITY
Added in APIlevel 1
This constant was deprecated in API level 9.
This functionality will be removed in the future; please do not use. Allow anapplication to make its activities persistent.
Constant Value: "android.permission.PERSISTENT_ACTIVITY"
public staticfinalStringPROCESS_OUTGOING_CALLS
Added in APIlevel 1
Allows an application to monitor, modify, or abort outgoing calls.
Constant Value: "android.permission.PROCESS_OUTGOING_CALLS"
public staticfinalStringREAD_CALENDAR
Added in APIlevel 1
Allows an application to read the user's calendar data.
Constant Value: "android.permission.READ_CALENDAR"
public staticfinalStringREAD_CALL_LOG
Added in APIlevel 16
Allows an application to read the user's call log.
Note: If your app uses the READ_CONTACTSpermission and both your minSdkVersion andtargetSdkVersionvalues are set to 15 or lower, the system implicitly grants your app thispermission. If you don't need this permission, be sure yourtargetSdkVersion is16 or higher.
Constant Value: "android.permission.READ_CALL_LOG"
public staticfinalStringREAD_CONTACTS
Added in APIlevel 1
Allows an application to read the user's contacts data.
Constant Value: "android.permission.READ_CONTACTS"
public staticfinalStringREAD_EXTERNAL_STORAGE
Added in APIlevel 16
Allows an application to read from external storage.
Any app that declares the WRITE_EXTERNAL_STORAGEpermission 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 fromexternal storage. You can test your app with the permission enforced byenablingProtect USB storage under Developer options in the Settings appon a device running Android 4.1 or higher.
Also starting in API level 19, this permission is not required toread/write files in your application-specific directories returned bygetExternalFilesDir(String)andgetExternalCacheDir().
Note: If both your minSdkVersion and targetSdkVersionvalues are set to 3 or lower, the system implicitly grants your app thispermission. If you don't need this permission, be sure yourtargetSdkVersion is4 or higher.
Constant Value: "android.permission.READ_EXTERNAL_STORAGE"
public staticfinalStringREAD_FRAME_BUFFER
Added in APIlevel 1
Allows an application to take screen shots and more generally get accessto the frame buffer data.
Not for use by third-party applications.
Constant Value: "android.permission.READ_FRAME_BUFFER"
public staticfinalStringREAD_HISTORY_BOOKMARKS
Added in APIlevel 4
Allows an application to read (but not write) the user's browsing historyand bookmarks.
Constant Value: "com.android.browser.permission.READ_HISTORY_BOOKMARKS"
public staticfinalStringREAD_INPUT_STATE
Added in APIlevel 1
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"
public static finalStringREAD_LOGS
Added in APIlevel 1
Allows an application to read the low-level system log files.
Not for use by third-party applications, because Log entries can containthe user's private information.
Constant Value: "android.permission.READ_LOGS"
public staticfinalStringREAD_PHONE_STATE
Added in APIlevel 1
Allows read only access to phone state.
Note: If both your minSdkVersion and targetSdkVersionvalues are set to 3 or lower, the system implicitly grants your app thispermission. If you don't need this permission, be sure yourtargetSdkVersion is4 or higher.
Constant Value: "android.permission.READ_PHONE_STATE"
public static finalStringREAD_PROFILE
Added in APIlevel 14
Allows an application to read the user's personal profile data.
Constant Value: "android.permission.READ_PROFILE"
public static finalStringREAD_SMS
Added in APIlevel 1
Allows an application to read SMS messages.
Constant Value: "android.permission.READ_SMS"
public staticfinalStringREAD_SOCIAL_STREAM
Added in APIlevel 15
Allows an application to read from the user's social stream.
Constant Value: "android.permission.READ_SOCIAL_STREAM"
public staticfinalStringREAD_SYNC_SETTINGS
Added in APIlevel 1
Allows applications to read the sync settings
Constant Value: "android.permission.READ_SYNC_SETTINGS"
public staticfinalStringREAD_SYNC_STATS
Added in APIlevel 1
Allows applications to read the sync stats
Constant Value: "android.permission.READ_SYNC_STATS"
public staticfinalStringREAD_USER_DICTIONARY
Added in APIlevel 16
Allows an application to read the user dictionary. This should really onlybe required by an IME, or a dictionary editor like the Settings app.
Constant Value: "android.permission.READ_USER_DICTIONARY"
public static finalStringREBOOT
Added in APIlevel 1
Required to be able to reboot the device.
Not for use by third-party applications.
Constant Value: "android.permission.REBOOT"
public staticfinalStringRECEIVE_BOOT_COMPLETED
Added in APIlevel 1
Allows an application to receive the ACTION_BOOT_COMPLETEDthat is broadcast after the system finishes booting. If you don't request thispermission, you will not receive the broadcast at that time. Though holdingthis permission does not have any security implications, it can have a negativeimpact on the user experience by increasing the amount of time it takes thesystem to start and allowing applications to have themselves running withoutthe user being aware of them. As such, you must explicitly declare your use ofthis facility to make that visible to the user.
Constant Value: "android.permission.RECEIVE_BOOT_COMPLETED"
public static finalStringRECEIVE_MMS
Added in APIlevel 1
Allows an application to monitor incoming MMS messages, to record orperform processing on them.
Constant Value: "android.permission.RECEIVE_MMS"
public static finalStringRECEIVE_SMS
Added in APIlevel 1
Allows an application to monitor incoming SMS messages, to record orperform processing on them.
Constant Value: "android.permission.RECEIVE_SMS"
public staticfinalStringRECEIVE_WAP_PUSH
Added in APIlevel 1
Allows an application to monitor incoming WAP push messages.
Constant Value: "android.permission.RECEIVE_WAP_PUSH"
public static finalStringRECORD_AUDIO
Added in APIlevel 1
Allows an application to record audio
Constant Value: "android.permission.RECORD_AUDIO"
public staticfinalStringREORDER_TASKS
Added in APIlevel 1
Allows an application to change the Z-order of tasks
Constant Value: "android.permission.REORDER_TASKS"
public staticfinalStringRESTART_PACKAGES
Added in APIlevel 1
This constant was deprecated in API level 8.
The restartPackage(String)API is no longer supported.
Constant Value: "android.permission.RESTART_PACKAGES"
public staticfinalStringSEND_RESPOND_VIA_MESSAGE
Added in APIlevel 18
Allows an application (Phone) to send a request to other applications tohandle the respond-via-message action during incoming calls.
Not for use by third-party applications.
Constant Value: "android.permission.SEND_RESPOND_VIA_MESSAGE"
public static finalStringSEND_SMS
Added in APIlevel 1
Allows an application to send SMS messages.
Constant Value: "android.permission.SEND_SMS"
public staticfinalStringSET_ACTIVITY_WATCHER
Added in APIlevel 1
Allows an application to watch and control how activities are startedglobally in the system. Only for is in debugging (usually the monkey command).
Not for use by third-party applications.
Constant Value: "android.permission.SET_ACTIVITY_WATCHER"
public static finalStringSET_ALARM
Added in APIlevel 9
Allows an application to broadcast an Intent to set an alarm for the user.
Constant Value: "com.android.alarm.permission.SET_ALARM"
public static finalStringSET_ALWAYS_FINISH
Added in APIlevel 1
Allows an application to control whether activities are immediatelyfinished when put in the background.
Not for use by third-party applications.
Constant Value: "android.permission.SET_ALWAYS_FINISH"
public staticfinalStringSET_ANIMATION_SCALE
Added in APIlevel 1
Modify the global animation scaling factor.
Not for use by third-party applications.
Constant Value: "android.permission.SET_ANIMATION_SCALE"
public staticfinalStringSET_DEBUG_APP
Added in APIlevel 1
Configure an application for debugging.
Not for use by third-party applications.
Constant Value: "android.permission.SET_DEBUG_APP"
public staticfinalStringSET_ORIENTATION
Added in APIlevel 1
Allows low-level access to setting the orientation (actually rotation) ofthe screen.
Not for use by third-party applications.
Constant Value: "android.permission.SET_ORIENTATION"
public staticfinalStringSET_POINTER_SPEED
Added in APIlevel 13
Allows low-level access to setting the pointer speed.
Not for use by third-party applications.
Constant Value: "android.permission.SET_POINTER_SPEED"
publicstatic finalStringSET_PREFERRED_APPLICATIONS
Added in APIlevel 1
This constant was deprecated in API level 7.
No longer useful, see addPackageToPreferred(String)for details.
Constant Value: "android.permission.SET_PREFERRED_APPLICATIONS"
public staticfinalStringSET_PROCESS_LIMIT
Added in APIlevel 1
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"
public static finalStringSET_TIME
Added in APIlevel 8
Allows applications to set the system time.
Not for use by third-party applications.
Constant Value: "android.permission.SET_TIME"
public staticfinalStringSET_TIME_ZONE
Added in APIlevel 1
Allows applications to set the system time zone
Constant Value: "android.permission.SET_TIME_ZONE"
public staticfinalStringSET_WALLPAPER
Added in APIlevel 1
Allows applications to set the wallpaper
Constant Value: "android.permission.SET_WALLPAPER"
public staticfinalStringSET_WALLPAPER_HINTS
Added in APIlevel 1
Allows applications to set the wallpaper hints
Constant Value: "android.permission.SET_WALLPAPER_HINTS"
publicstatic finalStringSIGNAL_PERSISTENT_PROCESSES
Added in APIlevel 1
Allow an application to request that a signal be sent to all persistentprocesses.
Not for use by third-party applications.
Constant Value: "android.permission.SIGNAL_PERSISTENT_PROCESSES"
public static finalStringSTATUS_BAR
Added in APIlevel 1
Allows an application to open, close, or disable the status bar and itsicons.
Not for use by third-party applications.
Constant Value: "android.permission.STATUS_BAR"
public staticfinalStringSUBSCRIBED_FEEDS_READ
Added in APIlevel 1
Allows an application to allow access the subscribed feedsContentProvider.
Constant Value: "android.permission.SUBSCRIBED_FEEDS_READ"
public staticfinalStringSUBSCRIBED_FEEDS_WRITE
Added in APIlevel 1
Constant Value: "android.permission.SUBSCRIBED_FEEDS_WRITE"
public staticfinalStringSYSTEM_ALERT_WINDOW
Added in APIlevel 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 thispermission; these windows are intended for system-level interaction with theuser.
Constant Value: "android.permission.SYSTEM_ALERT_WINDOW"
public static finalStringTRANSMIT_IR
Added in APIlevel 19
Allows using the device's IR transmitter, if available
Constant Value: "android.permission.TRANSMIT_IR"
public staticfinalStringUNINSTALL_SHORTCUT
Added in APIlevel 19
Allows an application to uninstall a shortcut in Launcher
Constant Value: "com.android.launcher.permission.UNINSTALL_SHORTCUT"
public staticfinalStringUPDATE_DEVICE_STATS
Added in APIlevel 3
Allows an application to update device statistics.
Not for use by third-party applications.
Constant Value: "android.permission.UPDATE_DEVICE_STATS"
public staticfinalStringUSE_CREDENTIALS
Added in APIlevel 5
Allows an application to request authtokens from the AccountManager
Constant Value: "android.permission.USE_CREDENTIALS"
public static finalStringUSE_SIP
Added in APIlevel 9
Allows an application to use SIP service
Constant Value: "android.permission.USE_SIP"
public static finalStringVIBRATE
Added in APIlevel 1
Allows access to the vibrator
Constant Value: "android.permission.VIBRATE"
public static finalStringWAKE_LOCK
Added in APIlevel 1
Allows using PowerManager WakeLocks to keep processor from sleeping orscreen from dimming
Constant Value: "android.permission.WAKE_LOCK"
public staticfinalStringWRITE_APN_SETTINGS
Added in APIlevel 1
Allows applications to write the apn settings.
Not for use by third-party applications.
Constant Value: "android.permission.WRITE_APN_SETTINGS"
public staticfinalStringWRITE_CALENDAR
Added in APIlevel 1
Allows an application to write (but not read) the user's calendar data.
Constant Value: "android.permission.WRITE_CALENDAR"
public staticfinalStringWRITE_CALL_LOG
Added in APIlevel 16
Allows an application to write (but not read) the user's contacts data.
Note: If your app uses the WRITE_CONTACTSpermission and both your minSdkVersion andtargetSdkVersionvalues are set to 15 or lower, the system implicitly grants your app this permission.If you don't need this permission, be sure yourtargetSdkVersion is16 or higher.
Constant Value: "android.permission.WRITE_CALL_LOG"
public staticfinalStringWRITE_CONTACTS
Added in APIlevel 1
Allows an application to write (but not read) the user's contacts data.
Constant Value: "android.permission.WRITE_CONTACTS"
public staticfinalStringWRITE_EXTERNAL_STORAGE
Added in APIlevel 4
Allows an application to write to external storage.
Note: If both your minSdkVersion and targetSdkVersionvalues are set to 3 or lower, the system implicitly grants your app thispermission. If you don't need this permission, be sure yourtargetSdkVersion is4 or higher.
Starting in API level 19, this permission is not required toread/write files in your application-specific directories returned bygetExternalFilesDir(String)andgetExternalCacheDir().
Constant Value: "android.permission.WRITE_EXTERNAL_STORAGE"
public staticfinalStringWRITE_GSERVICES
Added in APIlevel 1
Allows an application to modify the Google service map.
Not for use by third-party applications.
Constant Value: "android.permission.WRITE_GSERVICES"
public staticfinalStringWRITE_HISTORY_BOOKMARKS
Added in APIlevel 4
Allows an application to write (but not read) the user's browsing historyand bookmarks.
Constant Value: "com.android.browser.permission.WRITE_HISTORY_BOOKMARKS"
public staticfinalStringWRITE_PROFILE
Added in APIlevel 14
Allows an application to write (but not read) the user's personal profiledata.
Constant Value: "android.permission.WRITE_PROFILE"
public staticfinalStringWRITE_SECURE_SETTINGS
Added in APIlevel 3
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"
public staticfinalStringWRITE_SETTINGS
Added in APIlevel 1
Allows an application to read or write the system settings.
Constant Value: "android.permission.WRITE_SETTINGS"
public static finalStringWRITE_SMS
Added in APIlevel 1
Allows an application to write SMS messages.
Constant Value: "android.permission.WRITE_SMS"
public staticfinalStringWRITE_SOCIAL_STREAM
Added in APIlevel 15
Allows an application to write (but not read) the user's social streamdata.
Constant Value: "android.permission.WRITE_SOCIAL_STREAM"
public staticfinalStringWRITE_SYNC_SETTINGS
Added in APIlevel 1
Allows applications to write the sync settings
Constant Value: "android.permission.WRITE_SYNC_SETTINGS"
public staticfinalStringWRITE_USER_DICTIONARY
Added in APIlevel 16
Allows an application to write to the user dictionary.
Constant Value: "android.permission.WRITE_USER_DICTIONARY"
Public Constructors
public Manifest.permission()
Added in APIlevel 1
- Manifest.permission
- Manifest.permission
- Manifest.permission
- Manifest.permission
- Manifest.permission
- Manifest.permission
- Manifest.permission
- permission - Android权限(Manifest.permission)
- android.Manifest.permission
- Android Manifest permission
- Manifest.permission类详解
- 翻译-Manifest.permission
- Manifest中的Permission
- Android Manifest标签之manifest,meta-data,path-permission,permission
- Android 4.0 Manifest Permission 改动
- Android Manifest.permission 权限控制
- Android.Manifest.permission权限大全
- Android.Manifest.permission权限大全
- 使用HTML5的十大原因
- 网络编程之UDP协议
- 小组级git服务器的搭建
- Hiho一下第一周 ——O(n) 求 最长回文子串
- Mysql中文乱码问题完美解决方案
- Manifest.permission
- cacti和nagios的整合
- 大学毕业第一份工作重要吗?这篇文章读透你就明白了
- 轮循遍历某个目录下所有文件包含子目录文件
- 全栈JavaScript之路( 二十五 )访问元素的样式
- 发现并防止托管代码中出现内存泄漏
- 神速代码
- Oracle 本地导出导入 imp/exp
- java WeakHashMap