public MyProgressDialogUtils(String message, Context mContext) {
    super();
    this.mContext = mContext;

    mProgressDialog = new MyProgressDialog(mContext, R.style.MyProgressDialog);

    mProgressDialog.setMessage(message);
    mProgressDialog.setCancelable(false);

    mProgressDialog.setOnCancelListener(this);
  }
  public MyProgressDialogUtils(int message, Context mContext) {
    super();
    this.message = message;
    this.mContext = mContext;

    // <modify by Yongfeng.zhang 2014.11.12
    // mProgressDialog=new ProgressDialog(mContext);
    mProgressDialog = new MyProgressDialog(mContext, R.style.MyProgressDialog);
    // >end by Yongfeng.zhang 2014.11.12

    mProgressDialog.setMessage(mContext.getString(message));
    mProgressDialog.setCancelable(false);
    // mProgressDialog.setCanceledOnTouchOutside(true);

    mProgressDialog.setOnCancelListener(this);
  }