How to use a database created in an app in some other app [duplicate]
Possible Duplicate:
Access database of another app
I made an app which is a broadcastreceiver, and inside it I have an sqlite database (say X) created. I created database using DatabaseHelper which extends SQLiteOpenHelper.
Now i want to use this database X in my another app. How is it done?
The database X is dynamic, i.e. entries are added as some broadcast is received so this dynamic behavior should be kept in another a开发者_如何学Cpp too.
Read up about ContentProviders. It might be a little tricky to build a content provider over a dynamic data set, but it's definitely possible.
精彩评论