On 04/19/11 10:29, Freddman wrote:
I noticed that when i recive an incoming international call, the call screen will show the entire number e.g beginning with '00' because Swedens call prefix is '00'. When i later dismissed the call, when the notification was shown in the status bar, the '00' had been replaced with '+'.
00 is not Sweden's prefix, which actually is 46. 00 is the caller's local "what follows is an international number" code
How does Android determin the call prefix, and is it compatible with every country (e.g Indonesia can have 001 or 008 as call prefix)? Im writing an app where i determin the origin of the calling international number, but iv discovered the WAST number of possibilites a number can have. Example: 00 852 5555 5555 This could be a call from Hong Kong (00 +852 5555 5555) when living in Sweden, but also a call from Mexico when living in Indonesia ( 008 +52 5555 5555 ).
852 is the code for Hong Kong everywhere... Bernard Higonnet -- 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