基站定位的问题
public static int getCellIDInfo(Context context) throws Exception{TelephonyManager manager = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
GsmCellLocation gsm = ((GsmCellLocation) manager.getCellLocation());
return gsm.getCid();
}
为什么有时得到的基站ID是几小时前的?有人遇到过吗?是什么原因呢。
本人遇到的现象:程序是每隔15分钟自动执行本方法。
9:00-10:00 在A地 获得ID为:1
10:00离开A地 途中开启了GPS定位,途中肯定基站变化了,而且有信号 11:00到B地
11:00-12:00 在B地 获得ID为:1
这是什么情况?
补充:移动开发 , Android