Hi to All
I know that this topic is widely treated in this forum. So widely that I didn't understand how I can solve my problem. So, forgive me in advance. I need a user to put files in a tablet, and read them with my App. Not a Google Play/Store app. To do this, the user connects the Tablet with an Usb cable to a computer, and saves the files. After that, my app should allow him to choose what to read etc. Where to do this? The Download folder (or the Android/App/Data/Files folder) seemed the right choice, but we know that it is impossible now. I mean: we can save files there from a computer by usb cable, we can access them, but .. we cannot choose which one to access with a FileDialog.. (or am I missing "something" ?; usually my first option...). Worse, the problem seems to be that no folder is available, for my purposes. I did a test program with the actual version of B4A. It opens the Download folder, showing nothing, despite there are some files. I tried to downgrade the Android Target Version to 29 with no result. The ".." indicator of the file dialog simply doesn't work in this case, while with actual version made by the B4a ide, namely 33, at least appears the (useless) list of folders. Useless because no one of them is accessible. Moreover, i don't see where and how the user should be prompted to ask for accessing a folder, as I read in other posts on this subject. Sorry if I am rather confused.. Thanks for reading..
I know that this topic is widely treated in this forum. So widely that I didn't understand how I can solve my problem. So, forgive me in advance. I need a user to put files in a tablet, and read them with my App. Not a Google Play/Store app. To do this, the user connects the Tablet with an Usb cable to a computer, and saves the files. After that, my app should allow him to choose what to read etc. Where to do this? The Download folder (or the Android/App/Data/Files folder) seemed the right choice, but we know that it is impossible now. I mean: we can save files there from a computer by usb cable, we can access them, but .. we cannot choose which one to access with a FileDialog.. (or am I missing "something" ?; usually my first option...). Worse, the problem seems to be that no folder is available, for my purposes. I did a test program with the actual version of B4A. It opens the Download folder, showing nothing, despite there are some files. I tried to downgrade the Android Target Version to 29 with no result. The ".." indicator of the file dialog simply doesn't work in this case, while with actual version made by the B4a ide, namely 33, at least appears the (useless) list of folders. Useless because no one of them is accessible. Moreover, i don't see where and how the user should be prompted to ask for accessing a folder, as I read in other posts on this subject. Sorry if I am rather confused.. Thanks for reading..