[android-developers] Re: CDMA home carrier

2012-03-16 Thread bkph
On Friday, December 4, 2009 1:45:40 PM UTC-5, Ken H wrote: But don't get me started on Android 2.0 and this CDMA stuff. Example: the CdmaCellLocation has two methods (getBaseStationLatitude() getBaseStationLongitude()) which, judging from the name return the LAT/ LON of the site.

[android-developers] Re: CDMA home carrier

2009-12-04 Thread Ken H
On Dec 3, 9:57 am, gudujarlson gudujarl...@gmail.com wrote: not the home operator. So for example, if I had a contract with ATT and I was in Seattle, both the current cell site and the home operator are the same, but if I traveled to Vancouver, Canada the cell site would be owned by Rogers

[android-developers] Re: CDMA home carrier

2009-12-04 Thread gudujarlson
But don't get me started on Android 2.0 and this CDMA stuff. Example: the CdmaCellLocation has two methods (getBaseStationLatitude() getBaseStationLongitude()) which, judging from the name return the LAT/ LON of the site. Great, I'm thinking until I look at the datatype and see that they are

[android-developers] Re: CDMA home carrier

2009-12-03 Thread gudujarlson
The home operator is the operator you pay your bill to and get customer service from. The cell site you are currently talking to may not be owned by the same operator. When this happens, you are (sometimes?) considered to be roaming. As far as I know, all the functions you mentioned give

[android-developers] Re: CDMA home carrier

2009-12-02 Thread Ken H
On GSM I use: TelephonyManager tm = (TelephonyManager) getSystemService (Context.TELEPHONY_SERVICE); String Operator = tm.getNetworkOperatorName(); I assume CDMA is the same since I've seen nothing in the docs that say otherwise. Also, for CDMA you can get SystemID etc., by using:

[android-developers] Re: CDMA home carrier

2009-12-02 Thread gudujarlson
What you are referring to is information about the current cell tower, not the home operator. On a GSM phone, you can get the home operator with TelephonyManager.getSimOperator(), but on a CDMA phone it returns a bogus value. On Dec 2, 6:14 pm, Ken H hunt1...@gmail.com wrote: On GSM I use:

[android-developers] Re: CDMA home carrier

2009-12-02 Thread Ken H
I think I'm getting confused by what you mean by home operator and current cell tower. The getNetworkOperatorName() method will get you the network or carrier your phone is on (T-Mobile for example). I assume that is what you mean by home operator. Technically there is nothing that tells you the