Write Application Data On Private Directory On Sdcard Android 4.4 And Above
There are many questions about this topic, but I cannot find any answers for my corrective example. I'm using Samsung galaxy S5 run android 4.4, which is limited for storage The of
Solution 1:
If getExternalFilesDir(null) is returning somewhere different to /storage/extSdCard/Android/com.myapp.example/files, then I would think that is why it is giving you access permission errors. The only place on the SD card you can write to without permissions is the directory returned by getExternalFilesDir()
Since you say the directory returned by getExternalFilesDir(null) is not acceptable, I would suggest adding the WRITE_EXTERNAL_STORAGE permission to your manifest.
Post a Comment for "Write Application Data On Private Directory On Sdcard Android 4.4 And Above"