I used contactUtils to search for a contact by name, and display his phone number, but after a few uses, each contact searched is duplicated for 3 or more tines iin my contacts.
Why is it happening? How can I cancel it?
cnt = 0
For Each c As cuContact In cu.FindContactsByName(cntcsNm, False, False)
cnt = cnt + 1
phonecounter = True
Label1.Text = Label1.Text & CRLF & CRLF & cnt & ". " & c.DisplayName & "."
For Each phone As cuPhone In cu.GetPhones(c.Id)
If phonecounter Then
phonecounter = False
Dim p As PhoneCalls
Oh, I meant that the contact is duplicated in my contacts, not as viewed in the list.
Somehow the app is duplicating the contact in the contacts book of my phone, and when I go to my contacts after using the app, a single contact is exist more than one time...