How can I embed an SQLite database into an application?

前端 未结 4 962
情话喂你
情话喂你 2020-12-04 11:36

I think I have some basic understanding problem so maybe someone\'s able to help :-)

I\'m developing an Android application using Eclipse and this application will m

4条回答
  •  广开言路
    2020-12-04 12:11

    Nice article on ReignDesign blog titled Using your own SQLite database in Android applications. Basically you precreate your database, put it in your assets directory in your apk, and on first use copy to "/data/data/YOUR_PACKAGE/databases/" directory.

提交回复
热议问题