@Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_findpassword);

    this.mPhoneNum = (EditText) this.findViewById(R.id.phoneNum);
    this.mCheckWord = (EditText) this.findViewById(R.id.checkWord);

    this.mGetWord = (Button) this.findViewById(R.id.btn_getword);
    this.mGetWord.setOnClickListener(
        new View.OnClickListener() {

          @Override
          public void onClick(View v) {
            // step1 check phoneNum not null
            phoneNum = mPhoneNum.getEditableText().toString().trim();
            if (TextUtils.isEmpty(phoneNum)) {
              Toast.makeText(FindPassWordActivity.this, "请输入电话号码", Toast.LENGTH_SHORT).show();
              return;
            }
            // step2 request Message code
            new reqMessageCodeTask().execute();
          }
        });
    this.mBtnNext = (Button) this.findViewById(R.id.btn_nextstep);
    this.mBtnNext.setOnClickListener(
        new View.OnClickListener() {

          @Override
          public void onClick(View v) {

            // step1 check phoneNum not null
            phoneNum = mPhoneNum.getEditableText().toString().trim();
            if (TextUtils.isEmpty(phoneNum)) {
              Toast.makeText(FindPassWordActivity.this, "请输入电话号码", Toast.LENGTH_SHORT).show();
              return;
            }
            // step2 check identifing code not null
            checkWord = mCheckWord.getEditableText().toString().trim();
            if (TextUtils.isEmpty(checkWord)) {
              Toast.makeText(FindPassWordActivity.this, "请输入验证码", Toast.LENGTH_SHORT).show();
              return;
            }

            // step3 check identifingcode
            new checkMessageCodeTask().execute();
          }
        });
  }
 @Override
 public void onStop() {
   super.onStop();
   // TODO(shuyinghuang) will remove later
   // ConstantsHelper.TEST = false;
 }
 @Override
 public void onResume() {
   super.onResume();
   // TODO(shuyinghuang) will remove later
   // ConstantsHelper.TEST = true;
 }