Android6.0运行时权限(危险权限列表)

从 Android 6.0(API 23)开始,用户开始在应用运行时向其授予权限,而不是在应用安装时授予。这种权限机制可以让用户更好的管理应用的权限,保障用户隐私。
Android将权限分为普通权限和危险权限,危险权限需要在使用时让用户手动允许。危险权限一共9组24个权限

权限列表

权限组名 权限名
CALENDAR READ_CALENDAR,WRITE_CALENDAR
CAMERA CAMERA
CONTACTS READ_CONTACTS,WRITE_CONTACTS,GET_ACCOUNTS
LOCATION ACCESS_FINE_LOCATION,ACCESS_COARSE_LOCATION
MICROPHONE RECORD_AUDIO
PHONE READ_PHONE_STATE,CALL_PHONE, READ_CALL_LOG,WRITE_CALL_LOG,ADD_VOICEMAIL,USE_SIP,PROCESS_OUTGOING_CALLS
SENSORS BODY_SENSORS
SMS SEND_SMS,RECEIVE_SMS,READ_SMS,RECEIVE_WAP_PUSH,RECEIVE_MMS
STORAGE READ_EXTERNAL_STORAGE,WRITE_EXTERNAL_STORAGE

sdk对应版本列表

平台版本 SDK版本 版本名称
9.0 28 Pie (Android P)
8.1 27 Oreo(Android O)(奥利奥)
8.0 26 Oreo(Android O)(奥利奥)
7.1 25 Nougat(Android N)(牛轧糖)
7.0 24 Nougat(Android N)(牛轧糖)
6.0 23 Marshmallow(Android M)(棉花糖)
5.1 22 Lollipop(Android L)(棒棒糖)
5.0 21 Lollipop(Android L)(棒棒糖)
4.4 19 KITKAT(奇巧巧克力)
4.3 18 JELLY_BEAN_MR2
4.2 4.2.2 17 JELLY_BEAN_MR1
4.1 4.1.1 16 JELLY_BEAN
4.0.3 4.0.4 15 ICE_CREAM_SANDWICH_MR1
4.0 4.01 4.02 14 ICE_CREAM_SANDWICH
3.2 13 HONEYCOMB_MR2
3.1.X 12 HONEYCOMB_MR1
3.0.X 11 HONEYCOMB
2.3.3 2.3.4 10 GINGERBREAD_MR1

你可能感兴趣的:(Android应用篇)