How to run a Runnable thread in Android?...
final ProgressDialog progressDialog =
ProgressDialog.show(InboxActivity.this, "","Loading...", true, true);
Handler
handler=new Handler(); Runnable r=new Runnable() { public void run() { your method here();
progressDialog.dismiss();
} }; handler.postDelayed(r, 1000);
thanks for your tip...
ReplyDelete