cancel
Showing results for 
Search instead for 
Did you mean: 

Access to /sdcard/Download folder from native code

Izhido_VR
Explorer

Do you guys have any examples of working code that is able to access the /sdcard/Download folder from a Quest/Quest 2 device? There is not much info out there; you find contradictory statements about apps being already able to do it *or* apps requiring READ/WRITE_EXTERNAL_STORAGE permissions *or* using specialized Android APIs.

 

Has anyone managed to access data from there using their own code, that would like to share here?

2 REPLIES 2

Anonymous
Not applicable

The Oculus system software is based of Android 10, and I think Android has gotten stricter about application permissions. I would take a look at what's required to do the same thing in Android 10. I believe it requires an explicit permission request from the application (not just a key in the manifest).

jpatt_at_elara
Honored Guest

Regarding this issue - we found (in Unreal 4.23) we had to add the following to the application tag in the application manifest:

android:requestLegacyExternalStorage="true"