林在一些活动。但即时得到异常提title.how添加进度对话框来解决它。
dialog = ProgressDialog.show(Notification.this, "loading please wait",
"Loading. Please wait...", true);
new Thread() {
public void run() {
try{
performBackgroundProcess1();
//sleep(3000,000);
} catch (Exception e) {
Log.e("tag", e.getMessage());
}
// dismiss the progress dialog
dialog.dismiss();
}
}.start();
任何一点毛病this.all后台进程在performbackgroundprocess方法进行。