Hello Carlos,
The reason it's taking so long is because you are requesting 20000 contacts:
that may take a while for the API to process and for the response to get
back to your client.
You shouldn't have to ask for 20000 contacts as the response feed will
contain a
"totalResult<http://www.opensearch.org/Specifications/OpenSearch/1.1#The_.22totalResults.22_element>"
element showing how many entries there should be in total:
[CODE]
listaContatos.getTotalResults();
[/CODE]
You should remove the line which sets the max-results query parameter to
20000, or modify it to request only 1 contact as the only information you're
interested in is the number of contacts in the group which will be returned
either way.
Best,
Alain
--
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