Get Cell RSSI(Network Signal Strength) on Android

2019-05-14 12:59发布

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.

3条回答
在下西门庆
2楼-- · 2019-05-14 13:23

TelephonyManager.listen with flag LISTEN_SIGNAL_STRENGTHS

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

查看更多
女痞
3楼-- · 2019-05-14 13:25

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.

查看更多
Viruses.
4楼-- · 2019-05-14 13:27

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.

查看更多
登录 后发表回答