Hello android developers...

*Does Android sends the URI that is inserted, modified, or deleted?
If it only notifies that the contact CP is modified, then how to find the
actual contact that is inserted, deleted or modified ?
*
I could see this issue was already posted by some one but didn't get any
reply.
So thought of posting the same again as i need the solution urgently.

"I would like to detect changes to a Contact. Registering a
ContentObserver correctly notifies when a change occures, but does not
tell where. Registering Contacts.CONTENT_URI will report a change on
Contacts.People or Contacts.Phones, but will not say which record or
which table. I could get a hash on each entry, save it on my own db,
and compare and find the changed record, but it seems to repeat work
that already just been done, and could be slow."

Any help would be highly appreciated.

Thanks,
Ratnakar A.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to