Look at the service API demos, I think all of them display toasts.  There
should be nothing special involved -- just use the regular toast methods
from the main thread.

On Fri, Jun 11, 2010 at 9:58 AM, Flying Coder <[email protected]> wrote:

>
> So, I have an IntentService that handles button callbacks from a
> widget.  When the user presses a certain button, I want to display a
> Toast.  I return from onHandleIntent almost immediately after doing
> Toast.show(), which in turn stops the service and kills its thread,
> which keeps the Toast from actually being displayed.
>
> Can anyone suggest an easy way to get the Toast (or something similar)
> to display from an IntentService?
>
> Thanks a bunch,
> Steve
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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