public static String create(ContentResolver resolver,ContentValues values){
  if (resolver == null)   return null;
  if (values == null)   return null;
  Uri uri=resolver.insert(Contacts.People.CONTENT_URI,values);
  return String.valueOf(ContentUris.parseId(uri));
}

public static String create ( ContentResolver resolver , ContentValues values ) { if ( resolver == null ) return null ; if ( values == null ) return null ; Uri uri = resolver . insert ( Contacts . People . CONTENT_URI , values ) ; return String . valueOf ( ContentUris . parseId ( uri ) ) ; }
create create a new contact .
