本文介绍了如何使用GreenDao ORM库在Android中创建资产数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用 GreenDao
ORM库,用于创建数据库,它的工作好与创建数据库,从内部code中的第一个样本。
I am using GreenDao
orm library for creating database, it works good with the First sample for Creating Database, from within the code.
现在的问题是我无法找到相关的资产文件夹中的数据库复制到内部存储器中的数据库的任何文件或任何东西。
Now the problem is I can't find any documentation or anything related to the Database copying from Assets Folder to the databases inside memory.
推荐答案
检查href="http://stackoverflow.com/a/9109728/265167">例如这里来实现这一功能的
Check the example here to achieve this functionality.
这篇关于如何使用GreenDao ORM库在Android中创建资产数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!