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: > > 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: > > CdmaCellLocation cd = (CdmaCellLocation) tm.getCellLocation(); > int sysid = cd.getSystemId(); > int netid = cd.getNetworkId(); > int bsid = cd.getBaseStationId(); > > I can't test this last part out since I have a GSM phone. You can also > look at: > > http://developer.android.com/intl/fr/reference/android/telephony/cdma... > > Ken -- 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