New programmatically added contact not visible in Contacts application
<p>I'm developping an application in Android 1.6 (and can't use 2.0 or older). </p>

<p>I add a new contact on my phone as following : </p>

<pre><code>ContentValues contentValues = new ContentValues();
contentValues.put(Contacts.People.NAME, name);

Uri contactUri = this.getContentResolver().insert(Contacts.People.CONTENT_URI, contentValues);
</code></pre>

<p>After that, I add phone numbers in the same way. It works as I am able to view the new added contact with following code : </p>

<pre><code>Intent intent = new Intent(Intent.ACTION_VIEW, contactUri);
this.startActivity(intent);
</code></pre>

<p>My problem is that, after adding and viewing the new contact, I can't see it in Contacts application unless I synchronized all my contacts (I also did a search with the contact's name, found it, nevertheless it wasn't added in contacts list). </p>

<p>How can I programmatically update the contacts in order to immediately have my new contact added in Contacts application ?  </p>

<p>Thank you !</p>
