allCellInfo.toString(); for(CellInfo cellInfo : allCellInfo){ if(cellInfo instanceof CellInfoGsm ) { CellInfoGsm infoGsm = (CellInfoGsm) cellInfo; CellIdentityGsm cellIdentity
import android.telephony.CellInfo; import android.telephony.CellInfoCdma; import android.telephony.CellInfoGsm mStation = String.format("%s\n lte_pci=%d", mStation, cellLte.getPci()); } else if ((cell instanceof CellInfoGsm )) { mCellType = Utils.TYPE_GSM; CellIdentityGsm cellGsm = ((CellInfoGsm)cell).getCellIdentity
_1; int type; Class CellInfoCdma; Class CellInfoLte; Class CellInfoWcdma; Class CellInfoGsm = null) { try { CellInfoGsm = clsLoader.loadClass("android.telephony.CellInfoGsm CellInfoCdma = clsLoader.loadClass("android.telephony.CellInfoCdma"); boolean v7 = CellInfoGsm.isInstance null; if(type == 1) { try { mCellInfoGsm = CellInfoGsm.cast