電話に SIM カードがない場合でも、Android の TelephonyManager がロケーション エリア コードとセル ID を提供しているのを観察したシナリオに直面しています。
cellLocation = (GsmCellLocation) mTMInstance.getCellLocation();
if(cellLocation == null)
return false;
currentCellID = ((GsmCellLocation)cellLocation).getCid();
currentLac = ((GsmCellLocation)cellLocation).getLac();
currentImsi = mTMInstance.getSubscriberId();
同様の問題に直面したことがあるかどうか、誰かが確認できますか? 私はfroyoでコンパイルし、Gingerbreadでアプリを実行しています。