Get Cell RSSI(Network Signal Strength) on Android

2019-05-14 13:14发布

问题:

Is there any way to retrieve the current cellular Signal Strength (RSSI) on Android 1.5?

I know there's a way to listen for signal strength updates through the TelephonyManager, but this seems to only give a "state," not a numeric value.

Is using the RSSI field on a neighboring cell fairly accurate? I'm guessing not, but I'm running out of ideas.

回答1:

TelephonyManager.listen with flag LISTEN_SIGNAL_STRENGTHS

http://developer.android.com/reference/android/telephony/PhoneStateListener.html



回答2:

It seems that there is some kind of API change between the Android Versions. The answer to this question should give you some points to look further into this.



回答3:

Here is a tutorial that uses a PhoneStatuslistener. Is a learn be example tutorial, it help me when I was programming.

http://www.firstdroid.com/2010/05/12/get-provider-gsm-signal-strength/

Adrian.