If you want to pre-populate a database (SQLite) in Android, this is not that easy as one might think.
So I found this tutorial which is often referenced here on Stac
I suggest the following:
INSERT
logic into a transaction (BEGIN... COMMIT
, or via the beginTransaction()... endTransaction() APIs)Additionally take a look at Faster bulk inserts in sqlite3?