i'm currently making an apps that can upload choosen image from gallery to mysql database via php, but now i'm in confuse because i read on android 11 or above you need a storage access permission. So, is permission to access the storage is needed when you only need to choose image from gallery?
Thank you
是的,您的应用必须具有权限<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
并且您必须提示用户接受该权限才能从图库中选择文件
不,您不需要任何使用 ACTION_PICK、ACTION_GET_CONTENT 或 ACTION_OPEN_DOCUMENT 的权限。
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.