private ProgressDialog progressDialog;
String tip = getBaseContext().getResources().getString(
                R.string.str_thread_progressing);
        progressDialog = ProgressDialog.show(context, "thread is progressing.....", tip,
                true);

new Threas(){
private void run(){
//surround with try..catch..finally{
//progressDialog.dismiss();
}

}.start();

 

相关文章: