Storing User Info in a Text File on an Android

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Joe Kot
Posts: 37
Joined: Wed Sep 14, 2011 2:49 pm

Storing User Info in a Text File on an Android

Post by Joe Kot » Tue Dec 13, 2011 3:02 am

My Livecode "windows - pc" program keeps track of a user and his score by writing to and reading from a text file that is kept in a folder in the programs folder of the c: drive. My question is - Can I use a text file to do the same thing on an Android tablet. If so - how can this be done. What is the equivalent of c:programs/my_app_folder. If not how do I store user information in an app running on an Android tablet.
Thanks
Joe

Klaus
Posts: 13878
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Storing User Info in a Text File on an Android

Post by Klaus » Tue Dec 13, 2011 8:32 am

Hi Joe,

that should be -> specialfolderpath("documents") on Android.
Check the "Android Release Notes" (Menu: Help) for more info!


Best

Klaus

Post Reply

Return to “Android Deployment”