3G モードでは近隣リストを取得しましたが、2G モードでは取得できませんでした。2gモードで隣接リストを取得するのを手伝ってくれる人はいますか? 2G モードで取得できなかったスクランピング コード...どうすればこの値を取得できますか
TelephonyManager telephonyManager = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
GsmCellLocation cellLocation = (GsmCellLocation) telephonyManager.getCellLocation();
int cid = cellLocation.getCid();
int lac = cellLocation.getLac();
textGsmCellLocation.setText(cellLocation.toString());
textCID.setText("gsm cell id: " + String.valueOf(cid));
textLAC.setText("gsm location area code: " + String.valueOf(lac));