Hi! I'm writing an app that reads the number for an incoming call. The idea is then it extract the country code if it's an international call. I'm not certain of how the phone numbers are formatted (if there is some kind of unified formatting for incoming numbers). Sometimes when in receive an international call, it can be formatted as +46XXXX or some cases 0046XXXX.
Is there a simple way to extract the country code from a number? Or perhaps re-format the number so that the country code easily can be extract. Iv taken a look at the PhoneNumberUtils class, but so far i haven't struck gold :( Any help is appreciated! Fredrik -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en