Hi
I have starnge issue
I am using this code:
and the starnge thing is if contact put the phone number in the "cell" field the number is not visible
(I cannot see the number while tracking the contact1 data
if the number is saved on the "other" field, the I can
I tried to use the phone map, but it is VERY slow to get the results
Basically I am writing some app, that when someone is sending me SMS (which I can get only his messgae and number and not his name) so I am taking the number from the SMS and trying to find in my entire contacts if number match to person, so I can display person name and not his number
I have starnge issue
I am using this code:
B4X:
listOfContacts = MyContacts.GetAll
For i=0 To listOfContacts.Size-1
Contact1 = listOfContacts.Get(i)
If Contact1.PhoneNumber = MyNumber Then
MyFullName=Contact1.Name
....
and the starnge thing is if contact put the phone number in the "cell" field the number is not visible
(I cannot see the number while tracking the contact1 data
if the number is saved on the "other" field, the I can
I tried to use the phone map, but it is VERY slow to get the results
Basically I am writing some app, that when someone is sending me SMS (which I can get only his messgae and number and not his name) so I am taking the number from the SMS and trying to find in my entire contacts if number match to person, so I can display person name and not his number