private ProgressDialog myDialog = null;
myDialog = ProgressDialog.show(this, "保存图片", "图片正在保存中,请稍等...", true);
myDialog.dismiss();