Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Local device storage/save settings

Hi there, wondering if anyone would point me in the right direction…

How do you store details or have a "settings" profile on the device? Such as editing username/passwords/api-key for example so the user doesn't have to keep entering them every time they use the app?

Many thanks

— asked April 28th 2010 by Craig Jones
  • save
  • settings
  • storage
0 Comments

3 Answers

  • You can use Titanium.App.Properties for this.
    Is pretty simple :)

    — answered April 28th 2010 by Dan Tamas
    permalink
    0 Comments
  • Thanks for the quick reply, that's a starting point for me to look into now.

    Many thanks

    — answered April 28th 2010 by Craig Jones
    permalink
    0 Comments
  • For anything other than simple single value application properties you are better off using Titanium.Database.

    — answered April 28th 2010 by Kyle Quest
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.