// Put up our own UI for how to handle the decoded contents.
 private void handleDecodeInternally(
     Result rawResult, ResultHandler resultHandler, Bitmap barcode) {
   String content = rawResult.getText();
   Logger.i(content);
   Logger.i(StringUtils.isURL(content) + "");
   if (StringUtils.isURL(content)) {
     showCardView(content);
   } else {
     WarningDialog(content);
   }
 }