How to raise a toast in AsyncTask, I am prompted to used the Looper

Posted by Pentium10 on Stack Overflow See other posts from Stack Overflow or by Pentium10
Published on 2010-05-14T21:13:28Z Indexed on 2010/05/14 21:44 UTC
Read the original article Hit count: 224

Filed under:
|
|
|
|

I have tasks completed by AsyncTask in background. At some point I need to issue a Toast that something is completed.

I've tried and I failed because Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()

How can I do that?

© Stack Overflow or respective owner

Related posts about android

Related posts about android-sdk