Hi I am currently developing a QR-barcode independant scanner application.

Everything in the Eclipse IDE seems to compile fine, however when I go to click the 'Scan barcode' button,
I am faced with the following error: ( In the Eclipse IDE logcat window)

03-10 02:59:52.837: E/AndroidRuntime(407): FATAL EXCEPTION: Thread-11 03-10 02:59:52.837: E/AndroidRuntime(407): java.lang.IllegalArgumentException: Crop rectangle >does not fit within image data. 03-10 02:59:52.837: E/AndroidRuntime(407): at >com.google.zxing.client.android.PlanarYUVLuminanceSource.>(PlanarYUVLuminanceSource.java:46) 03-10 02:59:52.837: E/AndroidRuntime(407): at >com.google.zxing.client.android.camera.CameraManager.buildLuminanceSource(CameraManager.java:275>) 03-10 02:59:52.837: E/AndroidRuntime(407): at >com.google.zxing.client.android.DecodeHandler.decode(DecodeHandler.java:82) 03-10 02:59:52.837: E/AndroidRuntime(407): at >com.google.zxing.client.android.DecodeHandler.handleMessage(DecodeHandler.java:63) 03-10 02:59:52.837: E/AndroidRuntime(407): at >android.os.Handler.dispatchMessage(Handler.java:99) 03-10 02:59:52.837: E/AndroidRuntime(407): at android.os.Looper.loop(Looper.java:123) 03-10 02:59:52.837: E/AndroidRuntime(407): at >com.google.zxing.client.android.DecodeThread.run(DecodeThread.java:94)

The error message I receive in the Android Virtual Emulator is :

The application 'QRcodereader'(process com.qrcodereader) has stopped unexpectedly, please try >again.

Any help you can give me is appreciated.

Thanks.

You have to have installed Zxing barcode app, secondly you have to do it on real device not emulator

Hi, I have tried this application on an actual device, the camera opens for a couple of seconds and freezes before it can interpret any images. Again producing the same error as above (Thanks, for your reply btw).

Then you will have to show code