请教怎么获取手机4G强度啊,本人用的 private class MyPhoneStateListener extends PhoneStateListener{
@Override
public void onSignalStrengthsChanged(SignalStrength signalStrength) {
super.onSignalStrengthsChanged(signalStrength);
int xinhao = signalStrength.getGsmSignalStrength();
Log.i(“cw”,”信号强度为:” + xinhao);
}
}
但获取到的是0,这个好像是获取3G信号的吧,求4G怎么获取,高手们帮帮忙啊!
@Override
public void onSignalStrengthsChanged(SignalStrength signalStrength) {
super.onSignalStrengthsChanged(signalStrength);
int xinhao = signalStrength.getGsmSignalStrength();
Log.i(“cw”,”信号强度为:” + xinhao);
}
}
但获取到的是0,这个好像是获取3G信号的吧,求4G怎么获取,高手们帮帮忙啊!
解决方案
80
http://m.blog.csdn.net/article/details?id=8373183
你看看这个试一下
你看看这个试一下