Alex
Alex

Reputation: 13

Accessing the same sql lite db from two applications

I have application and its configuration 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

Upvotes: 1

Views: 221

Answers (2)

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).

Upvotes: 0

Earl
Earl

Reputation: 811

You can develop a Content Provider

Upvotes: 4

Related Questions