Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phonegap Offline Database (Across all platforms)

I have gone through the Phone Gap Storage. But this is not supported on windows phones. Now I want to create a app which will be truly compatible across all platforms. i.e. windows 8 ,windows 7, windows xp, iOS, Android.

Is there a plugin or alternative to sqlite on windows phone? I have found this Sql client for windows. What's a better solution ?

like image 730
Akash Deshpande Avatar asked Apr 04 '13 06:04

Akash Deshpande


2 Answers

I have looked for a xplat database solution for a while as well but haven't found anything other that SQLite. Short of utilizing XML files, SQLite still appears to be the best choice for xplat mobile phone support.

like image 122
Jeff Bramwell Avatar answered Sep 26 '22 02:09

Jeff Bramwell


Actually, HTML5's storage API is still in discussion, the possible solutions are either storage objects (local/session storage) or Indexed DB. Its is not yet standardized. So, no possible solution yet, but you can use a plugin compatible on major platforms you want to deploy on.

YOu can use IOS plugin, Windows 8 plugin,Android plugin by brodyspark. These are well documented and may solve your problem.

like image 33
Neji Avatar answered Sep 24 '22 02:09

Neji