My situation Application type : mobile Titanium SDK : 2.1.1 Platform & version : iOS 5.1 Device : iOS simulator Host Operating System : mountain lion Titanium Studio : the last
I must create a shopping list. in a tab there is a textfield that allows you to add various items to buy. every time you add an item I can save it to a local file, because in another tab you can choose whether to load an old list or create a new list. if you load an old list I can get a file from which to retrieve data. how could I do? And is possible to use a local file.txt?
1 Answer
Accepted Answer
There are a number of data storage solutions build into Titanium.
You can use Ti.Filesystem to save data to a text file.
You can use Ti.App.Properties to save the data
You can use Ti.Database to save the data to an sqlite table.
Your Answer
Think you can help? Login to answer this question!