Possible Duplicate:
Can't create handler inside thread that has not called Looper.prepare() inside AsyncTask for ProgressDialog
I am getting the following exception on making a call to a method, which eventually makes a POST method call from my async task:
“Cant Create Handler Inside Thread That Has Not Called Looper Prepare in Android” .
I am using async task to show progress dialog.
Can you please help me.
Thanks
Duplicate of Can't create handler inside thread that has not called Looper.prepare() inside AsyncTask for ProgressDialog
In short: the progress dialog’s
show()method must be called from the UI thread, not from the background thread. UseonProgressUpdateoronPreExecutefor that.