As PhoneNumberUtils is deprecated, How can we two phone numbers if they're identical enough for caller ID purposes. I mean different formats +44xxxxxxxxxx, 0xxxxxxxxxx
Asked
Active
Viewed 3,239 times
3 Answers
8
Use the PhoneNumberUtils.compare function doc: http://developer.android.com/reference/android/telephony/PhoneNumberUtils.html

hussainkothari
- 96
- 1
- 2
1
The best way would be for you to create a regular expression that would parse the actual phone number xxx-xxxx from any of it's prefixes (+xx, xxx).

Kromagg
- 69
- 3
-
can you give me a code example for you answer ?? or where to search for it? – user4o01 Sep 13 '12 at 19:55