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
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,
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/TelephonyManager.html#getNetworkCountryIso()
http://www.nw.com/zone/iso-country-codes
But I am not sure what the
http://groups.google.com/group/android-developers/web/localizing-android-apps-draft?pli=1
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.
4 matches
Mail list logo