Android TelephonyManager.getCellLocation()是否适用于lte和wcdma手机?
我正在使用Android TelephonyManager.getCellLocation()是否适用于lte和wcdma手机?,android,Android,我正在使用 cellLocation=telephonyManager.getCellLocation(); if(cellLocation instanceof GsmCellLocation) { //get cid }else if(cellLocation instanceof CDMACellLocation){ //get cid } 获取gsm和cdma的手机信息。 我不确定lte和wcdma手机上会发生什么?因为我有一部3G
cellLocation=telephonyManager.getCellLocation();
if(cellLocation instanceof GsmCellLocation) {
//get cid
}else if(cellLocation instanceof CDMACellLocation){
//get cid
}
获取gsm和cdma的手机信息。
我不确定lte和wcdma手机上会发生什么?因为我有一部3G手机,所以我只能确保它适用于3G网络 你找到问题的答案了吗?