Getting change details from content provider notifications

by MannyNS » Thu, 11 Jun 2009 00:45:43 GMT

Sponsored Links
 Using ContentResolver and ContentObserver, it is possible to receive
notifications in the function onChange() when some data is changed
within the content provider. However, I fail to see if there is a way
to see the URI which triggered the notification.

For instance, if I want to play a sound when someone deletes "Kara
Trace" from my address book or whatever - how do I do that, if not by
having another copy of the whole content provider dataset, and then
comparing the old dataset copy with a new one?
Can someone confirm me that the hard way is the only way?




Other Threads

1. GLSurfaceview on top on a SurfaceView

Look at this:

They show that it is possible to put  an GLSurfaceview on top on a

I hope it would be useful.


2. SQlite Db problems

hai developers,

       i want to know  how to store the images in SQLite database in
android.and also how to retrieve  it.  anyone give the samplecode or
any URL give me to develop my application.


3. BitmapFactory.decodeStream sometimes returns null

4. service dies without calling onDestroy()

5. Building APPS that require an online database

6. Blank screen displayed after downloading from Android Browser.

7. Using intent with startActivity from inner class