I’m testing following two options for bundling data with my Android app:
A pre-populated SQLite database having size 19.8MB, placed in assets folder
08 .csv files containing data to be populated in SQLite database on first app launch, placed in assets folder and having size 7.1MB
This testing is being conducted with the sole objective of keeping the app size (post install) smaller.
The results, however, are incomprehensible for me: the post install app size is almost the same in both case, actually a tad bit smaller in case of option 1. Below are the screenshots:
While my main focus is on app size, I can’t happen to ignore the inflated cache size in case of Option 1.
So, if these results are accurate and I’m doing everything right, there is apparently no use of dumping a large sized database file in favour of smaller sized .csv files.
Pl help me out of this confusion!