当前位置: 代码迷 >> 综合 >> android 如何获取MCC/MNC
  详细解决方案

android 如何获取MCC/MNC

热度:98   发布时间:2024-01-19 18:03:57.0
获取MCC/MNC以便控制小区广播的开启
 
双卡:((GeminiPhone)mPhone).getIccCardGemini(simId).getIccRecords().getIMSI();
 
单卡: GsmPhone.getIccCard().getIccRecords().getIMSI();
 
通过获取子字符串Interger.parseInt(imsi.substring(0,3));获取MCC,MNC获取类似 。

  相关解决方案