Java 类com.google.zxing.client.result.EmailAddressParsedResult 实例源码

项目:keepass2android    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmailFromUri(emailResult.getMailtoURI(),
                       emailResult.getEmailAddress(),
                       emailResult.getSubject(),
                       emailResult.getBody());
      break;
    case 1:
      String[] addresses = new String[1];
      addresses[0] = emailResult.getEmailAddress();
      addEmailOnlyContact(addresses, null);
      break;
  }
}
项目:weex-3d-map    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmail(emailResult.getTos(),
                emailResult.getCCs(),
                emailResult.getBCCs(),
                emailResult.getSubject(),
                emailResult.getBody());
      break;
    case 1:
      addEmailOnlyContact(emailResult.getTos(), null);
      break;
  }
}
项目:ZXingAndroidExt    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
    EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
    switch (index) {
        case 0:
            sendEmail(emailResult.getTos(),
                    emailResult.getCCs(),
                    emailResult.getBCCs(),
                    emailResult.getSubject(),
                    emailResult.getBody());
            break;
        case 1:
            addEmailOnlyContact(emailResult.getTos(), null);
            break;
    }
}
项目:tvConnect_android    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmail(emailResult.getTos(),
                emailResult.getCCs(),
                emailResult.getBCCs(),
                emailResult.getSubject(),
                emailResult.getBody());
      break;
    case 1:
      addEmailOnlyContact(emailResult.getTos(), null);
      break;
  }
}
项目:tvConnect_android    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmail(emailResult.getTos(),
                emailResult.getCCs(),
                emailResult.getBCCs(),
                emailResult.getSubject(),
                emailResult.getBody());
      break;
    case 1:
      addEmailOnlyContact(emailResult.getTos(), null);
      break;
  }
}
项目:KeePass2Android    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmailFromUri(emailResult.getMailtoURI(),
                       emailResult.getEmailAddress(),
                       emailResult.getSubject(),
                       emailResult.getBody());
      break;
    case 1:
      String[] addresses = new String[1];
      addresses[0] = emailResult.getEmailAddress();
      addEmailOnlyContact(addresses, null);
      break;
  }
}
项目:PortraitZXing    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmail(emailResult.getTos(),
                emailResult.getCCs(),
                emailResult.getBCCs(),
                emailResult.getSubject(),
                emailResult.getBody());
      break;
    case 1:
      addEmailOnlyContact(emailResult.getTos(), null);
      break;
  }
}
项目:PortraitZXing    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmail(emailResult.getTos(),
                emailResult.getCCs(),
                emailResult.getBCCs(),
                emailResult.getSubject(),
                emailResult.getBody());
      break;
    case 1:
      addEmailOnlyContact(emailResult.getTos(), null);
      break;
  }
}
项目:PortraitZXing    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmail(emailResult.getTos(),
                emailResult.getCCs(),
                emailResult.getBCCs(),
                emailResult.getSubject(),
                emailResult.getBody());
      break;
    case 1:
      addEmailOnlyContact(emailResult.getTos(), null);
      break;
  }
}
项目:PortraitZXing    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmail(emailResult.getTos(),
                emailResult.getCCs(),
                emailResult.getBCCs(),
                emailResult.getSubject(),
                emailResult.getBody());
      break;
    case 1:
      addEmailOnlyContact(emailResult.getTos(), null);
      break;
  }
}
项目:QRCodeUtility    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
    EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
    switch (index) {
        case 0:
            sendEmail(emailResult.getTos(),
                    emailResult.getCCs(),
                    emailResult.getBCCs(),
                    emailResult.getSubject(),
                    emailResult.getBody());
            break;
        case 1:
            addEmailOnlyContact(emailResult.getTos(), null);
            break;
    }
}
项目:weex-analyzer-android    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmail(emailResult.getTos(),
                emailResult.getCCs(),
                emailResult.getBCCs(),
                emailResult.getSubject(),
                emailResult.getBody());
      break;
    case 1:
      addEmailOnlyContact(emailResult.getTos(), null);
      break;
  }
}
项目:weex-3d-map    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmail(emailResult.getTos(),
                emailResult.getCCs(),
                emailResult.getBCCs(),
                emailResult.getSubject(),
                emailResult.getBody());
      break;
    case 1:
      addEmailOnlyContact(emailResult.getTos(), null);
      break;
  }
}
项目:Weex-TestDemo    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmail(emailResult.getTos(),
                emailResult.getCCs(),
                emailResult.getBCCs(),
                emailResult.getSubject(),
                emailResult.getBody());
      break;
    case 1:
      addEmailOnlyContact(emailResult.getTos(), null);
      break;
  }
}
项目:weex    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmail(emailResult.getTos(),
                emailResult.getCCs(),
                emailResult.getBCCs(),
                emailResult.getSubject(),
                emailResult.getBody());
      break;
    case 1:
      addEmailOnlyContact(emailResult.getTos(), null);
      break;
  }
}
项目:sres-app    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmailFromUri(emailResult.getMailtoURI(),
                       emailResult.getEmailAddress(),
                       emailResult.getSubject(),
                       emailResult.getBody());
      break;
    case 1:
      String[] addresses = new String[1];
      addresses[0] = emailResult.getEmailAddress();
      addEmailOnlyContact(addresses, null);
      break;
  }
}
项目:faims-android    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmailFromUri(emailResult.getMailtoURI(),
                       emailResult.getEmailAddress(),
                       emailResult.getSubject(),
                       emailResult.getBody());
      break;
    case 1:
      String[] addresses = new String[1];
      addresses[0] = emailResult.getEmailAddress();
      addEmailOnlyContact(addresses, null);
      break;
  }
}
项目:Discounty    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
    EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
    switch (index) {
        case 0:
            sendEmailFromUri(emailResult.getMailtoURI(),
                    emailResult.getEmailAddress(),
                    emailResult.getSubject(),
                    emailResult.getBody());
            break;
        case 1:
            String[] addresses = new String[1];
            addresses[0] = emailResult.getEmailAddress();
            addEmailOnlyContact(addresses, null);
            break;
    }
}
项目:reacteu-app    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmailFromUri(emailResult.getMailtoURI(),
                       emailResult.getEmailAddress(),
                       emailResult.getSubject(),
                       emailResult.getBody());
      break;
    case 1:
      String[] addresses = new String[1];
      addresses[0] = emailResult.getEmailAddress();
      addEmailOnlyContact(addresses, null);
      break;
  }
}
项目:CordovaDemo    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmailFromUri(emailResult.getMailtoURI(),
                       emailResult.getEmailAddress(),
                       emailResult.getSubject(),
                       emailResult.getBody());
      break;
    case 1:
      String[] addresses = new String[1];
      addresses[0] = emailResult.getEmailAddress();
      addEmailOnlyContact(addresses, null);
      break;
  }
}
项目:ng-cordova-demo    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmailFromUri(emailResult.getMailtoURI(),
                       emailResult.getEmailAddress(),
                       emailResult.getSubject(),
                       emailResult.getBody());
      break;
    case 1:
      String[] addresses = new String[1];
      addresses[0] = emailResult.getEmailAddress();
      addEmailOnlyContact(addresses, null);
      break;
  }
}
项目:zxing-bsplus    文件:EmailAddressResultHandler.java   
@Override
public void handleClick(int buttonID) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (buttonID) {
    case R.id.button_email:
      sendEmail(emailResult.getTos(),
                emailResult.getCCs(),
                emailResult.getBCCs(),
                emailResult.getSubject(),
                emailResult.getBody());
      break;
    case R.id.button_add_contact:
      addEmailOnlyContact(emailResult.getTos(), null);
      break;
  }
}
项目:ngCordova-demo    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmailFromUri(emailResult.getMailtoURI(),
                       emailResult.getEmailAddress(),
                       emailResult.getSubject(),
                       emailResult.getBody());
      break;
    case 1:
      String[] addresses = new String[1];
      addresses[0] = emailResult.getEmailAddress();
      addEmailOnlyContact(addresses, null);
      break;
  }
}
项目:CordovaW8BarcodeDemo    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmailFromUri(emailResult.getMailtoURI(),
                       emailResult.getEmailAddress(),
                       emailResult.getSubject(),
                       emailResult.getBody());
      break;
    case 1:
      String[] addresses = new String[1];
      addresses[0] = emailResult.getEmailAddress();
      addEmailOnlyContact(addresses, null);
      break;
  }
}
项目:zxing-android-portrait    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmailFromUri(emailResult.getMailtoURI(),
                       emailResult.getEmailAddress(),
                       emailResult.getSubject(),
                       emailResult.getBody());
      break;
    case 1:
      String[] addresses = new String[1];
      addresses[0] = emailResult.getEmailAddress();
      addEmailOnlyContact(addresses, null);
      break;
  }
}
项目:cordova-template    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmailFromUri(emailResult.getMailtoURI(),
                       emailResult.getEmailAddress(),
                       emailResult.getSubject(),
                       emailResult.getBody());
      break;
    case 1:
      String[] addresses = new String[1];
      addresses[0] = emailResult.getEmailAddress();
      addEmailOnlyContact(addresses, null);
      break;
  }
}
项目:oxPush    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmailFromUri(emailResult.getMailtoURI(),
                       emailResult.getEmailAddress(),
                       emailResult.getSubject(),
                       emailResult.getBody());
      break;
    case 1:
      String[] addresses = new String[1];
      addresses[0] = emailResult.getEmailAddress();
      addEmailOnlyContact(addresses, null);
      break;
  }
}
项目:hive-ios    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmailFromUri(emailResult.getMailtoURI(),
                       emailResult.getEmailAddress(),
                       emailResult.getSubject(),
                       emailResult.getBody());
      break;
    case 1:
      String[] addresses = new String[1];
      addresses[0] = emailResult.getEmailAddress();
      addEmailOnlyContact(addresses, null);
      break;
  }
}
项目:BibSearch    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
  EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
  switch (index) {
    case 0:
      sendEmailFromUri(emailResult.getMailtoURI(),
                       emailResult.getEmailAddress(),
                       emailResult.getSubject(),
                       emailResult.getBody());
      break;
    case 1:
      String[] addresses = new String[1];
      addresses[0] = emailResult.getEmailAddress();
      addContact(null, null, addresses, null, null, null, null);
      break;
  }
}
项目:zxingfragmentlib    文件:EmailAddressResultHandler.java   
@Override
  public void handleButtonPress(int index) {
    EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
    switch (index) {
      case 0:
//        sendEmail(emailResult.getTos(),
//                  emailResult.getCCs(),
//                  emailResult.getBCCs(),
//                  emailResult.getSubject(),
//                  emailResult.getBody());
        break;
      case 1:
//        addEmailOnlyContact(emailResult.getTos(), null);
        break;
    }
  }
