TelephonyManager mTelephonyManager =(TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);    
   
// 返回值MCC + MNC    
String operator = mTelephonyManager.getNetworkOperator();    
int mcc = Integer.parseInt(operator.substring(0, 3));    
int mnc = Integer.parseInt(operator.substring(3));    
   
 // 中国移动和中国联通获取LAC、CID的方式    
GsmCellLocation location = (GsmCellLocation) mTelephonyManager.getCellLocation();    
int lac = location.getLac();    
int cellId = location.getCid();   我是移动的手机,得到的MCC,MNC和LAC都对,就是CellID不对。CellID的值是220234061,有时又是220205921,就在公司的办公室。
下了一个基站定位的软件,显示的CellID是4961,显示的详细地址也是对的。
我为什么会得到这么奇怪的值呢?