- Jun 6, 2020
- 11,559
- 4,422
Hi to All.
After many unsuccessful trials, I decided to submit to the community my problem which concerns accessing a File.DirRootExternal subfolder. Of course, my old apps worked well before, while now they crash with:
java.io.FileNotFoundException: /storage/emulated/0/Smas/ListaCaixaN_UTF-8.txt: open failed: EACCES (Permission denied)
This topic is treated many times in this forum, and apparently definitive workarounds exist. I have followed these workarounds, added permission requests to Manifest and used the top information existing here, namely an Erel post, concerning the access to DirRootExternal. I attach a project showing what I did. The background is: I need to pre-load one or more files to be read by the App. The ideal place for such files is not the Folder related to the App itself, namely: Internal_Memory/Android/data/App_related_folder/files/. This folder is destroyed if the App is uninstalled (correct me is wrong). The ideal place is a folder which must be...
After many unsuccessful trials, I decided to submit to the community my problem which concerns accessing a File.DirRootExternal subfolder. Of course, my old apps worked well before, while now they crash with:
java.io.FileNotFoundException: /storage/emulated/0/Smas/ListaCaixaN_UTF-8.txt: open failed: EACCES (Permission denied)
This topic is treated many times in this forum, and apparently definitive workarounds exist. I have followed these workarounds, added permission requests to Manifest and used the top information existing here, namely an Erel post, concerning the access to DirRootExternal. I attach a project showing what I did. The background is: I need to pre-load one or more files to be read by the App. The ideal place for such files is not the Folder related to the App itself, namely: Internal_Memory/Android/data/App_related_folder/files/. This folder is destroyed if the App is uninstalled (correct me is wrong). The ideal place is a folder which must be...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید