The documentation seems to distinguish

onSignalStrengthChanged (deprecated)

from

onSignalStrengthsChanged


note the 's'

So which method are you using on 2.0?

Ken Adair wrote:
> The typical method to obtain signal strength has been to extend the
> PhoneStateListener class and override the onSignalStrengthsChanged
> method. Anytime the signal strength changes the system will call this
> method passing in the new ASU.
>
> Since this method is now deprecated as of Android 2.0, how are we
> suppose to go about obtaining the signal strength? I tried using the
> method above on Droid (CDMA) and the ASU passed in is always -1.
>
> There are also no details in the SDK as to why this was removed or
> what we are supposed to do now.
> http://developer.android.com/reference/android/telephony/PhoneStateListener.html
>
> Best Regards,
>
> Ken

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to