diff --git a/android/src/com/google/zxing/client/android/CaptureActivity.java b/android/src/com/google/zxing/client/android/CaptureActivity.java index f00aa85fd..2d9b014e2 100755 --- a/android/src/com/google/zxing/client/android/CaptureActivity.java +++ b/android/src/com/google/zxing/client/android/CaptureActivity.java @@ -107,7 +107,7 @@ public final class CaptureActivity extends Activity implements SurfaceHolder.Cal PRODUCT_FORMATS.add(BarcodeFormat.UPC_E); PRODUCT_FORMATS.add(BarcodeFormat.EAN_13); PRODUCT_FORMATS.add(BarcodeFormat.EAN_8); - //PRODUCT_FORMATS.add(BarcodeFormat.RSS14); + PRODUCT_FORMATS.add(BarcodeFormat.RSS14); ONE_D_FORMATS = new Vector(PRODUCT_FORMATS.size() + 3); ONE_D_FORMATS.addAll(PRODUCT_FORMATS); ONE_D_FORMATS.add(BarcodeFormat.CODE_39); @@ -255,6 +255,7 @@ public final class CaptureActivity extends Activity implements SurfaceHolder.Cal for (String format : COMMA_PATTERN.split(scanFormats)) { formats.add(BarcodeFormat.valueOf(format)); } + return formats; } catch (IllegalArgumentException iae) { // ignore it then }