Hi all,
I need some help in getting contact name of person from SMS Message. I am unable to get contact from SMS Message. Lets for example we have following contacts in our saved phone book, few with “+” plus sign and country code, few without. In following case +1 is country code;
Person1 = +1-111-222-3333
Person2 = +1-222-333-4444
Person3 = 333-222-1111
Person4= 444-333-2222
Most of the SMS Center send message with country code and plus sign like +1-111-111-1111, For those saved contact who are saved with plus sign and country code will easily to catch using “sms.PersonID” but “sms.PersonID” results “null” for those contact which are not properly saved with plus sign and country code. I also tried to incorporate “ContactUtili…” class by “Erel” but failed to get names of sender.
What will be the correct method to perform this action precisely?
Thanks