title: Zxing issue - ActivityNotFoundException
body: <p>I am getting an <code>Exception</code> while working with <code>zxing</code> scanner. In my application, I want to scan <code>Bar</code> and <code>QR</code> codes by single-camera <code>Activity</code> ( <code>CaptureActivity</code> of zxing). For that, I used the following code in my app</p>
  <pre><code>   Intent intent = new Intent(&quot;com.google.zxing.client.android.SCAN&quot;);
                intent.setPackage(&quot;com.google.zxing.client.android&quot;); 
                intent.putExtra(&quot;SCAN_MODE&quot;, &quot;PRODUCT_MODE&quot;);
                intent.putExtra(&quot;SCAN_FORMATS&quot;, &quot;CODE_39,CODE_93,CODE_128,DATA_MATRIX,ITF,CODABAR,EAN_13,EAN_8,UPC_A,QR_CODE&quot;);
                startActivityForResult(intent, 0);  
  </code></pre>
  <p>But I am getting the exception:-</p>
  <pre><code>01-03 10:28:15.445: E/AndroidRuntime(3405): android.content.ActivityNotFoundException: No Activity found to handle Intent 
  { act=com.google.zxing.client.android.SCAN pkg=com.google.zxing.client.android (has extras) }
  </code></pre>
  <p>I can't use</p>
  <pre><code>  IntentIntegrator
  </code></pre>
  <p>in my App. So please someone help me, to solve this issue.
  This is my full log cat output</p>
  <pre><code>             01-04 04:58:39.551: D/AndroidRuntime(905): Shutting down VM
                       01-04 04:58:39.551: W/dalvikvm(905): threadid=1: thread exiting with uncaught exception (group=0x40a13300)
                        01-04 04:58:39.581: E/AndroidRuntime(905): FATAL EXCEPTION: main
                        01-04 04:58:39.581: E/AndroidRuntime(905): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=com.google.zxing.client.android.SCAN pkg=com.google.zxing.client.android (has extras) }
                         01-04 04:58:39.581: E/AndroidRuntime(905):   at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1545)
                         01-04 04:58:39.581: E/AndroidRuntime(905):   at android.app.Instrumentation.execStartActivity(Instrumentation.java:1416)
                       01-04 04:58:39.581: E/AndroidRuntime(905):     at android.app.Activity.startActivityForResult(Activity.java:3351)
                       01-04 04:58:39.581: E/AndroidRuntime(905):     at android.app.Activity.startActivityForResult(Activity.java:3312)
                        01-04 04:58:39.581: E/AndroidRuntime(905):    at com.google.zxing.shopping.shopping$1.onClick(shopping.java:98)
                            01-04 04:58:39.581: E/AndroidRuntime(905):    at android.view.View.performClick(View.java:4084)
                        01-04 04:58:39.581: E/AndroidRuntime(905):    at android.view.View$PerformClick.run(View.java:16966)
                           01-04 04:58:39.581: E/AndroidRuntime(905):     at android.os.Handler.handleCallback(Handler.java:615)
                           01-04 04:58:39.581: E/AndroidRuntime(905):     at android.os.Handler.dispatchMessage(Handler.java:92)
                                01-04 04:58:39.581: E/AndroidRuntime(905):    at android.os.Looper.loop(Looper.java:137)
                             01-04 04:58:39.581: E/AndroidRuntime(905):   at android.app.ActivityThread.main(ActivityThread.java:4745)
                            01-04 04:58:39.581: E/AndroidRuntime(905):    at java.lang.reflect.Method.invokeNative(Native Method)
                            01-04 04:58:39.581: E/AndroidRuntime(905):    at java.lang.reflect.Method.invoke(Method.java:511)
                          01-04 04:58:39.581: E/AndroidRuntime(905):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
                         01-04 04:58:39.581: E/AndroidRuntime(905):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
                                01-04 04:58:39.581: E/AndroidRuntime(905):    at dalvik.system.NativeStart.main(Native Method)
  </code></pre>
  <p>Thanks in advance to all</p>