[android-developers] Re: PhoneStateListener::onSignalStrengthChanged

2009-11-18 Thread Master_Ne0
Not quite, the original way passed an int not a SignalStrength class, i dont think SignalStrength is part of the SDK yet. They say its been deprecated, i assume this means a soon to come revision of the SDK will have this class in and fixed. You will have to wait for a google developer to confirm

[android-developers] Re: PhoneStateListener::onSignalStrengthChanged

2009-11-17 Thread Master_Ne0
The source code suggests this, @Override public void onSignalStrengthsChanged(SignalStrength signalStrength) { mSignalStrength = signalStrength; updateSignalStrength(); } where SignalStrength is android.telephony.SignalStrength class. Let me know if this

[android-developers] Re: PhoneStateListener::onSignalStrengthChanged

2009-11-17 Thread Ken Adair
Thanks for the reply. The way you mentioned was the way to do it prior to Android 2.0. However, it has since been deprecated, meaning that is no longer the way to access signal strength. From my limited testing this method no longer seems to work when testing with the Droid. On Nov 17, 12:30 pm,

[android-developers] Re: PhoneStateListener::onSignalStrengthChanged

2009-11-16 Thread Ken Adair
I second the SDK confusion. I was able to create a PhoneStateListener and override the onSignalStrengthChanged method. However, the asu is always -1. I am also testing on the Droid. Someone at Google please advise. Regards, Ken -- You received this message because you are subscribed to the

[android-developers] Re: PhoneStateListener::onSignalStrengthChanged

2009-11-16 Thread Ken Adair
I'm assuming it is returning -1 because it is no longer being used with 2.0? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email