can anybody tell me how to use ProgressDialog in my Main thread.?
i created ProgressDialog as
myProgressDialog = ProgressDialog.show(Database.this,
"Please wait...", "", true);
java.lang.RuntimeException: can't create handler inside thread that has not called Looper.prepare()
but i wrote Looper.prepare() still unable to display ProgressDialog