Status: New
Owner: ----
New issue 1488 by
jjk...@gmail.com: BitmapFactory.Options.inMutable (Added
in API level 11) causing exception
http://code.google.com/p/zxing/issues/detail?id=1488
the inMutable property was only added in API level 11, if we run the
program in lower target, will cause error.
1. Using a machine with API level < 11
2. Run the demo program
3. scan some barcode.
Expect scanned result, saw crash instead.
using svn version:2564
Exception information
01-22 15:38:50.828: E/AndroidRuntime(18909): java.lang.NoSuchFieldError:
android.graphics.BitmapFactory$Options.inMutable
01-22 15:38:50.828: E/AndroidRuntime(18909): at
com.google.zxing.client.android.CaptureActivityHandler.handleMessage(CaptureActivityHandler.java:92)
01-22 15:38:50.828: E/AndroidRuntime(18909): at
android.os.Handler.dispatchMessage(Handler.java)
01-22 15:38:50.828: E/AndroidRuntime(18909): at
android.os.Looper.loop(Looper.java)
01-22 15:38:50.828: E/AndroidRuntime(18909): at
android.app.ActivityThread.main(ActivityThread.java)
01-22 15:38:50.828: E/AndroidRuntime(18909): at
java.lang.reflect.Method.invokeNative(Native Method)
01-22 15:38:50.828: E/AndroidRuntime(18909): at
java.lang.reflect.Method.invoke(Method.java:507)
01-22 15:38:50.828: E/AndroidRuntime(18909): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
01-22 15:38:50.828: E/AndroidRuntime(18909): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
01-22 15:38:50.828: E/AndroidRuntime(18909): at
dalvik.system.NativeStart.main(Native Method)