Then, what is the difference between getNetworkCountryIso and getNetworkOperator?
I think we can use getNetworkCountryIso, right? On Jan 22, 5:14 pm, legerb <drim...@gmail.com> wrote: > String networkOperator = ((TelephonyManager) > context .getSystemService > (Context.TELEPHONY_SERVICE)).getNetworkOperator(); > String locationCode = networkOperator.substring(0, 3); > > First 3 digitis are the mcc code - "Mobile Country Code" which will > tell you what you need. > > On Jan 20, 6:05 am,magicpig<zsumagic...@gmail.com> wrote: > > > Thanks for the reply. > > > There may be some confusing in my post. > > > Actually, I want to judge my location by the > > Network:http://code.google.com/android/reference/android/telephony/TelephonyM... > > > But I am not sure what the returned value will be. > > > Any hint? > > > On Jan 18, 7:29 pm, "for android" <forandr...@gmail.com> wrote: > > > >http://groups.google.com/group/android-developers/web/localizing-andr... > > > > On Sat, Jan 17, 2009 at 6:51 PM,magicpig<zsumagic...@gmail.com> wrote: > > > > > Hi, > > > > I am wondering if there is such API that provides my current > > > > location, in country level, such as I am in Japan. > > > > > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---