samedi 3 janvier 2015

How To Save Parsed JSON to SQLite Android

I'm making an android application which get data (text and images) from a JSON file on a server.


Everything fine, I am able to parse the data and show it in my application.


Now I would like to that my application is availble offline (so 1 startup = download data, save it on device)


I do not know how to start here. Where and how do I Save my parsed JSON-Objects and how do I Read them out from SQLite database on the device afterwards rather than from server again?


I Do not need the user to do inputs, Just reading out from server file and put it in local DB on device for offline using


Any suggestions please?


Aucun commentaire:

Enregistrer un commentaire