[英]Do I have to check READ_EXTERNAL_STORAGE before unzip obb file?
I want to unzip obb
file to getExternalFilesDir()
once the app was launched by the user (apk is built with minSdkVersion 16
).一旦用户启动应用程序(apk 是用minSdkVersion 16
构建的),我想将obb
文件解压缩到getExternalFilesDir()
) 。 I think to show runtime check permission to the user just when the app was launched is a bad experience.我认为在应用程序启动时向用户显示运行时检查权限是一种糟糕的体验。 Could you tell me whether I need to check permission before just unzip obb file.你能告诉我在解压 obb 文件之前我是否需要检查权限。
You do not need any permission for getExternalFilesDir(). getExternalFilesDir() 不需要任何权限。
Not in manifest.不在清单中。
Not at run time.不是在运行时。
Not for any Android version.不适用于任何 Android 版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.