Skip to content Skip to sidebar Skip to footer

What I Should Pick - Json Or Sqlite?

In my application, on every launch at first some JSON have to downloaded from server and later I need to show various information by parsing this data one the full app life-cycle.

Solution 1:

I answered a question pretty close to this today - File or Database? - Best Practice to save Objects on Android-Device. I wanted to add that if inserting 5000 rows is taking too long, try adding them all in a single transaction, or using a bulk load mechanism. It's worth the effort to figure out your insert problem instead of trying to use files.

See this tutorial about bulk loading SQLite

Post a Comment for "What I Should Pick - Json Or Sqlite?"