开发了信号强度代码。现在我想找出频率和频道号。
public class myPhoneStateListener extends PhoneStateListener {
int SignalStrengthOfTower = 0;
int EcNo=0;
public void onSignalStrengthsChanged(SignalStrength signalStrength) {
super.onSignalStrengthsChanged(signalStrength);
SignalStrengthOfTower = signalStrength.getGsmSignalStrength();
SignalStrengthOfTower = (2 * SignalStrengthOfTower) - 113;
signalStrengthNetwork=String.valueOf(SignalStrengthOfTower);
signalview.setText(signalStrengthNetwork);
}
}