简体   繁体   中英

How to ask “Allow access photos, media and files on you device?” on Android 11 (in android studio)?

How to ask permissions like this in Android Studio?

在此处输入图片说明

starting Android 6 there is a feature called Runtime permissions , check out linked doc. permission on the screen is WRITE_EXTERNAL_STORAGE (or READ_EXTERNAL_STORAGE if you want to read files only, without storing)

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