title: ZXing only recognizes QR-Code
body: <p>I am trying to develop a barcode scanner for google glass (don't judge) using the <a href="https://github.com/zxing/zxing" rel="nofollow noreferrer">ZXing library</a>.</p>
  
  <p>Scanning QR-Codes works perfectly fine, but I can't scan any 1D-barcodes.</p>
  
  <p>This is my code:</p>
  
  <pre><code>Intent intent = new Intent(this, CaptureActivity.class);
  //intent.putExtra("SCAN_MODE", "PRODUCT_MODE"); //doesn't work with or without this line
  startActivityForResult(intent, SCAN_REQUEST);
  </code></pre>
  
  <p>Here is an example (EAN-8):
  <br><a href="https://i.stack.imgur.com/wOlHZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wOlHZ.png" alt="enter image description here"></a></p>
  
  <p>Scanning this with a scanner from the PlayStore works on my phone, but not using my app on the glass.</p>