No, but an app widget (which is what I'm assuming the OP is referring
to) should not be keeping a service around 24x7 solely to watch for
phone state changes.

On Thu, Dec 30, 2010 at 6:28 PM, TreKing <treking...@gmail.com> wrote:
> On Tue, Dec 28, 2010 at 3:02 PM, b_t <bartata...@gmail.com> wrote:
>>
>> But I don't know how to use it in a widget.
>
> What limitations does using the widget impose? A cursory look at the doc for
> PhoneStateListener does not show any requirement of or dependency on an
> Activity.
> -------------------------------------------------------------------------------------------------
> TreKing - Chicago transit tracking app for Android-powered devices
>
> --
> 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 to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in Atlanta: http://bignerdranch.com/classes/android

-- 
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 to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to