- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys, I had a question, is possible save preferences of an app in a XML archive or another way, for example, I created an app with HTML5, JQUERY mobile, CSS, and JSON, but I want to change for example the background color of a when I select a color input and save that in a XML or anywhere and close the app, when I open the app it get the color that I choose before.
Obviusly I do not want to use a server like PHP because I can do that with an account and password, the question is, ¿That is possible without a help of a server?
When I use eclipse that is possible because that use shared preferences of sdk, with XDK I can do that
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, use local storage.
See: window.localStorage.getItem and window.localStorage.setItem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much, I try that.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page