public CellidSample (CellLocation cell)
{
CellLocationEx mmcCell = new CellLocationEx(cell);
timestamp = System.currentTimeMillis();
val1 = mmcCell.getBSHigh();
val2 = mmcCell.getBSLow();
//
// if (telephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA && mmcCell instanceof CdmaCellLocation)
// {
// lac = ((CdmaCellLocation)mmcCell).getSystemId();
// cid = ((CdmaCellLocation)mmcCell).getBaseStationId();
// }
// else if (mmcCell instanceof GsmCellLocation)
// {
// lac = ((GsmCellLocation)mmcCell).getLac();
// cid = ((GsmCellLocation)mmcCell).getCid();
// }
}
CellHistory.java 文件源码
java
阅读 21
收藏 0
点赞 0
评论 0
项目:android-QoS
作者:
评论列表
文章目录