- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I recently installed XDK in Linux and planning to write a simple android app using HTML5. This requires a database which will stores information, it is a some-short of question/answer database. Apps will access those information based on the filter. It does not need internet, I want to store the database locally on the phone. Could anybody give me suggestions which database can be used within Intel XDK?
Thanks.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How big is the data you are storing?
The simplest is to simply use something called localStorage. It is part of the browser/webview and will work anywhere.The data is stored "with" the webview. So it is on the phone.
If you want the data stored to a server, then it gets more complex. Kinvey.com is probably the best for that situation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please take a look at this Cordova SQL plugin, those who have used it have had very good luck: https://github.com/brodysoft/Cordova-SQLitePlugin

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