摘要:
private void addContactToGroup(int contactId,int groupId) { //judge whether the contact has been in the group boolean b1 = ifExistContactInGroup(contactId, groupId); if (b1) { //the contact has been in the group ... 阅读全文
摘要:
final ArrayList<ContentProviderOperation> operationList = new ArrayList<ContentProviderOperation>(); ContentProviderOperation.Builder builder = ContentProviderOperation.newInsert(RawContacts.CONTENT_URI); builder = ContentProviderOperation.newInsert(Data.CONTENT_URI)... 阅读全文