Code example for CdmaCellLocation

Methods: getBaseStationIdgetNetworkIdgetSystemId

0
				//NETWORK_TYPE_EVDO_A���й����3G��getNetworkType 
				//NETWORK_TYPE_CDMA����2G��CDMA 
				if (type == TelephonyManager.NETWORK_TYPE_EVDO_A || type == TelephonyManager.NETWORK_TYPE_CDMA || type ==TelephonyManager.NETWORK_TYPE_1xRTT)
				{ 
					location = (CdmaCellLocation) tm.getCellLocation();
					int cellIDs = location.getBaseStationId();
					int networkID = location.getNetworkId();
					StringBuilder nsb = new StringBuilder();
					nsb.append(location.getSystemId());
                    CellIDInfo info = new CellIDInfo();
                    info.cellId = cellIDs;
                    info.locationAreaCode = networkID; //ok
                    info.mobileNetworkCode = nsb.toString();
                    info.mobileCountryCode = tm.getNetworkOperator().substring(0, 3);
                    info.radioType = "cdma";
                    CellID.add(info);
				} 
				//�ƶ�2G�� + CMCC + 2  
				//type = NETWORK_TYPE_EDGE 
				else if(type == TelephonyManager.NETWORK_TYPE_EDGE)
Connect your IDE to all the code out there  Get Codota for Java