나는이 코드 아래에 첫 번째 sim 셀 타워 ID를 얻을 수 있습니다. 하지만 난 두 번째 sim2 세포 ID를 얻고 싶습니다.듀얼 sim2에서 셀 타워 ID를 얻는 방법
TelephonyManager telephonyManager = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
GsmCellLocation cellLocation = (GsmCellLocation) telephonyManager.getCellLocation();
int nowcid = cellLocation.getCid();
int nowlac = cellLocation.getLac();
여기에 대해 많은 질문이 있습니다. 하지만 안드로이드 6.0 삼성 j7 2016과 모든 코드를 테스트했지만 did2는 sim2 세포 id있어. 어떤 사람들은 다른 질문에는 불가능하지만 네트워크 셀 정보 Lite 앱 https://play.google.com/store/apps/details?id=com.wilysis.cellinfolite&hl=en은 테스트 한 모든 장치에서 sim2의 셀 ID를 얻습니다.
이 문제에 대한 모든 수정 사항? –