Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

New Contributor
Posts: 7
Registered: ‎10-11-2009
My Device: Not Specified

How to use ContactService

I looked at the API, seems like there isn't a function that is able to retrieve the whole list of contacts. What would be the best approach to acheive this? I was thinking to filter by character and iterate 26 times for each alphabet, but then again each character potentially can contain hundreds of contacts. So how exactly would I know that I have completely retrieved all the contacts?