Android Question get contacts olny name and id

kalarius

Active Member
Licensed User
Longtime User
At my program i have
Dim Contacts As Contacts2
Dim ListOfcontacts As List
ListOfcontacts=Contacts.GetAll (True,True)
this return a list with
DisplayName=The name, PhoneNumber=the phone, Starred=false, Id=32, Notes=, TimesContacted=0, LastTimeContacted=0, Name= the name

how can I get only the displayname and the ID to a list and sort it by name?
 

udg

Expert
Licensed User
Longtime User
Did you have a look at this lib?
Be sure to read the first few posts too.

udg
 
Upvote 0
Top