title: how to listen for changes in Contact Database
body: <p>I am trying to listen for any change in the contact database.</p>
  
  <p>So I create my contentObserver which is a child class of <code>ContentObserver</code>:</p>
  
  <pre><code> private class MyContentObserver extends ContentObserver {
  
          public MyContentObserver() {
              super(null);
          }
  
          @Override
          public void onChange(boolean selfChange) {
              super.onChange(selfChange);
              System.out.println (" Calling onChange" );
          }
  
      }
  
  MyContentObserver contentObserver = new MyContentObserver();
  context.getContentResolver().registerContentObserver (People.CONTENT_URI, true, contentObserver);
  </code></pre>
  
  <p>But When I use '<code>EditContactActivity</code>' to change the contact database, My <code>onChange()</code> does not get called.</p>