vendredi 2 octobre 2015

Best way to import DB in Android

I need some advices about good practices of importing data from server to local device. The amount of data is not very big ~1-3 MB So, I have to choose between:

  1. receive json - parsing it, using GSON lib for simplicity and insert data into local DB
  2. receive whole DB in cvs format and then to populate my DB like is described here
  3. or receive the whole DB directly from server side and use it somehow like local one

I know, each method works but if somebody can give some arguments it will be appreciated.

Aucun commentaire:

Enregistrer un commentaire