You can use:
http://developer.android.com/reference/android/telephony/PhoneStateListener.html<http://developer.android.com/reference/android/telephony/PhoneStateListener.html>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?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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