so this is a follow up to this question (Ship an application with a database)
Looking at that question I see only 3 ways I can think of to get a SQLite database in Android.
- Put it in the Asset folder at design time and copy to data folder at install time.
- Use SQLiteOpenHelper to generate it at install time
- Download the database after the app is installed.
So it would seem to me that with solution 1 and 2, you are going to be consuming double the amount of disk space. Solution 1 means replicating the database and Solution 2 means having a database but also having to store a script to script the data in (which'll probably be just as large as the database).
I would try solution 3 but I don't have anywhere to put a database that can be freely accessed from the web and plus I'm new at Android, and I don't really know how (maybe in a few weeks).
So just wondering, is it true that unless I go with solution 3, any android app that requires a database at install time requires twice as much initial space as the initial populated data? Is there any other solution to get around this?