title: appcelerator titanium - Ti.App.Properties not working on android
body: <p>I am creating an (iphone/android) mobile app using appcelerator titanium. I have a problem using Ti.App.Properties,
  I want to save the user's login data (username and password), I used Ti.App.Properties's  getList and setList methods to get and set username and password at app startup. It is working fine on iPhone, but on android the data (username and password) are not retrieved at app startup.
  here is the code that is executed at app startup :</p>
  
  <pre><code>var userDataArray=[{title:'name',value:''}, 
                  {title:'password',value:''}];
  if(Ti.App.Properties.hasProperty("userDataArray"))
  {
      userDataArray = Ti.App.Properties.getList("userDataArray");
  }
  else
  {
      Ti.App.Properties.setList("userDataArray",userDataArray);
  }
  if((Ti.App.Properties.getList("userDataArray")[0].value.length==0)||(Ti.App.Properties.getList("userDataArray")[1].value.length==0))//check if name, password have no values.. on android, this is always the case, which is not correct
  {
          //go to login page
  }
  else if((Ti.App.Properties.getList("userDataArray")[0].value.length&gt;0)&amp;&amp;(Ti.App.Properties.getList("userDataArray")[1].value.length&gt;0))//if both username and password exist
  {
          //start
  }
  </code></pre>
  
  <p>Thank you</p>