android权限

ACCESS_COARSE_LOCATION

是有关错略的位置信息获取,比如说MyLocation API调用获取的Cellid等定位信息必需添加android.permission.ACCESS_COARSE_LOCATION这个声明


ACCESS_FINE_LOCATION、ACCESS_LOCATION_EXTRA_COMMANDS、 ACCESS_MOCK_LOCATION

是有关GPS定位获取的信息使用GPS LocationProvider类的相关定位信息必需声明android.permission.ACCESS_FINE_LOCATION、 android.permission.ACCESS_LOCATION_EXTRA_COMMANDS和 android.permission.ACCESS_MOCK_LOCATION 

ACCESS_NETWORK_STATE

是获取网络状态的权限控制,如果获取当前GSM网络相关信息必需在 androidmanifest.xml中声明android.permission.ACCESS_NETWORK_STATE这句。 

ACCESS_SURFACE_FLINGER

是使用SurfaceFlinger底层API的令牌,必需声明 android.permission.ACCESS_SURFACE_FLINGER 

ACCESS_WIFI_STATE

权限可以获取使用Wi-Fi等WLAN无线网络,加入 android.permission.ACCESS_WIFI_STATE这句 

ADD_SYSTEM_SERVICE

是系统服务数据库的管理权限,比如添加一个系统服务必需声明 android.permission.ADD_SYSTEM_SERVICE 


BATTERY_STATS

是获取Android平台上电池设备的权限令牌,必需声明 android.permission.BATTERY_STATS才可以获得电池信息 


BLUETOOTH

蓝牙信息类,获取相关的蓝牙信息必声明android.permission.BLUETOOTH


BLUETOOTH_ADMIN

是蓝牙管理权限包含了身份安全认证,必需添加 android.permission.BLUETOOTH_ADMIN类

BRICK    "android.permission.BRICK"  ???

BROADCAST_PACKAGE_REMOVED

是广播包移除类权限,可以移除指定的系统消息,必需声明 android.permission.BROADCAST_PACKAGE_REMOVED这句


BROADCAST_STICKY    "android.permission.BROADCAST_STICKY" 


CALL_PHONE

是允许Android手机拨打电话时使用的权限    "android.permission.CALL_PHONE" 


CALL_PRIVILEGED    "android.permission.CALL_PRIVILEGED" 


CAMERA

是摄像头权限控制,可以管理照相功能的启用    "android.permission.CAMERA" 


CHANGE_COMPONENT_ENABLED_STATE    "android.permission.CHANGE_COMPONENT_ENABLED_STATE" 


CHANGE_CONFIGURATION

是控制Android系统设置等敏感信息的权限,修改时必需有 android.permission.CHANGE_CONFIGURATION声明。 


CHANGE_NETWORK_STATE    "android.permission.CHANGE_NETWORK_STATE" 


CHANGE_WIFI_STATE

是改变WLAN状态的开关,如果打开或关闭Wi-Fi必需加入 android.permission.CHANGE_WIFI_STATE的声明。 


CLEAR_APP_CACHE

清除程序缓存也是需要权限的,不要忘了包含 android.permission.CLEAR_APP_CACHE这句


CLEAR_APP_USER_DATA    "android.permission.CLEAR_APP_USER_DATA" 


DELETE_CACHE_FILES    "android.permission.DELETE_CACHE_FILES" 


DELETE_PACKAGES    "android.permission.DELETE_PACKAGES" 


DEVICE_POWER    "android.permission.DEVICE_POWER" 


DISABLE_KEYGUARD    "android.permission.DISABLE_KEYGUARD" 


DUMP    "android.permission.DUMP" 


EXPAND_STATUS_BAR    "android.permission.EXPAND_STATUS_BAR" 


