New Contact not listed
<p>I used this code to add the contact:</p>

<pre><code>    public static long addNewNameToContact(Context context, String name) {

    long rawContactId = 0;

     ContentValues values = new ContentValues();

     values.put(Contacts.DISPLAY_NAME, name);

     Uri rawContactUri = context.getContentResolver().insert(RawContacts.CONTENT_URI, values); 
     rawContactId = ContentUris.parseId(rawContactUri); 

    return rawContactId;
}
</code></pre>

<p>(I need to create a contact only with the name and then add phone and other data).</p>

<p>Can you help me?</p>

<p>Very thanks, 
Mateus</p>
