Software Archive
Read-only legacy content
17061 ディスカッション

database

Manoj_G_
ビギナー
473件の閲覧回数

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.

 

 

0 件の賞賛
2 返答(返信)
Amrita_C_Intel
従業員
473件の閲覧回数

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.

 

PaulF_IntelCorp
従業員
473件の閲覧回数

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

返信