This is a migrated thread and some comments may be shown as answers.

How to store data locally?

4 Answers 312 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 03 Apr 2012, 10:06 AM
Hi,

Can someone please tell me if they have used local storage successfully across mobile devices (IOS, Android mainly) using phonegap as the eventual release mechanism?

http://dev.w3.org/html5/webstorage/

And possibly any articles or pointers for me before I dive into it.

Many Thanks
Matt

4 Answers, 1 is accepted

Sort by
0
Accepted
Kamen Bundev
Telerik team
answered on 03 Apr 2012, 12:30 PM
Hello Matthew,

Depends on how much data you want to store. localStorage and sessionStorage are meant to be used with key/value pairs only. If you want to handle more data, you can use Web SQL Database (deprecated but widely supported) and IndexedDB (the way forward). Also check this presentation and some articles.

Regards,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Matt
Top achievements
Rank 1
answered on 03 Apr 2012, 06:05 PM
Thanks Kamen,

Will look into your suggestions.
0
Noli
Top achievements
Rank 1
answered on 20 Apr 2012, 11:12 AM
PhoneGap has PhoneGapSQLiteplugin for iOS and Android.

Hopefully Kendo UI mobile team  can come up with demo how to use this PhoneGapSQLiteplugin for iOS and Android with Kendo UI mobile.

0
Noli
Top achievements
Rank 1
answered on 21 Apr 2012, 12:36 AM

 Client-Side Data Storage with JQTouch


http://ofps.oreilly.com/titles/9780596805784/ch05_id35816678.html

I like to see Kendo UI mobile team would have similar demo / example how to tackle localstorage and native SQLite3 databases in Kendo UI mobile.

Tags
General Discussions
Asked by
Matt
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Matt
Top achievements
Rank 1
Noli
Top achievements
Rank 1
Share this question
or