title: How to update contact number using Android
body: <p>I am learning android. I am trying to upadate contact number programmatically. Could anyone help me please how can I do that.</p>
  
  <p>My effort is:</p>
  
  <pre><code>String lNumber = pCur.getString( pCur.getColumnIndex(ContactsContract.CommonDataKinds.Phone.NUMBER));   
  
  ContentValues values = new ContentValues();
  
  Uri lPhoneUri = Uri.withAppendedPath(ContactsContract.CommonDataKinds.Phone.CONTENT_URI, ContactsContract.CommonDataKinds.Phone.NUMBER);                      
  
  values.put(ContactsContract.CommonDataKinds.Phone.NUMBER, "45323333"));
  getContentResover().update(lPhoneUri, values, ContactsContract.CommonDataKinds.Phone.NUMBER+"=?", new String[] { lNumber });        
  </code></pre>