Open GoogleCodeExporter opened 8 years ago
Original comment by boss...@yahoo.fr
on 3 Sep 2012 at 9:47
Please Help me in below problem. How can it is possible?
like i m in US and using with imsdroid call to my friend who is live in US. So
he see my number in US country code local number.
But now when i will go out side the country and now in UK than i will call my
UK Friend live in UK. So he got my call through imsdroid and display the number
with local Country code means local number.
Give me idea how to perform this functionality?
Original comment by sa...@spaninfoway.com
on 26 Oct 2012 at 2:25
I discovered there is a "compare" function in the PhoneNumberUtils class that
can be used to compare the phone number stored in the INVITE message and the
phone numbers stored in the adress book.
This function should return a positive match even if the two numbers are
written into different formats (e.g INVITE->"+1801555666" and
AB->"+1(801)555-666").
Please have a look at
http://developer.android.com/reference/android/telephony/PhoneNumberUtils.html
Original comment by android....@gmail.com
on 29 Oct 2012 at 8:28
I fixed this issue by doing the following change:
In file src/org/doubango/ngn/model/NgnContact.java in function
ContactFilterByAnyPhoneNumber, just replace:
if(NgnStringUtils.equals(phoneNumer.getNumber(), mPhoneNumber, false))
with
if(PhoneNumberUtils.compare(phoneNumer.getNumber(), mPhoneNumber))
Original comment by massimo....@gmail.com
on 14 Dec 2012 at 1:34
Original issue reported on code.google.com by
massimo....@gmail.com
on 24 Aug 2012 at 7:44