FACTORY_TEST    "android.permission.FACTORY_TEST" 
FLASHLIGHT    "android.permission.FLASHLIGHT" 
FORCE_BACK    "android.permission.FORCE_BACK" 
FOTA_UPDATE    "android.permission.FOTA_UPDATE" 
GET_ACCOUNTS    "android.permission.GET_ACCOUNTS" 
GET_PACKAGE_SIZE    "android.permission.GET_PACKAGE_SIZE" 
GET_TASKS    "android.permission.GET_TASKS" 
HARDWARE_TEST    "android.permission.HARDWARE_TEST" 
INJECT_EVENTS    "android.permission.INJECT_EVENTS" 
INSTALL_PACKAGES    "android.permission.INSTALL_PACKAGES" 
INTERNAL_SYSTEM_WINDOW    "android.permission.INTERNAL_SYSTEM_WINDOW" 
INTERNET    "android.permission.INTERNET" 
MANAGE_APP_TOKENS    "android.permission.MANAGE_APP_TOKENS" 
MASTER_CLEAR    "android.permission.MASTER_CLEAR" 
MODIFY_AUDIO_SETTINGS    "android.permission.MODIFY_AUDIO_SETTINGS" 
MODIFY_PHONE_STATE    "android.permission.MODIFY_PHONE_STATE" 
MOUNT_UNMOUNT_FILESYSTEMS    "android.permission.MOUNT_UNMOUNT_FILESYSTEMS" 
PERSISTENT_ACTIVITY    "android.permission.PERSISTENT_ACTIVITY" 
PROCESS_OUTGOING_CALLS    "android.permission.PROCESS_OUTGOING_CALLS" 
READ_CALENDAR    "android.permission.READ_CALENDAR" 
READ_CONTACTS    "android.permission.READ_CONTACTS" 
READ_FRAME_BUFFER    "android.permission.READ_FRAME_BUFFER" 
READ_INPUT_STATE    "android.permission.READ_INPUT_STATE" 
READ_LOGS    "android.permission.READ_LOGS" 
READ_OWNER_DATA    "android.permission.READ_OWNER_DATA" 
READ_PHONE_STATE    "android.permission.READ_PHONE_STATE" 
READ_SMS    "android.permission.READ_SMS" 
READ_SYNC_SETTINGS    "android.permission.READ_SYNC_SETTINGS" 
READ_SYNC_STATS    "android.permission.READ_SYNC_STATS" 


RECEIVE_BOOT_COMPLETED

一般用于自启动程序的声明,当Android系统启动时会发送这个广播,所以自启动程序必需 声明android.permission.RECEIVE_BOOT_COMPLETED才可以正常运行

RECEIVE_MMS    "android.permission.RECEIVE_MMS" 
RECEIVE_SMS    "android.permission.RECEIVE_SMS" 
RECEIVE_WAP_PUSH    "android.permission.RECEIVE_WAP_PUSH" 
RECORD_AUDIO    "android.permission.RECORD_AUDIO" 
REORDER_TASKS    "android.permission.REORDER_TASKS" 
RESTART_PACKAGES    "android.permission.RESTART_PACKAGES" 
SEND_SMS    "android.permission.SEND_SMS" 
SET_ACTIVITY_WATCHER    "android.permission.SET_ACTIVITY_WATCHER" 
SET_ALWAYS_FINISH    "android.permission.SET_ALWAYS_FINISH" 
SET_ANIMATION_SCALE    "android.permission.SET_ANIMATION_SCALE" 
SET_DEBUG_APP    "android.permission.SET_DEBUG_APP" 
SET_ORIENTATION    "android.permission.SET_ORIENTATION" 
SET_PREFERRED_APPLICATIONS    "android.permission.SET_PREFERRED_APPLICATIONS" 
SET_PROCESS_FOREGROUND    "android.permission.SET_PROCESS_FOREGROUND" 
SET_PROCESS_LIMIT    "android.permission.SET_PROCESS_LIMIT" 
SET_TIME_ZONE    "android.permission.SET_TIME_ZONE" 
SET_WALLPAPER    "android.permission.SET_WALLPAPER" 
SET_WALLPAPER_HINTS    "android.permission.SET_WALLPAPER_HINTS" 
SIGNAL_PERSISTENT_PROCESSES    "android.permission.SIGNAL_PERSISTENT_PROCESSES" 
STATUS_BAR    "android.permission.STATUS_BAR" 
SYSTEM_ALERT_WINDOW    "android.permission.SYSTEM_ALERT_WINDOW" 
VIBRATE    "android.permission.VIBRATE" 
WAKE_LOCK    "android.permission.WAKE_LOCK" 
WRITE_CALENDAR    "android.permission.WRITE_CALENDAR" 
WRITE_CONTACTS    "android.permission.WRITE_CONTACTS" 
WRITE_OWNER_DATA    "android.permission.WRITE_OWNER_DATA" 
WRITE_SETTINGS    "android.permission.WRITE_SETTINGS" 
WRITE_SMS    "android.permission.WRITE_SMS" 
WRITE_SYNC_SETTINGS    "android.permission.WRITE_SYNC_SETTINGS"

你可能感兴趣的:(android权限)