Android Example ContactSearcher - Combines ContactsUtils with SearchView

merlin2049er

Well-Known Member
Licensed User
I guess it's possible to return with the contact photo as well as an email address from the contact search view?
 

RAJAN MBA

Member
Licensed User
How to sort contacts based on the number of times contacted? The codes below are obviously wrong and of course throw up error:

B4X:
 'listofContacts is a list
listofContacts = Contacts2.GetAll(True,False)
listofContacts.Sort(Contact.TimesContacted)
and
B4X:
'listofContacts is a list
listofContacts = Contacts2.GetAll(True,False)
listofContacts.SortType("TimesContacted",True)
 
Top