@Override
 protected void onPreExecute() {
   super.onPreExecute();
   dialog = new ProgressDialog(UsersInformation.this);
   String message =
       ApplicationSettings.translationSettings.GetTranslation(
           "and_msg_checkingUser", "Checking user....");
   AlertMessage.setAlertHeaderColor(message, getApplicationContext());
   dialog.setCancelable(false);
   dialog.setMessage(AlertMessage.setAlertHeaderColor(message, getApplicationContext()));
   dialog.show();
   super.onPreExecute();
 }
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   progressDialog = new ProgressDialog(PrincipalActivity.this);
   progressDialog.setMessage("Obteniendo local más cercano");
   progressDialog.show();
 }
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   pdia = new ProgressDialog(IlanAraActivity.this);
   pdia.setMessage("İlanlar Aranıyor...");
   pdia.show();
 }
Exemple #4
0
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   mdialog = mUltilities.GetProcessDialog(AlbumListView.this);
   mdialog.setCancelable(false);
   mdialog.show();
 }
 @Override
 protected void onPreExecute() {
   if (apkInfo != null && checkSoftStage()) {
     showDownloadDialog();
   }
   super.onPreExecute();
 }
    @Override
    protected void onPreExecute() {
      // TODO Auto-generated method stub
      super.onPreExecute();

      /*音量监控的弹出框*/
      mViewMonitorTime =
          (TextView) mViewGroupMonitorRootView.findViewById(R.id.ID_AUDIO_MONITOR_TIME);
      mViewVolume = (TextView) mViewGroupMonitorRootView.findViewById(R.id.ID_AUDIO_MONITOR_VOLUME);
      mViewGroupMonitorRootView.setVisibility(View.VISIBLE);
      mHandler = new Handler();

      /*开始录音计时*/
      mRecordDurationTime = 0;
      mCountDownTimer =
          new CountDownTimer(mRecord_Max_Time, 1000) {

            public void onTick(long millisUntilFinished) {
              mRecordDurationTime = (mRecord_Max_Time - millisUntilFinished) / 1000 + 1;
              mViewMonitorTime.setText(mRecordDurationTime + "\"");
            }

            public void onFinish() {
              stopRecording();
            }
          }.start();
    }
Exemple #7
0
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   // Showing progress dialog while sending email
   progressDialog =
       ProgressDialog.show(context, "Sending message", "Please wait...", false, false);
 }
    @Override
    protected void onPreExecute() {
      // TODO Auto-generated method stub
      super.onPreExecute();
      try {

        simpleWaitDialog = ProgressDialog.show(context, "Wait", "Downloading Image");
        simpleWaitDialog.show();

        new Thread(
                new Runnable() {
                  public void run() {
                    context.runOnUiThread(
                        new Runnable() {
                          public void run() {
                            ////                             tv.setText("uploading started.....");
                          }
                        });

                    new ImageDownloader()
                        .execute(
                            chatArrayList.get(clickPosition).uploadImageName.toString(), savePath);
                  }
                })
            .start();

        //		Bitmap map = DownloadImage(new
        // URL(chatArrayList.get(clickPosition).uploadImageName.toString()),savePath);
      } catch (Exception e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      }
      //	notifyDataSetChanged();

    }
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   if (mConfig.isHasDialog()) {
     progress = showProgressDialog();
   }
 }
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   progress.setTitle("Creating a new vacation");
   progress.setMessage("Please wait...");
   progress.show();
 }
 @Override
 protected void onPreExecute() {
   progress_dialog.setTitle(activity.getString(R.string.preparing_pass));
   progress_dialog.setMessage(activity.getString(R.string.please_wait));
   progress_dialog.show();
   super.onPreExecute();
 }
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   mProgressDialog.setTitle(getResources().getString(R.string.download_title));
   mProgressDialog.setMessage(getResources().getString(R.string.download_message));
   mProgressDialog.show(); // Show ProgressDialog
 }
