Android ZXing waiting time after decoding an image

ikleiman

I'm using the ZXing project on an Android application, with the IntentIntegrator method (so the Barcode Scanner app is opened whenever I need to do a scan).

I've noticed that capturing and decoding the image takes almost no time (less than a second), but then it stays with the image captured as a top layer with ~50% transparency for about 2-3 seconds, before sending the scanned information back to my application.

Is this a normal behavior when the library is not embedded into the project or there's something I can do to decrease that waiting time?

Ederson

It's an old post, but since it doesn't have an answer, let me answer it.

You can set the delay after the scan adding an extra to the intent, like:

IntentIntegrator intentIntegrator = new IntentIntegrator();
intentIntegrator.addExtra("RESULT_DISPLAY_DURATION_MS", 500L);//A long is expected
//all the rest of the code

The constant is defined in the class com.google.zxing.integration.android.Intents

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Integrate ZXing in Android Studio

From Dev

Get a qrcode scanned image in onActivityResult using zxing in android

From Dev

Android Studio (0.3.2) and ZXing

From Dev

Android downloadManager PAUSED_WAITING_FOR_NETWORK time

From Dev

Android: changing Image with time interval

From Dev

Xamarin Android QR-Image ZXing - Not working

From Dev

Decoding NV21 image from android camera but it's color is not proper for the image

From Dev

Zxing scanner Android Studio

From Dev

Decoding a Time and Date Format

From Dev

ZXing.net decoding throws IndexOutOfRangeException

From Dev

zxing run time exception into android application

From Dev

QR-encode a String to Image in Android project using zxing

From Dev

String Replace After Waiting Time

From Dev

Android I use Zxing Qr code, how to scan local Qr code image?

From Dev

ZXing double image/overlay after scan

From Dev

android launch zxing scanner only after entering fragment

From Dev

Get a qrcode scanned image in onActivityResult using zxing in android

From Dev

Android Listview and image decoding

From Dev

Android ZXing code scanning

From Dev

Decoding NV21 image from android camera but it's color is not proper for the image

From Dev

Install ZXing into Android Studio

From Dev

zxing run time exception into android application

From Dev

IllegalArgumentException Base64 to image decoding android string image in Sqlite

From Dev

Android image decoding massive memory consumption

From Dev

image file size is different after base 64 encoding/decoding

From Dev

Waiting after setPadding() in Android

From Dev

How to encode ZXING barcode to image

From Dev

Decoding image using tensorflow

From Dev

zxing android qrcode generator

Related Related

HotTag

Archive