Hi Everyone
I have done some apps with .csv files
But recently I've got error 2101 file could not be found. the file was exists on internal memory. And it can be access with my old installed app. but for modified app, that error was appearing. even same app in AI Companion
I've tried Taifunfile extension also
Here is my blocks
Thanks in advance
Samitha
1 Like
Taifun
August 17, 2020, 4:33pm
2
there is a space in the filename, which could be an issue...
Taifun
Trying to push the limits! Snippets , Tutorials and Extensions from Pura Vida Apps by Taifun.
Hi Taifun,
Yes it is. but my previous apps, it was detect same csv file without giving an error. And also I've tried same csv file without space. result was same
This time without specs
But same error
Peter
August 17, 2020, 4:46pm
5
Is the filename of the file on your phone also CustomerBase.csv or is it different?
Thanks for replying,
No it is same
Peter
August 17, 2020, 5:00pm
7
I guess you have Android 10 running on your phone?
Hi all,
i'm new here. I've looked for an answer to my problem, but didn't find this exact case.
My situation:
My program reads two CSV files "mag_csv.csv" and "lista_csv.csv". These files are situated directly on the tablet/smartphone memory. From both of the files, the program creates lists. I've done some update (12.08) to the program completly not related to the file reading part (e-mail adress change for mail sending). On my tablet (Samsung Tab S5E) I'm getting the error 2101 on both file…
No, it is written to the app-specific directory (ASD):
Companion:
/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files
compiled app (APK):
/storage/emulated/0/Android/data/<packageName>/files
Cause:
The file component (for API level ≥ 29) adds the ASD path to the beginning of each path that you declare.
If I save a text in the ASD
[grafik]
this path is returned (but doesn't exist and cannot be created):
/storage/emulated/0/Android/data/edu.mit.appinventor.aico…
2 Likes
Taifun
August 17, 2020, 5:55pm
8
as @Peter guessed, what is the Android version of your device?
also your screenshots look quite different... the list to csv row block never would have worked here, the second screenshot looks better (list form csv table block)
Taifun
1 Like
This error appear when try to access "Customer Base.csv" file. please note that this is new app I'm trying develop.
This is old app installed on my phone & access same "Customer Base.csv" file
Peter
August 18, 2020, 4:28am
12
Did you read the topic i gave you and the solutions there?
No, it is written to the app-specific directory (ASD):
Companion:
/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files
compiled app (APK):
/storage/emulated/0/Android/data/<packageName>/files
Cause:
The file component (for API level ≥ 29) adds the ASD path to the beginning of each path that you declare.
If I save a text in the ASD
[grafik]
this path is returned (but doesn't exist and cannot be created):
/storage/emulated/0/Android/data/edu.mit.appinventor.aico…
Hi Peter. yes it is android 10 running on my phone. but some app installed on my phone access same csv file. but can not access by this new app
Peter
August 18, 2020, 4:36am
14
Are these apps made with App Inventor?
Thanks Peter!. EFile worked
system
Closed
August 25, 2020, 5:31am
16
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.