Hi all,
i have to find Blackberry contacts form address book.
for that i am getting by using this code
Code:
ContactList contactList =
(ContactList)PIM.getInstance().openPIMList
(PIM.CONTACT_LIST, PIM.READ_ONLY);
now,i have to implement search functionality so for that i have been using loop to find particular contacts in contacts list therefore it has been taking more time(around 5 sec) if contacts are around more than 1000, but in default Blackberry address book search it is taking less time.
so i am looking for API which can give searched ContactList with name, if any one know kindly reply me.
for that i tried one method but i vein.
Code:
ContactList contactList =
(ContactList)PIM.getInstance().openPIMList
(PIM.CONTACT_LIST, PIM.READ_ONLY,"name");
i search on net too, but i did not get suitable thread.
looking for soon reply.
Thanks and Regards
Imran ali