Titanium Community Questions & Answer Archive

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

How can I save data into a file for later retrieval?

Basically i want t make it possible for the user to configure the application using basic options.

So i want to store information for later use.

— asked May 22nd 2010 by Julian Weimer
  • mobile
0 Comments

3 Answers

  • Ti.App.Properties. There's an example in the KitchenSink.

    — answered May 22nd 2010 by Damien Elmes
    permalink
    0 Comments
  • Note that the API docs (at least for desktop) incorrectly state that you save the Properties to disk using .listProperties('/path/filename'), the correct method is .saveTo('/path/filename')

    — answered May 22nd 2010 by Dan Blaisdell
    permalink
    0 Comments
  • AFAIK on Ti mobile, the properties are automatically saved.

    — answered May 23rd 2010 by Damien Elmes
    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.