Hi I would like to import a cvs file from the / Documents folder but I tried with file1 but from error 2101 I tried with the mfile extension but it does not read the file.
How can I do?
Does not require a full path
Hi RAMDO Thank you for your answer
unfortunately the got text function still does not read in files and does not even activate.
The value of Label1.Text is always null
Use the extension
Read this, it may help you
…the value of Label2.text is always null…
If the csv file was not created by your own app, then you have to use SAF to read it
Do you have a txt or csv file?
Make sure you write the file name literally
file type cvs but i also tried with a normal file with .txt extension
If you want to try it create a file in the documents folder and try to read it
It works fine for me
Verify that a file exists
for now i have solved it with SAF as suggested by taifun. But later I try to understand why efile doesn’t work for me.
Thank you so much
What is your Android version?
Android version 8
How do I save a file inside / storage / emulated / 0 / Documents.
I tried like this but it does not save and does not give error
Please read the thread to learn about its usage:
I’ve read 1000 times but haven’t found the solution.
I need to export tinydb to csv table and save files to shared documents folder
I tried to do this but it doesn’t work
does not save
You forgot to provide a screenshot of your relevant blocks