Exemplo n.º 1
0
    @Override
    protected Boolean doInBackground(String... params) {
      // TODO Auto-generated method stub
      //			UPLOAD_URL = LoginUtil.mLoginStatus.mUserInfo.mPicData.get(0).uploadurl;
      try {

        List<ProtocolData> mDatas = getRequestDatas();
        BankRecordParser authorRegParser = new BankRecordParser();

        mRsp = HttpUtil.doRequest(authorRegParser, mDatas);
      } catch (Exception e) {
        // TODO: handle exception
        e.printStackTrace();
      }
      return null;
    }
Exemplo n.º 2
0
  @Override
  protected Boolean doInBackground(String... params) {
    // TODO Auto-generated method stub
    try {
      //			String phonenumber=PreferenceConfig.instance(activity).getString(Constants.USER_NAME,
      // "");
      CommonData mData = new CommonData();
      mData.putValue("phonenumber", phonenumber);

      List<ProtocolData> mDatas =
          ProtocolUtil.getRequestDatas("ApiSafeGuard", "validateUser", mData);
      PwdSafetyValidateUserParser pwdSafetyValidateUserParser = new PwdSafetyValidateUserParser();
      mRsp = HttpUtil.doRequest(pwdSafetyValidateUserParser, mDatas);
    } catch (Exception e) {
      // TODO: handle exception
      e.printStackTrace();
      mRsp = null;
    }

    return null;
  }