Only dangerous permissions require user agreement. The way Android asks the user to grant dangerous permissions depends on the version of Android running on the user's device, and the system version targeted by your app.

在android6.0(含6.0)以上的版本,是在运行时候进行权限的检测提示;
If the device is running Android 6.0 (API level 23) or higher, and the app's targetSdkVersion is 23 or higher, the user isn't notified of any app permissions at install time. Your app must ask the user to grant the dangerous permissions at runtime.


在android5.1.1(含5.1.1)一下的版本,是在安装时候进行权限的检测;
If the device is running Android 5.1.1 (API level 22) or lower, or the app's targetSdkVersion is 22 or lower while running on any version of Android, the system automatically asks the user to grant all dangerous permissions for your app at install-time

转载于:https://www.cnblogs.com/china-flint/p/10000069.html

更多相关文章

  1. Android各个发行版本对应使用的SQLite版本
  2. Android--截屏(支持Android7.1.1,无需root)
  3. Android(安卓)检测内存是否过低
  4. CTS/GTS 常见问题汇总
  5. Android(安卓)6.0 权限适配
  6. android 判断真机还是虚拟机的方法汇总
  7. Linux adb运行时提示:No such file or directory
  8. Android(安卓)HorizontalScrollView回弹效果
  9. Android(安卓)版本号等等获取

随机推荐

  1. 2014.01.21 ——— android 关联android-
  2. 使用NetBeans搭建Android开发环境
  3. android 使用html5作布局文件: webview跟
  4. Android系统配置数据库注释(settings.db)
  5. 锁屏界面
  6. Android(安卓)环境搭建
  7. android“设置”里的版本号
  8. IM-A820L限制GSM,WCDMA上网的原理(其他泛泰
  9. Android(安卓)拨号器的简单实现
  10. Android(安卓)多媒体扫描过程(Android(安