async task progress dialog show too late
问题 progress dialog appear to, late probably after async task is finished,in doInBackground it calls a web service and parse an xml,the activity have to wait for some seconds if in xml is a bigger file @Override protected void onPreExecute(){ super.onPreExecute(); completed=false; this.progressDialog.show(); } @Override protected Boolean doInBackground(Integer... params) { t=HttpHelper.callWebService( url, soapAction,xml); if (t.equals("")){ return false; } else { try { SAXParserFactory spf =