Comment élever un toast en AsyncTask, je suis invité à utiliser le Looper

J'ai des tâches accomplies par AsyncTask en arrière-plan. À un certain moment, j'ai besoin d'émettre un Toast que quelque chose est terminé.

J'ai essayé et j'ai échoué parce que
Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()

Comment puis-je le faire?

InformationsquelleAutor Pentium10 | 2010-05-14