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 this.
Ne0 On Nov 17, 5:48 pm, Ken Adair <[email protected]> wrote: > 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, Master_Ne0 <[email protected]> > wrote: > > > 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 works, doubt that it will be backwards compatible. > > > Ne0 > > > On Nov 17, 1:46 am, Ken Adair <[email protected]> wrote: > > > > 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 [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

