On Mon, May 17, 2010 at 10:15 AM, Gene R. <[email protected]> wrote:

> The problem seems to be that the Service class does not inherit the
> findViewById() method.
>

Services don't have an accompanying UI, so this makes sense.


> How can one generate and display a custom Toast from a Service??
>

In your code you inflate a view - so why not call findViewById on that root
view?

Also, don't use getApplicationContext() ... like, ever.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

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