Get Cell RSSI(Network Signal Strength) on Android 1.5

筅森魡賤 提交于 2019-12-22 10:43:53

问题


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.



来源:https://stackoverflow.com/questions/2275712/get-cell-rssinetwork-signal-strength-on-android-1-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!