0
我一直使用此代碼無法刪除Gmail聯繫人組的Android
private void deletaAllInGroup(Context context, long groupId)
throws RemoteException, OperationApplicationException{
ContentValues values = new ContentValues();
values.put(ContactsContract.Groups._ID, groupId);
getContentResolver().delete(ContactsContract.Groups.CONTENT_URI,values.toString(),null);
}
它成功刪除這些基團是電話組刪除所有的聯絡小組,但該代碼不刪除Gmail聯繫人組怎麼做?