Android: raise AlertDialog from background thread
Posted
by Stefan Klumpp
on Stack Overflow
See other posts from Stack Overflow
or by Stefan Klumpp
Published on 2009-11-25T10:59:48Z
Indexed on
2010/06/03
13:04 UTC
Read the original article
Hit count: 306
In my activity there's some stuff going on in a background thread, which gets started in Activity_1. The processing of the background thread takes a while and I want to notify the user when it's completed via an AlertDialog
. However, the user might have changed to Activity_2 or Activity_3 in the meantime and I would like to pop up the AlertDialog always in the current Activity.
Any idea how to realize this?
© Stack Overflow or respective owner