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).
精彩评论