Exemple #13
0
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   isAllow = false;
   userModel = new UserModel(activity);
   user_id = userModel.getIdUser() + "";
 }
 @Override
 protected void onPreExecute() {
   super
       .onPreExecute(); // To change body of overridden methods use File | Settings | File
                        // Templates.
   dialog.show();
 }
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   progressDialog =
       ProgressDialog.show(getActivity(), "Please Wait", "Fetching videos...", true);
   progressDialog.setCancelable(true);
 }
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   dialog = new ProgressDialog(getActivity());
   dialog.setMessage("Saving...");
   dialog.show();
 }
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   dialogP.setMessage("Please Wait..");
   dialogP.show();
   dialogP.setCancelable(false);
 }
    @Override
    protected void onPreExecute() {
      super.onPreExecute();
      isWorking = true;

      // Log.d("findonpage","findWords of startingNode:" + startingNode);
    }
 @Override
 protected void onPreExecute() {
   // TODO Auto-generated method stub
   super.onPreExecute();
   dialog = new MyCustomProgressDialog(self, R.style.MyCustomProgressDialog);
   dialog.show();
 }
Exemple #20
0
    @Override
    protected void onPreExecute() {
      super.onPreExecute();

      /** INSTANTIATE THE DATABASE HELPER CLASS * */
      db = new DBResto(MenuCreator.this);

      /** INSTANTIATE AND CONFIGURE THE PROGRESS DIALOG * */
      pdNewMenu = new ProgressDialog(MenuCreator.this);
      pdNewMenu.setMessage("Please wait while the new Dish / Menu is being created.");
      pdNewMenu.setIndeterminate(false);
      pdNewMenu.setCancelable(true);
      pdNewMenu.show();

      /* GET THE DISH NAME FROM THE EDITTEXT */
      DISH_NAME = edtDishName.getText().toString();

      /* CONSTRUCT A QUERY TO FETCH DISHES / MENUS ON RECORD */
      String strQueryData =
          "SELECT * FROM " + db.MENU + " WHERE " + db.MENU_NAME + " = '" + DISH_NAME + "'";
      //			Log.e("VERIFY TABLE QUERY", strQueryData);

      /* CAST THE QUERY IN THE CURSOR TO FETCH THE RESULTS */
      cursor = db.selectAllData(strQueryData);
    }
Exemple #21
0
 @Override
 protected void onPreExecute() {
   Thread.currentThread().setPriority(Thread.MAX_PRIORITY);
   Log.d(TAG, "threads: " + Thread.activeCount());
   super.onPreExecute();
   Log.d(TAG, "onPreExecute");
 }
Exemple #22
0
    @Override
    protected void onPreExecute() {
      super.onPreExecute();

      /** INSTANTIATE THE DATABASE HELPER CLASS * */
      db = new DBResto(MenuCreator.this);
    }
Exemple #23
0
 @Override
 protected void onPreExecute() {
   dialog = new LoadingDialog(ActAccountCenter.this);
   dialog.getWindow().setWindowAnimations(R.style.dialog_anim);
   dialog.show();
   super.onPreExecute();
 }
Exemple #24
0
    @Override
    protected void onPreExecute() {
      super.onPreExecute();

      /** INSTANTIATE AND CONFIGURE THE PROGRESS DIALOG * */
      pdUpdateTax = new ProgressDialog(TaxModifier.this);

      pdUpdateTax.setMessage("Please wait while the new Tax is being added.");
      pdUpdateTax.setIndeterminate(false);
      pdUpdateTax.setCancelable(true);
      pdUpdateTax.show();

      /** INSTANTIATE THE DATABASE HELPER CLASS * */
      db = new DBResto(TaxModifier.this);

      /** GET THE TAX NAME FROM THE EDITTEXT * */
      tax_name = edtTaxName.getText().toString().trim();

      /** CONSTRUCT A QUERY TO FETCH THE TAXES ON RECORD * */
      String strQueryData =
          "SELECT * FROM " + db.TAXES + " WHERE " + db.TAX_NAME + " = '" + tax_name + "'";

      /** CAST THE QUERY IN THE CURSOR TO FETCH THE RESULTS * */
      cursor = db.selectAllData(strQueryData);
    }
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   if (progress != null && !progress.isShowing()) {
     progress.show();
   }
 }
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   if (openDialog) {
     //      dialog = StatusUtils.showSpinnerDialog((Activity) ctx);
   }
 }
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   // Shows Progress Bar Dialog and then call doInBackground method
   dialog.setMessage("Deleting database & archive files. Please wait...");
   dialog.show();
 }
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   progressDialog = new ProgressDialog(TaskActivity.this);
   progressDialog.setMessage("Loading...");
   progressDialog.show();
 }
Exemple #29
0
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   dialog.setMessage(getString(R.string.editor_uploading_image));
   dialog.setCancelable(false);
   dialog.show();
 }
 @Override
 protected void onPreExecute() {
   super.onPreExecute();
   if (mShowDialog) {
     show();
   }
 }