I am using the ZXing library, fully integrated with jar files, in an Android application and have the following problem:
Problem:
After scanning the barcode, the scanned image remains on top of the live video with a frequency of about 50% for about 1-2 seconds.
Question:
Is there a way to show only a scanned image with 0% transparency, instead of a weird overlay? Or, better yet, can it show a custom snippet?
Thanks.
Code: [without related parts]
public static void initiateScan(Fragment fragment) { IntentIntegrator ii = new IntentIntegrator(fragment); DisplayMetrics dm = fragment.getResources().getDisplayMetrics(); ii.addExtra("SCAN_WIDTH", dm.heightPixels); ii.addExtra("SCAN_HEIGHT", dm.widthPixels / 4); ii.addExtra("SCAN_MODE", "ONE_D_MODE"); List<String> c = new ArrayList<String>(); c.add("CODE_39"); ii.initiateScan(c, -1); } public void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); if(requestCode==IntentIntegrator.REQUEST_CODE) {
Example:

source share