I have posted a question Progress Dialog is not displaying while getting data from separate thread class but I haven\'t got the appropriate answers. I have already used async t
You can do UI operations only from an UI thread. Try running it on an UI thread.
runOnUiThread(new Runnable() { public void run() { mProgressDialog.show(); } });