How to add initial data to SQLite database?

后端 未结 6 1682
逝去的感伤
逝去的感伤 2021-02-14 07:04

I need to add initial values to SQLite database, once application is started first time. How should I do it?

6条回答
  •  故里飘歌
    2021-02-14 07:34

    You can create your own SQLite database, put in assets folder and access it as shown in the answer of this link: adding your own SQLite database to an android application

提交回复
热议问题