views:

126

answers:

0

Dear,

I am using API level 3. My need is to track contacts update,delete and insert actions. i used ContentObserveron such like below:

ContactObserver contactObserver = new ContactObserver(
                getApplicationContext());
        Uri CONTACT_URI = People.CONTENT_URI;
// Uri CONTACT_URI = Contacts.CONTENT_URI; also did 


        contentResolver.registerContentObserver(CONTACT_URI, true,
                contactObserver);

problem is that if i update, delete or insert contact its calling change method more then 1 time that make problem for me.

Any suggestion plz i have also post the similar question link is below : http://stackoverflow.com/questions/2672809/contacts-interception but till now not get any appropriate answer.