I don't want you to make the app for me, i just have a problem with importing a file.
Therfore some more explanation:
I have two tablets, one at home and one at my club.
At home, i make a list of members of the club with their coordinates. I share that list as a csv-table in my google drive.
At the club, with the second tablet and the same app, I download that csv-table and try to import it in the app, so that I haven't to make this list two times. And this doesn't work. So long as I work with the same tablet and the same app, all works perfect. But if I work with another copy of the app at the same tablet, or with the same app on another tablet, it doesn't work anymore.
The aia-files, that I included (Testimport.aia and Testimport_copy.aia) are the same files but compiled individual in Testimport.apk and Testimport_copy.apk.
When I share the file clublijst.csv with the first app (Testimport.apk) to my google drive, download it from my google drive to the Download directory of the same tablet, I can import the file.
When I Try to import the same file from the Download directory on the same table, with the app Testimport_copy.apk, (without save it first again, share it again and download it again), so that I can use the members list in the second app, this doesn't work. I have this error:
It should work if you download the file to your ASD, then copy/move it to the Download folder.
From what you say about your workflow, there doesn't appear to be any need to move the file from the ASD, given that both devices fetch/save the data from/to a file on google drive ?
in Testimport.apk: click the Save file button (clublijst.csv is saved in the ASD)
in Testimport.apk: click the share file button: save the file in google drive
Download the file clublijst.csv from google drive to the Download directory in the table (or phone)
In Testimport.apk: click the Import file button (The file clublijst.csv is copied from the Download directory tot the ASD, so it can be read. The text in clublijst.csv appears in the tekstlabel
This works.
But:
In Testimport.copy: click the Import file button: then you have the error. The file clublijst.csv will not be copied to the ASD of the app.
The first time that you use the app, the app asks permission to the external storage so you can agree.
If you want tot use the app Testimport.apk on another tablet (to import the downloaded clublijst.csv ) from the Download directory the same error occurs.
The gaol is that data of members of the club kan be exported to an external storage on the cloud or e-mailed, so that the same data can be imported in another tablet.
The will be used by different users in different clubs. So you can't anticipate on wich external storage the user will save the data. Once the data (clublijst.csv) is on the external storage, the user must download it (or store it) himself to the Download directory of the app in the other tablet, so it can be imported to the ASD of the app.
Is it really that difficult to accurately describe the steps and purpose of the app. I had asked enough times. We are wasting a lot of time here, completely unnecessarily.
Sorry if this wasn't clear. Each club makes his own memeberslist and must have the posibility te export it to his own external storage, from where he can download it.
This can all still be stored in a folder on google drive in one google account, with correct permissions provided for all users to access (you could even do this with just one spreadsheet, with a sheet tab for each club...)
Have a good think about your methods and your workflow, then when you are ready.....