So it only gives asu, not dBm?

I find there are two functions: onSignalStrengthChange(int asu) and
onSignalStrengthsChange(SignalStatus signalStatus) (maybe the
parameter is incorrect), can the latter one be used now?

On Sep 11, 11:54 pm, Android Development <[email protected]> wrote:
> You can 
> use:http://developer.android.com/reference/android/telephony/PhoneStateLi...<http://developer.android.com/reference/android/telephony/PhoneStateLi...>to
> listen to the signal strength changes, just like the Android notification
> bar does.
>
>
>
> On Fri, Sep 11, 2009 at 9:16 PM, Alex Tang <[email protected]> wrote:
>
> > First I want to acheive battery status and signal strength instantly.
> > For Battery Status, we can use SystemProperties.get
> > ("status.battery.level_raw") to get current battery level. This class
> > is not in SDK reference, but we can see this function is used in
> > BatteryService and other fields. I use it successfully
> > But for Signal Strength, I only find the way to use
> > onSignalStrengthChange(int asu) which only gives us an "asu", new
> > version seems to support onSignalStrengthsChange(....). But now, is
> > there better ways for exact signal strength?- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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