I need to show the Alertdialog inside Asynctaskin android , but it won`t show in throws exception.
05-13 14:59:35.522: WARN/System.err(1179): java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
Thanks.
It isn’t possible to manipulate the UI from the background thread. Use handler or the onPre/Post methods of the AsyncTask for that.