Re: Write to SD card on Android
Posted by Ken Fast on Apr 26, 2016; 9:15pm
URL: https://forum.jogamp.org/Write-to-SD-card-on-Android-tp4036661p4036668.html
Just to clarify. I am trying to write to the public area of the SD card [getExternalStorageDirectory()] and getting an error. This would end up under .../sdcard/.../. I tried writing to the app private area of the SD card [getExternalFilesDir()] and that worked. This ends up under the .../sdcard/.../Android/data/<package name>/data/ directory. This is an acceptable workaround for me. I am also able to write to the app private internal storage area. That directory is not very useful for me because I can't access it from outside of my app.