title: Getting started with ZXing on Android
body: <p>I'm trying to add ZXing to my project (add a button which calls the scanner upon press). I found this: <a href="http://groups.google.com/group/android-developers/browse_thread/thread/788eb52a765c28b5" rel="nofollow noreferrer">http://groups.google.com/group/android-developers/browse_thread/thread/788eb52a765c28b5</a> and of course the ZXing homesite: <a href="http://code.google.com/p/zxing/" rel="nofollow noreferrer">http://code.google.com/p/zxing/</a>, but still couldn't figure out what to include in the project classpath to make it all work!</p>
  
  <p>As for now, I copied the classes in the first link to my project (with some package name changes), and it runs but crashes after pressing the button and trying to install the barcode scanner.</p>
  
  <p>Some code:</p>
  
  <pre><code>private void setScanButton(){
      Button scan = (Button) findViewById(R.id.MainPageScanButton);
      scan.setOnClickListener(new OnClickListener() {
  
          @Override
          public void onClick(View v) {
              IntentIntegrator.initiateScan(MyActivity.this);
          }
      });
  }
  </code></pre>
  
  <p>Resulting error (from logcat):</p>
  
  <pre><code>06-13 15:26:01.540: ERROR/AndroidRuntime(1423): Uncaught handler: thread main exiting due to uncaught exception
  06-13 15:26:01.560: ERROR/AndroidRuntime(1423): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=market://search?q=pname:com.google.zxing.client.android }
  </code></pre>
  
  <p>Ideas?</p>