[android-developers] Re: Toast doesn't leave

2009-11-17 Thread niko20
I don't think the toast was your problem. It could be that something
else in the phone hung up (I've even had my Droid do it) and thereby
the UI wouldn't respond as expected.

-niko

On Nov 17, 12:10 pm, Stephen Abrams ssaid...@gmail.com wrote:
 No stuck toasts here. As documented, you generally don't have to
 cancel them as they expire after the time you set, but there have been
 cases I've wanted to dismiss them sooner than the timer (depending on
 user actions), In the main UI thread you can call

 myInstantiatedToast.cancel();

 Has to be in the main UI thread or this won't work.

 Steve



 On Tue, Nov 17, 2009 at 12:09 PM, Wayne Wenthin wa...@fuligin.com wrote:
  I've had a user say that one of my toasts never left the screen even after
  exiting the app.   Has anyone else had a stuck toast?

  --
  Writing code is one of few things
  that teaches me I don't know everything.

 http://www.fuligin.com

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

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


Re: [android-developers] Re: Toast doesn't leave

2009-11-17 Thread Wayne Wenthin
Thats what I was thinking.I've had this happen on other apps before and
could never reproduce it.   I really need to get taskkiller for myself some
day.[?]

On Tue, Nov 17, 2009 at 10:36 AM, niko20 nikolatesl...@yahoo.com wrote:

 I don't think the toast was your problem. It could be that something
 else in the phone hung up (I've even had my Droid do it) and thereby
 the UI wouldn't respond as expected.

 -niko

 On Nov 17, 12:10 pm, Stephen Abrams ssaid...@gmail.com wrote:
  No stuck toasts here. As documented, you generally don't have to
  cancel them as they expire after the time you set, but there have been
  cases I've wanted to dismiss them sooner than the timer (depending on
  user actions), In the main UI thread you can call
 
  myInstantiatedToast.cancel();
 
  Has to be in the main UI thread or this won't work.
 
  Steve
 
 
 
  On Tue, Nov 17, 2009 at 12:09 PM, Wayne Wenthin wa...@fuligin.com
 wrote:
   I've had a user say that one of my toasts never left the screen even
 after
   exiting the app.   Has anyone else had a stuck toast?
 
   --
   Writing code is one of few things
   that teaches me I don't know everything.
 
  http://www.fuligin.com
 
   --
   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.comandroid-developers%2bunsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

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




-- 
Writing code is one of few things
that teaches me I don't know everything.

http://www.fuligin.com

-- 
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=en338.gif