Android - phone number contact format

Posted by Daniel Benedykt on Stack Overflow See other posts from Stack Overflow or by Daniel Benedykt
Published on 2010-04-25T17:03:16Z Indexed on 2010/04/25 18:43 UTC
Read the original article Hit count: 807

Filed under:
|
|
|

Hi

In Android I can get phone numbers of all the contacts without any problem. Tha problem is that for most users some numbers are stored as 'local' numbers, meaning that they dont have the country code included.

For example, if the user lives in US and he has 2 contacts:

1) John - 555-123-1234 (local) (starting 1 not showing)

2) Jane - 44-123456787 (england phone number)

The question is: How do I get all the numbers in an international format, when some of the numbers doesnt include the country code? Any way to figure that out?

Thanks

© Stack Overflow or respective owner

Related posts about android

Related posts about android-sdk