Search code examples
androidandroid-contentprovidercontentobserver

getting changed uri on ContentObserver Onchange on older versions of the API


Possible Duplicate:
How to get URI of inserted row in my content observer?

I am using ContentObserver to listen to changes on a content provider. However, I was wondering if there is a way to get the changed URI when the OnChange method is called (instead of doing a search query inside the callback in order to find out what has changed).

It seem that this is possible with the API level 16, but I have to write an API 8 compliant application =S


Solution

  • Well, later I found the same question posted in other places and still without an answer, which leads me to think that there is just no way to get the changed URI on older apis.