---
title: "How to get the information of updated contact in android whenever we add/update/delete any contact in phone contact list"  
description: "How to get the information of updated contact in android whenever we add/update/delete any contact in phone contact list"  
author: "Allen Scott"  
published: 2015-11-16  
updated: 2015-11-16  
canonical: https://www.mindstick.com/forum/33597/how-to-get-the-information-of-updated-contact-in-android-whenever-we-add-update-delete-any-contact-in-phone-contact-list  
category: "android"  
tags: ["android", "android controls", "android libraries"]  
reading_time: 1 minute  

---

# How to get the information of updated contact in android whenever we add/update/delete any contact in phone contact list

In my [implementation](https://www.mindstick.com/forum/33764/how-to-implementation-of-class-in-c-sharp), i want to get the information of changed contact whenever a contact is modified or [deleted](https://www.mindstick.com/forum/160487/how-to-remove-the-deleted-git-code-marker-in-scrollbar-in-visual-studio-2022) in the [phone](https://www.mindstick.com/articles/23411/the-most-effective-method-to-find-the-perfect-small-business-phone-system-for-your-business) contact list.Whenever we modify or [delete](https://www.mindstick.com/forum/33620/how-to-delete-record-from-list-in-mvc-using-ajax) contact, deliverSelfNotifications() and onChange() [method](https://www.mindstick.com/forum/166/webservice-method) is called but i am not getting how to get the information of this changed contact\

```
MyContentObserver contentObserver = new MyContentObserver();    getApplicationContext().getContentResolver().registerContentObserver(            ContactsContract.Contacts.CONTENT_URI, true, contentObserver);    private class MyContentObserver extends ContentObserver {        public MyContentObserver() {            super(null);        }        @Override        public boolean deliverSelfNotifications() {            return true;        }        @Override        public void onChange(boolean selfChange) {            super.onChange(selfChange);        }    }
```

Please help

## Replies

### Reply by Anonymous User

see android.database.ContentObserver + android.database.CursorJoiner, google will help you on how to use it


---

Original Source: https://www.mindstick.com/forum/33597/how-to-get-the-information-of-updated-contact-in-android-whenever-we-add-update-delete-any-contact-in-phone-contact-list

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
