Saving and Reading CSV File - Android
Posted: Mon Sep 13, 2021 2:06 pm
Hello,
I created a touchscreen application that uses Easy Save 3 to write text field data to an external csv file. New users are added to this csv file every time they enter their details.
This worked perfectly on a PC but when I create an Android app and test it, it goes through the whole process but the csv file is never written (or I can't see the folder/file if it has been). This is my code:
sheet.Save("Android/data/SpinningWheelApp/mySheet.csv", true); - I have also tried a relative path as well which didn't work.
This is called every time the app is Reloaded and the SceneManager loads the first scene again.
The app also has an inventory, this is read when the first scene is loaded and displays objects depending on what is left and seems to work.
sphere1 = ES3.Load("sphere1", "Android/data/SpinningWheelApp/inventory.es3", 1);
So my questions is, is it because its a csv file or is it in another location on the device?
Can anyone see what I may be doing wrong and point me in the write direction please.
I created a touchscreen application that uses Easy Save 3 to write text field data to an external csv file. New users are added to this csv file every time they enter their details.
This worked perfectly on a PC but when I create an Android app and test it, it goes through the whole process but the csv file is never written (or I can't see the folder/file if it has been). This is my code:
sheet.Save("Android/data/SpinningWheelApp/mySheet.csv", true); - I have also tried a relative path as well which didn't work.
This is called every time the app is Reloaded and the SceneManager loads the first scene again.
The app also has an inventory, this is read when the first scene is loaded and displays objects depending on what is left and seems to work.
sphere1 = ES3.Load("sphere1", "Android/data/SpinningWheelApp/inventory.es3", 1);
So my questions is, is it because its a csv file or is it in another location on the device?
Can anyone see what I may be doing wrong and point me in the write direction please.