0

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.

2
Contributors
4
Replies
38
Views
5 Years
Discussion Span
Last Post by Don_k
0

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).

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.