B4X FEED Reading Folders

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Reading Folders است. این موضوع تا کنون 26 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Reading Folders
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
26
پسندها
0
آخرین ارسال توسط PracticalSoft
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...



 

عقب
بالا