Answer the question
In order to leave comments, you need to log in
How to send an SD card access request?
How to send an access request to an external (removable) SD card?
It is necessary through the dialogue (as for example in Google photo):
I did not find anything like this in Google, all that is - through Intent.ACTION_OPEN_DOCUMENT_TREE.
UPD: It seems that few people understand the difference between built-in memory and an removable SD card (i.e. a flash drive, physical, which you can pick up), which is why there are a lot of useless answers below.
Please do not write more stupid answers if you do not understand the topic of the question!
Answer the question
In order to leave comments, you need to log in
No special permissions are required to read and write to an external SD. Standard only:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question