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

最新文章

  1. GCC 编译优化指南(转)
  2. Podfile升级后的影响
  3. PHP时间格式控制符对照表
  4. MariaDB10.2.X-新特性1-支持分析函数
  5. 小学生之Java中的异常
  6. jQuery.fn和jQuery.prototype jquery.extend() jquery.fn.extend()区别介绍
  7. 深入理解css优先级
  8. 929. Unique Email Addresses
  9. CSS3-1
  10. Intellij IDEA 中如何查看maven项目中所有jar包的依赖关系图(转载)
  11. Unity3D中利用Action实现自己的消息管理(订阅/发布)类
  12. Android沉浸式状态栏的简单实现
  13. 软工团队 - UML设计
  14. python3内置函数练习
  15. ajax那些事儿
  16. 关于synchronized和lock 的使用及其在线程间的通信
  17. MT【166】青蛙跳
  18. 小米推送 简介 集成 MD
  19. 屏蔽win10中文输入法
  20. HDU1010:Tempter of the Bone(dfs+剪枝)

热门文章

  1. 牛客假日团队赛2 F.跳跃
  2. JavaScript读取文本,并渲染在html
  3. GUI的最终选择 Tkinter(八):Message组件、Spinbox组件、PanedWindow组件、Toplevel组件
  4. TDH-ssh免密登录
  5. java中接口(interface)和虚基类(abstract class)的区别
  6. MVC的viewPage 通用属性运用。
  7. HubbleDotNet 使用类
  8. css3背景与边框相关样式
  9. 使用as开发jni入门(附验证):配置ndk开发环境,配置as相关jni配置
  10. 小白学phoneGap《构建跨平台APP:phoneGap移动应用实战》连载三(通过实例来体验生命周期)