- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
当 Android 4.1 JellyBean (API 16) 在 Google I/O 上发布时,它引入了以下权限:
READ_EXTERNAL_STORAGE
Provides protected read access to external storage. In Android 4.1 by default all applications still have read access. This will be changed in a future release to require that applications explicitly request read access using this permission. If your application already requests write access, it will automatically get read access as well. There is a new developer option to turn on read access restriction, for developers to test their applications against how Android will behave in the future.
http://developer.android.com/about/versions/android-4.1.html#Permissions
我有一个应用程序获取 API 16 并需要 WRITE_EXTERNAL_STORAGE 权限。我正准备部署更新并注意到 READ_EXTERNAL_STORAGE 权限现在在开发人员门户中列为必需权限。对于上周部署的更新,它未在 Google Play 中列为必需权限。此应用程序未明确请求 READ_EXTERNAL_STORAGE 权限。
是否会提示已授予此应用程序 WRITE_EXTERNAL_STORAGE 权限的用户在更新应用程序时授予额外的隐式 READ_EXTERNAL_STORAGE 权限?
更新:
我们已经发布了该应用程序,JellyBean 设备无需请求 READ_EXTERNAL_STORAGE 权限即可自动更新。在未来的版本中,当我明确声明对 READ_EXTERNAL_STORAGE 的要求时,是否会要求已经授予 WRITE_EXTERNAL_STORAGE 权限的用户授予 READ_EXTERNAL_STORAGE 权限?
最佳答案
从 API 19 (Android 4.4) 开始,您必须明确指定 READ_EXTERNAL_STORAGE
权限。是的,如果您有 WRITE_EXTERNAL_STORAGE
权限,您将被隐式授予 READ_EXTERNAL_STORAGE
但如果您需要对外部存储的只读访问权限,则必须指定 READ_EXTERNAL_STORAGE
.
校对链接:http://developer.android.com/reference/android/Manifest.permission.html#READ_EXTERNAL_STORAGE
关于android - Google Play 显示隐含的 READ_EXTERNAL_STORAGE 权限,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12976822/
我正在使用 Fortran90,但我对它不太熟悉。 在代码的某些地方,我想在 t0 和 tf 之间创建一个由 n 个线性等距点组成的数组,所以我尝试了以下方法: t = t0+(/(i,i=0,n-1
我试图弄清楚为什么在数组构造函数内的 do 构造之前放置标量会产生它所得到的答案。 我一般理解 do 结构,(/(i,i=1,5)/) 相当于 (/1,2,3,4,5/)。 real, dimensi
我目前遇到的情况是,我需要能够通过应用程序 B 的隐式 Intent 广播来启动应用程序 A。应用程序之间没有数据传递。应用程序 A 被简单地启动,显示特定的 Activity。 我的问题是这样的;从
我是一名优秀的程序员,十分优秀!