Use http://developer.android.com/reference/android/widget/Toast.html#cancel() to cancel your toast.
On Jun 1, 1:24 am, BoB <[email protected]> wrote: > Hey, > > This is probably a pretty easy question to answer but I couldn't find > any answers on my own so: > > I'm writing a little app that uses GPS coordinates and I have a toast > that pops up and displays my current GPS coordinates (and updates them > as they change). It works fine but when I close the app the toast > remains and covers whatever I do on the homescreen (and continues to > update the GPS coordinates). > > How do I get it to cancel when I close/hide the application? > > Thanks! -- 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

