Contact list into MAP

Shay

Well-Known Member
Licensed User
Longtime User
Hi

I am using Contacts2 in order to get all the contact list

listOfAllContacts = MyContacts.GetAll(False,False)

AFAIK there is no way to know if phone is located on sim or phone, so there are duplicated phones (if I have 200 contacts I will get ~400 contact in this list, and it takes time on old phones)
Is there fast way to get all contacts to MAP and not list?

I can do for from list to map, but it will take time...
 

Shay

Well-Known Member
Licensed User
Longtime User
I did few tests
moving the list to map is very fast

but it requries me to get also phone numbers:
listOfAllContacts = MyContacts.GetAll(True,False)
and this take 3.5 sec for 400 contacts

while this takes only 100ms: (without phone numbers)
listOfAllContacts = MyContacts.GetAll(False,False)

Is there other way to get all the names and phone names very fast
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…