I'm building an Android app with Adobe AIR that lets user import and export .txt files. What is the best folder to use as a default path to save the .txt files to?
Thanks
I'm building an Android app with Adobe AIR that lets user import and export .txt files. What is the best folder to use as a default path to save the .txt files to?
Thanks
You should save the file on the external SD card. Just create an own directory under Environment.getExternalStorageDirectory() that is named like your app and save them all in there. This is pretty much the convention.
You can save the txt wherever you want. I would recommend you to try to save any file in the external memory, and if that fails, then into the phone memory.
best path would be /data/data/your packagename/files/somefile.txt
This location is private to particular app.
You have two options
Next option is
You will need to decide which options wieghs better and accordingly select an appropriate location to save them