views:

89

answers:

1

Dear,

is there any posibilty to intercept the contact. if user add,delete and update any contact system notify that changes occur in the contact.

thanks

A: 

You can register a data observer on the relevant ContactsContract content provider.

CommonsWare
thanks for response, dear i am using api 3. so what i do
Kamran Omar
i try to use observer on both Contacts.CONTENT_URI and People.CONTENT_URI. on change its also calling onChange(boolean selfChange) but more than 1 times. Calling more than 1 times making problem for me. any suggestion plz
Kamran Omar