Cell cell = new Cell();
TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
String networkOperator = tm.getNetworkOperator();
if (networkOperator != null) {
int mcc = Integer.parseInt(networkOperator.substring(0, 3));
<BUG>cell.setMCC(mcc);
</BUG>
int mnc = Integer.parseInt(networkOperator.substring(3));
<BUG>cell.setMNC(mnc);
</BUG>
log.debug("CELL:: mcc=" + mcc + " mnc=" + mnc);

Cell cell = new Cell();
TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
String networkOperator = tm.getNetworkOperator();
if (networkOperator != null) {
int mcc = Integer.parseInt(networkOperator.substring(0, 3));
cell.setMcc(mcc);
int mnc = Integer.parseInt(networkOperator.substring(3));
cell.setMnc(mnc);
log.debug("CELL:: mcc=" + mcc + " mnc=" + mnc);
