简体   繁体   中英

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 ). 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.

You do not need any permission for getExternalFilesDir().

Not in manifest.

Not at run time.

Not for any Android version.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM