No, what else should I talk about here if not SAF??
SAF working fine with Android 6 device here, just wanted to qualify that. I understand what you are saying regarding relevance.
I didn't bother to read any background information on SAF, because I am an idiot.
Idiot comes from the Greek (ἰδιώτης) and actually means "private person", not "expert." That's all. But you're certainly an expert when it comes to App Inventor.
13 posts were split to a new topic: When I pick an image using picker, I get READ_MEDIA_IMAGES has been denied
Dear @Anke, nice to read that. Me too, I've studied ancient greek and latin more than 50 years ago at the classic lyceum (as we call that type of school here in Italy), before discovering the charm of physics...
German language has many similarities with ancient greek and latin: so I loved to study it (German) but the problem has been the short time remaining to do that after a "long" working day and an eveving to dedicate to the kids....maybe next life....
I have worked up a couple of "forked" extensions based upon @vknow360 's code, and loosely based upon my saf guide
You can find everything on github
You can also download the extensions HERE
Dear @TIMAI2,
many thanks for your message with "forked" extensions.
Recently I've faced some problems with the "visibility" of files because the app that I've created for me and for my friend (with whom I do hystorical rallies) must run on our tablets but the problem is that my ones and his ones have different levels of Android therefore I have to maintain different versions of the same app, one compiled with "legacy" scope and the other one with "app" scope (always a nightmare about configuration control !
Moreover I need to exchange data (a .csv file containing GPS waypoints) created by one app with another app that shall use those waypoints to manage the track during the rally (during the race).
For this reason anything that can ease my life in file management is really a "panacea".... (as your tutorial....hopefully not in latin but in English
)
All the best !
That is going out of my head, I only got some portion of starting. BTW can I show a folder in my app, so the person can select which file to read data. And do u have aia, so I can understand it by using it with companion
Maybe this guide will help you ?
ReadFromFile will only read text files, so you should filter your list for just this type of file.
text/plain
will exclude other text file types, best to use text/*
does not work with text/*
saf_list_read_file_r3.aia (35.2 KB)
Parts of this
application can be inserted into a project where you need to import a text file into a system folder.
You are correct. Use the contains block instead:
It works only with .txt, .html. In the release 3 that I published it shows how to save a text file opened with SAF in the system folder, by saving with MAI2 File.
What you are doing has probably already been covered here: