Alvin Yates wrote:
> I'm using a bunch of Toast messages in my application in order for
> certain services to communicate to the user.  The problem seems to be,
> however, that if I navigate certain parts of the app too quickly, one
> of the toast messages never actually disappears, which I think may
> have to do with the instance of the service that called it being
> destroyed prematurely in some fashion. 

A service is raising a Toast?

Are you sure you aren't better served using Notifications instead? Or
having an activity raise the Toast if your activity is in the foreground?

IMHO, services should not be directly affecting the UI.

And if I misunderstood your comment, my apologies.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

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