我一直在努力在 android 网络中找到正确的 CellID。我正在尝试搜索教程,我找到了这样的解决方案:
telephonyManager = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
cellLocation = (GsmCellLocation) telephonyManager.getCellLocation();
然后要访问 CellID,请使用以下代码:
cellLocation.getCid() % 0xffff
当我运行应用程序时,我得到了一个 ID 号。但是,问题是不同的 IDCELL 与 G Nettrack 应用程序作为参考。然后,CELLID 与原始数据不匹配。请帮忙!谢谢