Titanium.App.Properties.listProperties() not REALTIME ?

You must Login before you can answer or comment on any questions.

Hi I'm developing a mobile app and using this to access some stored data:

Titanium.App.Properties.listProperties()
and it works perfect, but it's not realtime!! Am I right ? Everytime I need to relaunch the app In order to retrieve a "just" stored property with this method :
Titanium.App.Properties.setString(title,"fav")
Is it possible to do retrieve properties without relaunching the app?

2 Answers

Hey thank you so much but this is my code :

var props = Titanium.App.Properties.listProperties();
for (var c=0;c<props.length;c++)
{
    var value = Titanium.App.Properties.getString(props[c]);
   Titanium.API.info(props[c]+" = "+value);
    var a = props[c];
    if (value == "fav")
    { 
        var tabba =     Ti.UI.createTableViewRow({title:a,test:'window_layoutfav.js',hasChild:true,myid:a});
        data[x++] = tabba;
 
    }
}
Thank you anyway,

Your Answer

Think you can help? Login to answer this question!