I just use the follow code, but it in fact has no result.  Really
confused.

ContentValues contentValue = new ContentValues ();
contentValue.put( Contacts.DISPLAY_NAME, "AnyName" );

updateCount =context.getContentResolver()
                               .update( Contacts.CONTENT_URI,
                                            contentValue,
                                            Contacts._ID+ "=? " ,
                                            new String[] { "myContactId" } );

Log.i (TAG, " Name update count==" + updateCount );

Now, the log said  'Name update count=1'. But I cann't see any changes
with my contact name.
Hopefully , some one can give me some advice.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to