bar code scanner is too slow to read the code

后端 未结 2 537
时光取名叫无心
时光取名叫无心 2021-01-16 12:16

I have used codenameone codescanner library to read bar code. It uses third party scanner which if used separately works fine and is quick to read the bar code. But using co

2条回答
  •  暖寄归人
    2021-01-16 13:09

    Try setting the explicit code type you are trying to read e.g.:

    Display.getInstance().setProperty("android.scanTypes", "UPC_E");

    You can see the list of code types here.

    Alternatively try the little monkey QR code library (it works with barcodes too) it's often better on Android.

提交回复
热议问题