private void showProcessDialog(
     int resId, boolean CanceledOnTouchOutside, boolean Indeterminate, boolean cancelable) {
   mprogressDialog =
       DialogUtils.createProgressDialog(
           mActivity, resId, CanceledOnTouchOutside, Indeterminate, cancelable);
   mprogressDialog.show();
 }
  private void invitePeopleInPublicCircle(
      final String circleId,
      final String toids,
      final String toNames,
      final String message,
      final boolean sendEmail,
      final boolean sendSms) {
    if (inInvitePeople == true) {
      ToastUtil.showShortToast(this, mHandler, R.string.string_in_processing);
      return;
    }

    synchronized (mLockInvitePeople) {
      inInvitePeople = true;
    }

    mprogressDialog =
        DialogUtils.showProgressDialog(
            this, -1, getString(R.string.invite_progress_dialog_message));

    asyncQiupu.publicInvitePeople(
        AccountServiceUtils.getSessionID(),
        circleId,
        toids,
        toNames,
        message,
        sendEmail,
        sendSms,
        new TwitterAdapter() {
          public void publicInvitePeople(ArrayList<Long> joinIds) {
            Log.d(TAG, "finish invitePeopleInPublicCircle=" + joinIds.size());
            invitePeopleCallback(joinIds);

            Message msg = mHandler.obtainMessage(INVIT_PEOPLE_END);
            msg.getData().putBoolean(RESULT, true);
            msg.sendToTarget();
            synchronized (mLockInvitePeople) {
              inInvitePeople = false;
            }
          }

          public void onException(TwitterException ex, TwitterMethod method) {
            synchronized (mLockInvitePeople) {
              inInvitePeople = false;
            }
            Message msg = mHandler.obtainMessage(INVIT_PEOPLE_END);
            msg.getData().putBoolean(RESULT, false);
            msg.sendToTarget();
          }
        });
  }
  private void showEditRequestDialog(int type, String title, String hint, String textContent) {
    //   		if(mChangeRquestView == null) {
    mChangeRquestView =
        LayoutInflater.from(mActivity).inflate(R.layout.edit_user_info_dialog, null);
    mChangeRquestEdit = (EditText) mChangeRquestView.findViewById(R.id.edit_content);
    //   		}
    if (type == BasicActivity.DISPLAY_PHONE_NUMBER1
        || type == BasicActivity.DISPLAY_PHONE_NUMBER2
        || type == BasicActivity.DISPLAY_PHONE_NUMBER3) {
      mChangeRquestEdit.setInputType(InputType.TYPE_CLASS_NUMBER);
    }
    mChangeRquestEdit.setText(textContent);
    mChangeRquestEdit.setHint(hint);

    DialogUtils.ShowDialogwithView(
        mActivity,
        title,
        0,
        mChangeRquestView,
        ChangeRequestOkListener,
        ChangeRequestCancelListener);
  }