if (mGroupRowId <= 0) {
ContentValues groupValues = new ContentValues();
groupValues.put(Groups.TITLE, GROUP_NAME);
groupValues.put(Groups.GROUP_VISIBLE, "0");
groupValues.put(Groups.ACCOUNT_NAME, mAccount.name);
groupValues.put(Groups.ACCOUNT_TYPE, mAccount.type);
groupValues.put(Groups.NOTES, mContext.getString(R.string.contacts_group_notes));
Uri groupUri = cr.insert(Groups.CONTENT_URI, groupValues);
if (groupUri != null) {
mGroupRowId = ContentUris.parseId(groupUri);
MyLog.msg(MyLog.FEAT_CONTACTS, "Added AquaMail group as id = %d", mGroupRowId);
}
}
Your screenshot looks like a Samsung.
There is a way (in their Contacts app) to select which groups are visible -- apparently it doesn't simply use the standard value I'm setting.For this, please open on the Samsung Galaxy S6 the menu and then the Contacts app. In this select in the overview of your contacts at the upper right corner the button "More". A window will appear where the "Settings" entry must be tapped now. In the next sub-menu, please tap the menu item "Contacts to display". You can now select from which location the contacts should be displayed in the contacts list. For the Google Contacts highlight your Gmail address.
Source: http://www.solvemix.com/index.php/android-smartphones/656-samsung-galaxy-s6-only-display-contacts-stored-in-google-account
Android Smartphones
© Solvemix - quick tips, tricks and solutions
The "contacts to display" mentioned above has a "customized list" option where you can select individual groups -- just turn off "AquaMail" there.
Thanks! It would work but Aquamail still is adding new contacts to group: Aquamail and My contacts. How should i disable adding to My contacts group?