SQLite why are we copying db to assets folder
3 answers
A database with default data and table structure is often pre-created and included in the assets folder. We then copy this from the assets folder to internal or external memory at runtime, since the assets folder is only ready after compile time and we cannot modify the data in it. Therefore, in order to be able to write our application to the database, we must first copy it to a portion of the available storage.
+4
source to share