title: Using ZBar (Android) SDK, My Application Is Getting Different ISBNs From The Same Book
body: <p>I am creating an application that is using the ZBar SDK on Android to scan books and get their ISBN.  I have gotten everything to work on the physical side. You press a button, the scanner window pops up and scans the bar code.  </p>
  
  <p>The problem comes when the application gets the ISBN from the scanner, it seems that the scanner is either reading the bar code incorrectly or that I am not pulling in the right data.  Does anyone know how to fix this issue?  Thanks.  Below is relevant code, and a few screens</p>
  
  <pre><code>    @Override
  public void onClick(View v) 
  {
      //TODO add functionallity
      if(v.getId() == R.id.ScanButton)
      {
          Intent intent = new Intent(this, ZBarScannerActivity.class);
          intent.putExtra(ZBarConstants.SCAN_MODES, new int[]{Symbol.ISBN10, Symbol.ISBN13, Symbol.EAN8, Symbol.EAN13 });
          startActivityForResult(intent, ZBAR_SCANNER_REQUEST);
  
      }
  
  }
  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data)
  {    
      if (resultCode == RESULT_OK) 
      {
          // Scan result is available by making a call to data.getStringExtra(ZBarConstants.SCAN_RESULT)
          // Type of the scan result is available by making a call to data.getStringExtra(ZBarConstants.SCAN_RESULT_TYPE)
          contentText.setText("ISBN: " + data.getStringExtra(ZBarConstants.SCAN_RESULT));
          Toast.makeText(this, "Scan Result = " + data.getStringExtra(ZBarConstants.SCAN_RESULT), Toast.LENGTH_SHORT).show();
  
          Toast.makeText(this, "Scan Result Type = " + data.getStringExtra(ZBarConstants.SCAN_RESULT_TYPE), Toast.LENGTH_SHORT).show();
          // The value of type indicates one of the symbols listed in Advanced Options below.
      } 
      else if(resultCode == RESULT_CANCELED) 
      {
          Toast.makeText(this, "Scanning Cancelled", Toast.LENGTH_SHORT).show();
      }
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/xc8Fg.png" alt="First Screen"></p>
  
  <p><img src="https://i.stack.imgur.com/xnHqV.png" alt="Second Screen"></p>
  
  <p><img src="https://i.stack.imgur.com/rgdrF.jpg" alt="Offending Bar Code"></p>