Hello Yigal,
You will have to list the values of the contact entry's groupMembershipInfos
and check that one of those matches the "Most Contacted" group's Atom Id:
for (GroupMembershipInfo groupMembershipInfo :
contactOne.getGroupMembershipInfos()) {
String atomId = groupMembershipInfo.getHref();
// Check if atomId == "Most Contacted" group's Atom Id.
}
To get the "Most Contacted" group's Atom Id, you will need to query the list
of group's from the API and check the group's title.
Best,
Alain
On Wed, Jun 22, 2011 at 8:44 AM, Yigal Vortman <[email protected]> wrote:
> Hello.
> How can i know if a contact belongs to Most Contacted group (using
> com.google.gdata.data.contacts.ContactEntry)?
> Thank you.
> Yigal.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html
>
--
Alain Vongsouvanh
--
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html