Open novinestore opened 5 years ago
xml:
<fragment android:id="@+id/barcode" android:name="com.google.android.gms.samples.vision.barcodereader.BarcodeCapture" android:layout_width="fill_parent" android:layout_height="fill_parent" app:gvb_auto_focus="true" app:gvb_code_format="all_format" app:gvb_draw="true" app:gvb_multiple="false" app:gvb_touch="false" app:gvb_rect_colors="@array/rect_color" />
I have same problem. Meizu Pro 6
Hello, Thanks for your great work! barcodeCapture open camera and preview camera but not work retrieval on samsung device (J7 pro), but work on huawei or samsung j7!
code: `barcodeCapture.setShowDrawRect(true); barcodeCapture.setAllowEnterTransitionOverlap(true); barcodeCapture.setShowDrawRect(true); barcodeCapture.setSupportMultipleScan(false); barcodeCapture.setTouchAsCallback(false); barcodeCapture.shouldAutoFocus(true); barcodeCapture.setBarcodeFormat(Barcode.ALL_FORMATS); barcodeCapture.setCameraFacing(CameraSource.CAMERA_FACING_BACK);