When I request the Cell ID and LAC information, on some devices I cannot retreive them.
I use this code:
TelephonyManager tm =(TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
location = (GsmCellLocation) tm.getCellLocation();
cellID = location.getCid();
lac = location.getLac();
- Does anyone know why some GSM carriers do not provide them?
- Do I need permissions for that?
- What else is there to know about retreiving the CellID and LAC?