Why do toast notifications die if delayed?

Posted by ubershmekel on Stack Overflow See other posts from Stack Overflow or by ubershmekel
Published on 2010-12-24T16:51:09Z Indexed on 2010/12/24 16:54 UTC
Read the original article Hit count: 179

Filed under:
|

I'm not sure this is the exact cause of my problem but I'll explain the 2 symptoms I noticed:

  1. If I put a break point on a Toast.makeText(..).show(), step over, then wait a few seconds before running, the toast will never appear.
  2. I have a location callback that tries to show a toast, but it never appears. Maybe I'm doing something else wrong, this is the line in question in my open source distress signal app.

Any help or pointers would be appreciated,

--uber

© Stack Overflow or respective owner

Related posts about android

Related posts about eclipse