I am new to Android development and play with content providers and content watchers. However, it’s hard for me to find examples on the Internet. I played and read about it, but got stuck. Here is what I am trying to do:
I created a small content provider (which I confirmed works and inserts / deletes data in db on the phone). Call it A.apk. Now I want to create a B.apk that will be notified of any updates made to db. Therefore, if new content is created, B will display it, and if the content is deleted, it will be removed from view B.
I am stuck and would like it to be done correctly using best practices. An example would be greatly appreciated!
source
share