是否有可能提供pre填充的SQLite数据库到我的应用程序? 也就是我想用分贝(普通的SQLite数据库),这将有表,填补了手,我希望把它列入到我的.apk文件。
Is it possible to supply pre-filled SQLite DB to my app? ie I want to use db(as ordinary SQLite db) which will have tables filled by hand and I want to include it into my .apk file.
是的,它包含在您的资产文件夹并将其复制到/数据库文件夹,当你的应用程序第一次启动。
Yes, include it in your assets folder and copy it into the /databases folder when your application first launches.