Code example for CdmaCellLocation

Methods: getBaseStationIdgetNetworkIdgetSystemId

0
			String cdmaMnc = "";
			if (mccMnc != null && mccMnc.length() >= 5) {
				cdmaMcc = mccMnc.substring(0, 3);
				cdmaMnc = mccMnc.substring(3, 5);
			} 
			cellType = String.format("CDMA StationId=%d NetworkId=%d SysId=%d Mcc=%s Mnc=%s", cdma.getBaseStationId(), cdma.getNetworkId(),
					cdma.getSystemId(), cdmaMcc, cdmaMnc);
		} 
		list.add("\nCellLocation: " + cellType);
 
		list.add("\nMCC MNC: " + "mcc=" + mContext.getResources().getConfiguration().mcc + " mnc=" + mContext.getResources().getConfiguration().mnc);
		list.add("\nIMEI/MEID: " + phoneMgr.getDeviceId());
 
//		String phoneInfo = "Product: " + android.os.Build.PRODUCT; 
//        phoneInfo += ", CPU_ABI: " + android.os.Build.CPU_ABI; 
//        phoneInfo += ", TAGS: " + android.os.Build.TAGS; 
//        phoneInfo += ", VERSION_CODES.BASE: " + android.os.Build.VERSION_CODES.BASE; 
//        phoneInfo += ", MODEL: " + android.os.Build.MODEL; 
//        phoneInfo += ", SDK: " + android.os.Build.VERSION.SDK; 
//        phoneInfo += ", VERSION.RELEASE: " + android.os.Build.VERSION.RELEASE; 
Contextual code suggestions in your IDE  Get Codota for Java