ProgressDialog pDialog; pDialog = new ProgressDialog(MainActivity.this).show(MainActivity.this, "正在加载", "正在加载");