Shahrukh Badar
Posts: 0
Joined: Sun May 19, 2013 6:45 am

db mapping to local-storage.

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.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

db mapping to local-storage.

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...

A.W.H.
Posts: 0
Joined: Sat Jun 20, 2015 7:02 am

db mapping to local-storage.

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

Return to “Issues”