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/CdmaCellLocation.html Ken On Dec 2, 3:47 pm, gudujarlson <gudujarl...@gmail.com> wrote: > How does one determine the home carrier on a CDMA phone? By home > carrier I mean the carrier that the phone's owner has a contract with, > not the owner of the cell site that the phone is communicating with. > These are different when the phone is roaming. On a GSM phone I can > get the home carrier from the IMSI recorded on the SIM, but this does > not work on a CDMA phone. CDMA has a similar identifier called home > system ID. Is there a way to query the home system ID? If that is not > possible, how do I determine the home carrier? On Windows Mobile I am > forced to search the registry looking for strings like 'Verizon' and > 'Sprint'. Is there a similar klooge on Android? -- 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