Hi Guys,
I'm just wonder - is there any way to save application settings ? I don't mean into database. For example - in NimbleKit you can use something called NKSettings. Example:
var settings = new NKSettings(); settings.setValueForKey("UserName", "user"); var username = settings.getValueForKey("user");Is there any similar function in Titanium mobile ?
2 Answers
Accepted Answer
Ti.App.Properties.setString('key', 'value');
and
var value = Ti.App.Properties.getString('key');
Yes.The standard way is to use the properties.
Your Answer
Think you can help? Login to answer this question!