开发者

Accessing the same sql lite db from two applications

I have application and its configuration开发者_Go百科 application. The configuration is very complicated so I decided to create a separate application for that. the configuration need to save data to the database and the application will read it. I saw that the sql lite is local to the application and I can't access the same db from both of them. Is there way to use the same database ? How ?

Thanks


You can develop a Content Provider


A content provider would be the ideal solution. You can also export the database to the sd card in your config app then import it any time your non config app starts up(or resumes).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