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
phoneList.Add(phone.Number)
phonecounter = False
End If
Next
Dim p As PhoneCalls
p.Call(phoneList.Get(0))
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.