项目:barterli_android    文件:EmailAddressResultHandler.java   
@Override
public CharSequence getDisplayContents() {
    EmailAddressParsedResult result = (EmailAddressParsedResult) getResult();
    StringBuilder contents = new StringBuilder(100);
    ParsedResult.maybeAppend(result.getEmailAddress(), contents);
    contents.trimToSize();
    return contents.toString();
}
项目:AndroidMultiChannelMiddleware    文件:EmailAddressResultHandler.java   
@Override
public void handleButtonPress(int index) {
    EmailAddressParsedResult emailResult = (EmailAddressParsedResult) getResult();
    switch (index) {
    case 0:
        sendEmailFromUri(emailResult.getMailtoURI(), emailResult.getEmailAddress(), emailResult.getSubject(),
                emailResult.getBody());
        break;
    case 1:
        String[] addresses = new String[1];
        addresses[0] = emailResult.getEmailAddress();
        addEmailOnlyContact(addresses, null);
        break;
    }
}
项目:android-quick-response-code    文件:EmailAddressResultHandler.java   
@Override
public CharSequence getDisplayContents() {
    EmailAddressParsedResult result = (EmailAddressParsedResult) getResult();
    StringBuilder contents = new StringBuilder(100);
    ParsedResult.maybeAppend(result.getTos(), contents);
    contents.trimToSize();
    return contents.toString();
}