Page 1 of 1

db mapping to local-storage.

Posted: Sat Jun 01, 2013 12:03 pm
by Shahrukh Badar

Hi,
I want to get all db records and map to application local storage, so user can see it in offline mode as well.
please give me any source or tutorial.

my db columns are
Title, description, date, is-active.

i want to store all data from db to my app local storage.

Thanks.


db mapping to local-storage.

Posted: Sat Jun 01, 2013 1:43 pm
by Igor

Hi.

You couldn't use a localstorage variables for this because localstorage variables supports only strings. Use JSON.stringify() in JSON.parse(). Unfortunately we do not have the tutorial for this.
About local storage http://stackoverflow.com/questions/33...
For Adndroid you can use Data Storage but you should do additional coding on Eclipse. http://developer.android.com/guide/to...


db mapping to local-storage.

Posted: Sat Aug 22, 2015 3:25 am
by A.W.H.

How do I get all records to a string in local storage?


db mapping to local-storage.

Posted: Sat Aug 22, 2015 11:18 am
by Serhii Kulibaba