清单文件权限配置:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
public static final String WRITE_EXTERNAL_STORAGE = "android.permission.WRITE_EXTERNAL_STORAGE";
常量 permission
public static final class permission {
public static final String ACCESS_CHECKIN_PROPERTIES = "android.permission.ACCESS_CHECKIN_PROPERTIES";
public static final String ACCESS_COARSE_LOCATION = "android.permission.ACCESS_COARSE_LOCATION";
public static final String ACCESS_FINE_LOCATION = "android.permission.ACCESS_FINE_LOCATION";
public static final String ACCESS_LOCATION_EXTRA_COMMANDS = "android.permission.ACCESS_LOCATION_EXTRA_COMMANDS";
public static final String ACCESS_NETWORK_STATE = "android.permission.ACCESS_NETWORK_STATE";
public static final String ACCESS_NOTIFICATION_POLICY = "android.permission.ACCESS_NOTIFICATION_POLICY";
public static final String ACCESS_WIFI_STATE = "android.permission.ACCESS_WIFI_STATE";
public static final String ACCOUNT_MANAGER = "android.permission.ACCOUNT_MANAGER";
public static final String ADD_VOICEMAIL = "com.android.voicemail.permission.ADD_VOICEMAIL";
public static final String ANSWER_PHONE_CALLS = "android.permission.ANSWER_PHONE_CALLS";
public static final String BATTERY_STATS = "android.permission.BATTERY_STATS";
public static final String BIND_ACCESSIBILITY_SERVICE = "android.permission.BIND_ACCESSIBILITY_SERVICE";
public static final String BIND_APPWIDGET = "android.permission.BIND_APPWIDGET";
public static final String BIND_AUTOFILL_SERVICE = "android.permission.BIND_AUTOFILL_SERVICE";
/** @deprecated */
@Deprecated
public static final String BIND_CARRIER_MESSAGING_SERVICE = "android.permission.BIND_CARRIER_MESSAGING_SERVICE";
public static final String BIND_CARRIER_SERVICES = "android.permission.BIND_CARRIER_SERVICES";
public static final String BIND_CHOOSER_TARGET_SERVICE = "android.permission.BIND_CHOOSER_TARGET_SERVICE";
public static final String BIND_CONDITION_PROVIDER_SERVICE = "android.permission.BIND_CONDITION_PROVIDER_SERVICE";
public static final String BIND_DEVICE_ADMIN = "android.permission.BIND_DEVICE_ADMIN";
public static final String BIND_DREAM_SERVICE = "android.permission.BIND_DREAM_SERVICE";
public static final String BIND_INCALL_SERVICE = "android.permission.BIND_INCALL_SERVICE";
public static final String BIND_INPUT_METHOD = "android.permission.BIND_INPUT_METHOD";
public static final String BIND_MIDI_DEVICE_SERVICE = "android.permission.BIND_MIDI_DEVICE_SERVICE";
public static final String BIND_NFC_SERVICE = "android.permission.BIND_NFC_SERVICE";
public static final String BIND_NOTIFICATION_LISTENER_SERVICE = "android.permission.BIND_NOTIFICATION_LISTENER_SERVICE";
public static final String BIND_PRINT_SERVICE = "android.permission.BIND_PRINT_SERVICE";
public static final String BIND_QUICK_SETTINGS_TILE = "android.permission.BIND_QUICK_SETTINGS_TILE";
public static final String BIND_REMOTEVIEWS = "android.permission.BIND_REMOTEVIEWS";
public static final String BIND_SCREENING_SERVICE = "android.permission.BIND_SCREENING_SERVICE";
public static final String BIND_TELECOM_CONNECTION_SERVICE = "android.permission.BIND_TELECOM_CONNECTION_SERVICE";
public static final String BIND_TEXT_SERVICE = "android.permission.BIND_TEXT_SERVICE";
public static final String BIND_TV_INPUT = "android.permission.BIND_TV_INPUT";
public static final String BIND_VISUAL_VOICEMAIL_SERVICE = "android.permission.BIND_VISUAL_VOICEMAIL_SERVICE";
public static final String BIND_VOICE_INTERACTION = "android.permission.BIND_VOICE_INTERACTION";
public static final String BIND_VPN_SERVICE = "android.permission.BIND_VPN_SERVICE";
public static final String BIND_VR_LISTENER_SERVICE = "android.permission.BIND_VR_LISTENER_SERVICE";
public static final String BIND_WALLPAPER = "android.permission.BIND_WALLPAPER";
public static final String BLUETOOTH = "android.permission.BLUETOOTH";
public static final String BLUETOOTH_ADMIN = "android.permission.BLUETOOTH_ADMIN";
public static final String BLUETOOTH_PRIVILEGED = "android.permission.BLUETOOTH_PRIVILEGED";
public static final String BODY_SENSORS = "android.permission.BODY_SENSORS";
public static final String BROADCAST_PACKAGE_REMOVED = "android.permission.BROADCAST_PACKAGE_REMOVED";
public static final String BROADCAST_SMS = "android.permission.BROADCAST_SMS";
public static final String BROADCAST_STICKY = "android.permission.BROADCAST_STICKY";
public static final String BROADCAST_WAP_PUSH = "android.permission.BROADCAST_WAP_PUSH";
public static final String CALL_PHONE = "android.permission.CALL_PHONE";
public static final String CALL_PRIVILEGED = "android.permission.CALL_PRIVILEGED";
public static final String CAMERA = "android.permission.CAMERA";
public static final String CAPTURE_AUDIO_OUTPUT = "android.permission.CAPTURE_AUDIO_OUTPUT";
public static final String CAPTURE_SECURE_VIDEO_OUTPUT = "android.permission.CAPTURE_SECURE_VIDEO_OUTPUT";
public static final String CAPTURE_VIDEO_OUTPUT = "android.permission.CAPTURE_VIDEO_OUTPUT";
public static final String CHANGE_COMPONENT_ENABLED_STATE = "android.permission.CHANGE_COMPONENT_ENABLED_STATE";
public static final String CHANGE_CONFIGURATION = "android.permission.CHANGE_CONFIGURATION";
public static final String CHANGE_NETWORK_STATE = "android.permission.CHANGE_NETWORK_STATE";
public static final String CHANGE_WIFI_MULTICAST_STATE = "android.permission.CHANGE_WIFI_MULTICAST_STATE";
public static final String CHANGE_WIFI_STATE = "android.permission.CHANGE_WIFI_STATE";
public static final String CLEAR_APP_CACHE = "android.permission.CLEAR_APP_CACHE";
public static final String CONTROL_LOCATION_UPDATES = "android.permission.CONTROL_LOCATION_UPDATES";
public static final String DELETE_CACHE_FILES = "android.permission.DELETE_CACHE_FILES";
public static final String DELETE_PACKAGES = "android.permission.DELETE_PACKAGES";
public static final String DIAGNOSTIC = "android.permission.DIAGNOSTIC";
public static final String DISABLE_KEYGUARD = "android.permission.DISABLE_KEYGUARD";
public static final String DUMP = "android.permission.DUMP";
public static final String EXPAND_STATUS_BAR = "android.permission.EXPAND_STATUS_BAR";
public static final String FACTORY_TEST = "android.permission.FACTORY_TEST";
public static final String GET_ACCOUNTS = "android.permission.GET_ACCOUNTS";
public static final String GET_ACCOUNTS_PRIVILEGED = "android.permission.GET_ACCOUNTS_PRIVILEGED";
public static final String GET_PACKAGE_SIZE = "android.permission.GET_PACKAGE_SIZE";
/** @deprecated */
@Deprecated
public static final String GET_TASKS = "android.permission.GET_TASKS";
public static final String GLOBAL_SEARCH = "android.permission.GLOBAL_SEARCH";
public static final String INSTALL_LOCATION_PROVIDER = "android.permission.INSTALL_LOCATION_PROVIDER";
public static final String INSTALL_PACKAGES = "android.permission.INSTALL_PACKAGES";
public static final String INSTALL_SHORTCUT = "com.android.launcher.permission.INSTALL_SHORTCUT";
public static final String INSTANT_APP_FOREGROUND_SERVICE = "android.permission.INSTANT_APP_FOREGROUND_SERVICE";
public static final String INTERNET = "android.permission.INTERNET";
public static final String KILL_BACKGROUND_PROCESSES = "android.permission.KILL_BACKGROUND_PROCESSES";
public static final String LOCATION_HARDWARE = "android.permission.LOCATION_HARDWARE";
public static final String MANAGE_DOCUMENTS = "android.permission.MANAGE_DOCUMENTS";
public static final String MANAGE_OWN_CALLS = "android.permission.MANAGE_OWN_CALLS";
public static final String MASTER_CLEAR = "android.permission.MASTER_CLEAR";
public static final String MEDIA_CONTENT_CONTROL = "android.permission.MEDIA_CONTENT_CONTROL";
public static final String MODIFY_AUDIO_SETTINGS = "android.permission.MODIFY_AUDIO_SETTINGS";
public static final String MODIFY_PHONE_STATE = "android.permission.MODIFY_PHONE_STATE";
public static final String MOUNT_FORMAT_FILESYSTEMS = "android.permission.MOUNT_FORMAT_FILESYSTEMS";
public static final String MOUNT_UNMOUNT_FILESYSTEMS = "android.permission.MOUNT_UNMOUNT_FILESYSTEMS";
public static final String NFC = "android.permission.NFC";
public static final String PACKAGE_USAGE_STATS = "android.permission.PACKAGE_USAGE_STATS";
/** @deprecated */
@Deprecated
public static final String PERSISTENT_ACTIVITY = "android.permission.PERSISTENT_ACTIVITY";
public static final String PROCESS_OUTGOING_CALLS = "android.permission.PROCESS_OUTGOING_CALLS";
public static final String READ_CALENDAR = "android.permission.READ_CALENDAR";
public static final String READ_CALL_LOG = "android.permission.READ_CALL_LOG";
public static final String READ_CONTACTS = "android.permission.READ_CONTACTS";
public static final String READ_EXTERNAL_STORAGE = "android.permission.READ_EXTERNAL_STORAGE";
public static final String READ_FRAME_BUFFER = "android.permission.READ_FRAME_BUFFER";
/** @deprecated */
@Deprecated
public static final String READ_INPUT_STATE = "android.permission.READ_INPUT_STATE";
public static final String READ_LOGS = "android.permission.READ_LOGS";
public static final String READ_PHONE_NUMBERS = "android.permission.READ_PHONE_NUMBERS";
public static final String READ_PHONE_STATE = "android.permission.READ_PHONE_STATE";
public static final String READ_SMS = "android.permission.READ_SMS";
public static final String READ_SYNC_SETTINGS = "android.permission.READ_SYNC_SETTINGS";
public static final String READ_SYNC_STATS = "android.permission.READ_SYNC_STATS";
public static final String READ_VOICEMAIL = "com.android.voicemail.permission.READ_VOICEMAIL";
public static final String REBOOT = "android.permission.REBOOT";
public static final String RECEIVE_BOOT_COMPLETED = "android.permission.RECEIVE_BOOT_COMPLETED";
public static final String RECEIVE_MMS = "android.permission.RECEIVE_MMS";
public static final String RECEIVE_SMS = "android.permission.RECEIVE_SMS";
public static final String RECEIVE_WAP_PUSH = "android.permission.RECEIVE_WAP_PUSH";
public static final String RECORD_AUDIO = "android.permission.RECORD_AUDIO";
public static final String REORDER_TASKS = "android.permission.REORDER_TASKS";
public static final String REQUEST_COMPANION_RUN_IN_BACKGROUND = "android.permission.REQUEST_COMPANION_RUN_IN_BACKGROUND";
public static final String REQUEST_COMPANION_USE_DATA_IN_BACKGROUND = "android.permission.REQUEST_COMPANION_USE_DATA_IN_BACKGROUND";
public static final String REQUEST_DELETE_PACKAGES = "android.permission.REQUEST_DELETE_PACKAGES";
public static final String REQUEST_IGNORE_BATTERY_OPTIMIZATIONS = "android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS";
public static final String REQUEST_INSTALL_PACKAGES = "android.permission.REQUEST_INSTALL_PACKAGES";
/** @deprecated */
@Deprecated
public static final String RESTART_PACKAGES = "android.permission.RESTART_PACKAGES";
public static final String SEND_RESPOND_VIA_MESSAGE = "android.permission.SEND_RESPOND_VIA_MESSAGE";
public static final String SEND_SMS = "android.permission.SEND_SMS";
public static final String SET_ALARM = "com.android.alarm.permission.SET_ALARM";
public static final String SET_ALWAYS_FINISH = "android.permission.SET_ALWAYS_FINISH";
public static final String SET_ANIMATION_SCALE = "android.permission.SET_ANIMATION_SCALE";
public static final String SET_DEBUG_APP = "android.permission.SET_DEBUG_APP";
/** @deprecated */
@Deprecated
public static final String SET_PREFERRED_APPLICATIONS = "android.permission.SET_PREFERRED_APPLICATIONS";
public static final String SET_PROCESS_LIMIT = "android.permission.SET_PROCESS_LIMIT";
public static final String SET_TIME = "android.permission.SET_TIME";
public static final String SET_TIME_ZONE = "android.permission.SET_TIME_ZONE";
public static final String SET_WALLPAPER = "android.permission.SET_WALLPAPER";
public static final String SET_WALLPAPER_HINTS = "android.permission.SET_WALLPAPER_HINTS";
public static final String SIGNAL_PERSISTENT_PROCESSES = "android.permission.SIGNAL_PERSISTENT_PROCESSES";
public static final String STATUS_BAR = "android.permission.STATUS_BAR";
public static final String SYSTEM_ALERT_WINDOW = "android.permission.SYSTEM_ALERT_WINDOW";
public static final String TRANSMIT_IR = "android.permission.TRANSMIT_IR";
public static final String UNINSTALL_SHORTCUT = "com.android.launcher.permission.UNINSTALL_SHORTCUT";
public static final String UPDATE_DEVICE_STATS = "android.permission.UPDATE_DEVICE_STATS";
public static final String USE_FINGERPRINT = "android.permission.USE_FINGERPRINT";
public static final String USE_SIP = "android.permission.USE_SIP";
public static final String VIBRATE = "android.permission.VIBRATE";
public static final String WAKE_LOCK = "android.permission.WAKE_LOCK";
public static final String WRITE_APN_SETTINGS = "android.permission.WRITE_APN_SETTINGS";
public static final String WRITE_CALENDAR = "android.permission.WRITE_CALENDAR";
public static final String WRITE_CALL_LOG = "android.permission.WRITE_CALL_LOG";
public static final String WRITE_CONTACTS = "android.permission.WRITE_CONTACTS";
public static final String WRITE_EXTERNAL_STORAGE = "android.permission.WRITE_EXTERNAL_STORAGE";
public static final String WRITE_GSERVICES = "android.permission.WRITE_GSERVICES";
public static final String WRITE_SECURE_SETTINGS = "android.permission.WRITE_SECURE_SETTINGS";
public static final String WRITE_SETTINGS = "android.permission.WRITE_SETTINGS";
public static final String WRITE_SYNC_SETTINGS = "android.permission.WRITE_SYNC_SETTINGS";
public static final String WRITE_VOICEMAIL = "com.android.voicemail.permission.WRITE_VOICEMAIL";
public permission() {
throw new RuntimeException("Stub!");
}
}
ACCESS_CHECKIN_PROPERTIES
允许在登入数据库的时候读写其中的属性表,并上传改变的值
ACCESS_COARSE_LOCATION
允许应用访问范围(如WIFI)性的定位
ACCESS_FINE_LOCATION
允许应用访问精确(如GPS)性的定位
ACCESS_LOCATION_EXTRA_COMMANDS
允许应访问额外的提供定位的指令
ACCESS_MOCK_LOCATION
允许应用创建用于测试的模拟定位提供者
ACCESS_NETWORK_STATE
允许应用访问网络上的信息
ACCESS_SURFACE_FLINGER
允许应用使用低版本视图的特征
ACCESS_WIFI_STATE
允许应用访问关羽Wi-Fi网络的信息
ACCOUNT_MANAGER
允许应用进入帐户认证
AUTHENTICATE_ACCOUNTS
允许应用为ACCOUNT_MANAGER扮演一个帐户认证系统
BATTERY_STATS
允许应用去统计电源信息
BIND_APPWIDGET
允许应用告诉AppWidget哪个应用能够访问该AppWidget的数据
BIND_DEVICE_ADMIN
必须通过关机接收者的请求来确保只有系统能够与之交互
BIND_INPUT_METHOD
必须通过InputMethodService的请求来确保只有系统能够与之绑定
BIND_WALLPAPER
必须通过WallpaperService的请求来确保只有系统能够与之绑定
BLUETOOTH
允许应用去连接蓝牙设备
BLUETOOTH_ADMIN
允许应用找到与之连接的蓝牙设备
BRICK
被请求废止设备(非常危险)
BROADCAST_PACKAGE_REMOVED
允许应用发出一个程序包被移除的广播消息
BROADCAST_SMS
允许应用发出一个收到短信的消息
BROADCAST_STICKY
允许应用发出一个与intent相连的消息
BROADCAST_WAP_PUSH
允许应用发出一个收到WAP PUSH的广播消息
CALL_PHONE
允许应用启动一个用户确认电话被拨打而不通过拨打电话的用户界面的的拨打程序
CALL_PRIVILEGED
允许应用启动一个用户确认电话被拨打而不通过拨打电话的用户界面的的任意号码的拨打,包括紧急号码.
CAMERA
能够启动照相机设备的请求
CHANGE_COMPONENT_ENABLED_STATE
允许应用去改变一个应用是否是激活状态
CHANGE_CONFIGURATION
允许应用修改当前的配置,如本地设置
CHANGE_NETWORK_STATE
允许应用改变网络的连接状态
CHANGE_WIFI_MULTICAST_STATE
允许应用进入Wi-Fi的组播方式
CHANGE_WIFI_STATE
允许应用改变Wi-Fi的连接状态
CLEAR_APP_CACHE
允许应用清除所有安装在设备上的应用的缓存
CLEAR_APP_USER_DATA
允许应用清除使用者的信息资料
CONTROL_LOCATION_UPDATES
允许从广播设备来更新或不更新本地的消息
DELETE_CACHE_FILES
允许应用删除掉缓存文件
DELETE_PACKAGES
允许应用删除掉程序包
DEVICE_POWER
允许低权限的访问电源管理项
DIAGNOSTIC
允许应用诊断程序资源
DISABLE_KEYGUARD
允许应用禁用键盘锁
DUMP
允许应用从系统服务中恢复转储的信息
EXPAND_STATUS_BAR
允许应用扩大或缩小状态栏
FACTORY_TEST
如制造商测试的应用一样用终极权限用户运行
FLASHLIGHT
允许访问手电筒
FORCE_BACK
允许应用强制的返回操作而不论是不是最终的activity
GET_ACCOUNTS
允许应用访问账目服务中的统计清单
GET_PACKAGE_SIZE
允许应用查找出任何程序包使用的空间
GET_TASKS
允许应用找到关于当前或最近运行的任务和在哪些acitivities里运行
GLOBAL_SEARCH
这个权限可以被内容提供者用来允许使用全程搜索他们的数据
HARDWARE_TEST
允许访问硬件及周边设备.
INJECT_EVENTS
允许应用注入用户事件(键盘、触摸)到事件中然后提供给任意的窗口
INSTALL_LOCATION_PROVIDER
允许应用安装一个位置提供商到位置管理器中
INSTALL_PACKAGES
允许应用安装程序包.
INTERNAL_SYSTEM_WINDOW
允许应用打开被部分系统用户接口使用的窗口
INTERNET
允许应用打开网络套接口
KILL_BACKGROUND_PROCESSES
允许应用去呼叫killBackgroundProcesses(String).方法
MANAGE_ACCOUNTS
允许应用去管理帐户管理者中的重要清单
MANAGE_APP_TOKENS
允许应用去管理(创建、销毁、顺序)在窗口管理者中的应用
MASTER_CLEAR
MODIFY_AUDIO_SETTINGS
允许应用修改全局音频设定
MODIFY_PHONE_STATE
允许改变拨打电话的状态-电源等
MOUNT_FORMAT_FILESYSTEMS
允许格式化可移除的存储仓库的文件系统
MOUNT_UNMOUNT_FILESYSTEMS
允许装备或解除可移除的存储仓库的文件系统
PERSISTENT_ACTIVITY
允许应用使它的activities更持久稳固
PROCESS_OUTGOING_CALLS
允许应用监督、限定或终止呼出的电话
READ_CALENDAR
允许应用读取用户的日历数据
READ_CONTACTS
允许应用读取用户的联系人数据
READ_FRAME_BUFFER
允许应用抓取屏幕和更多可获得的缓冲数据
READ_HISTORY_BOOKMARKS
允许应用去读取(非写)用户浏览历史和书签
READ_INPUT_STATE
允许应用去的当前键盘和控制的状态
READ_LOGS
允许应用读取低级别的系统日志文件
READ_OWNER_DATA
允许应用读取所有者的数据
READ_PHONE_STATE
允许读取电话的状态
READ_SMS
允许应用读取短信息.
READ_SYNC_SETTINGS
允许应用读取同步的设置
READ_SYNC_STATS
允许应用读取同步的统计数据
REBOOT
重新启动设备的请求
RECEIVE_BOOT_COMPLETED
允许应用接收在系统完成启动后发出的ACTION_BOOT_COMPLETED广播信息
RECEIVE_MMS
允许应用去监听多媒体信息并记录和对起进行处理
RECEIVE_SMS
允许应用去监听短消息并记录和对起进行处理
RECEIVE_WAP_PUSH
允许应用监听WAP push信息
RECORD_AUDIO
允许应用记录音频信息
REORDER_TASKS
允许应用改变任务的关系位置
RESTART_PACKAGES
已废弃使用
SEND_SMS
允许应用发送短消息.
SET_ACTIVITY_WATCHER
允许应用查看和控制activities是怎样在系统中运行的
SET_ALWAYS_FINISH
允许应用去控制当activities被覆盖后是否是立即接触结束
SET_ANIMATION_SCALE
改变动画的比例因子
SET_DEBUG_APP
设置一个应用为调试模式
SET_ORIENTATION
允许低级别的设置屏幕的方向
SET_PROCESS_LIMIT
允许应用设置可以运行的最大数的应用进程
SET_TIME
允许应用设置系统时间
SET_TIME_ZONE
允许应用设置系统时区时间
SET_WALLPAPER
允许应用设置壁纸
SET_WALLPAPER_HINTS
允许应用设置锁定的壁纸
SIGNAL_PERSISTENT_PROCESSES
允许应用发出一个给所有稳定进程信号的请求
STATUS_BAR
允许应用打开、关闭或使状态栏或图标失去作用
SUBSCRIBED_FEEDS_READ
允许应用访问内容提供者的签署认证
SUBSCRIBED_FEEDS_WRITE(写入或修改订阅内容的数据库)
SYSTEM_ALERT_WINDOW
允许应用使用TYPE_SYSTEM_ALERT来打开窗口,并将窗口显示于其他应用的顶端
UPDATE_DEVICE_STATS
允许应用更新设备资料信息
USE_CREDENTIALS
允许应用从管理器得到授权请求
VIBRATE
允许应用访问震动器
WAKE_LOCK
允许使用电源锁定管理以使进程休眠或屏幕变暗
WRITE_APN_SETTINGS
允许应用去写入接入点设置
WRITE_CALENDAR
允许应用写(非读)用户的日历数据
WRITE_CONTACTS
允许应用写(非读)用户的联系人数据
WRITE_EXTERNAL_STORAGE
允许应用写(非读)用户的外部存储器
WRITE_GSERVICES
允许应用修改Google服务地图
WRITE_HISTORY_BOOKMARKS
允许应用写(非读)用户的浏览器历史和书签
WRITE_OWNER_DATA
允许应用写(非读)用户的数据
WRITE_SECURE_SETTINGS
允许应用写或读当前系统设置
WRITE_SETTINGS
允许应用写或读系统设置
WRITE_SMS
允许应用写短消息信息
WRITE_SYNC_SETTINGS
允许应用写同步设置
permission_group
public static final String CALENDAR = "android.permission-group.CALENDAR";
CALENDAR
与日历读写相关权限
CAMERA
相机权限
CONTACTS
联系人读写相关权限
LOCATION
用来允许访问用户的当前位置的权限
MICROPHONE
麦克风权限组 (android.permission.RECORD_AUDIO)
PHONE
手机权限组(android.permission.READ_PHONE_STATE读取手机状态,ndroid.permission.CALL_PHONE打电话)等
SENSORS
传感器相关权限
SMS
允许应用写短消息信息
STORAGE
存储相关权限组(android.permission.READ_EXTERNAL_STORAGE读取,android.permission.WRITE_EXTERNAL_STORAGE写入)
转载:https://blog.youkuaiyun.com/u014133119/article/details/80652188