You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I read the zxing barcode via the handheld terminal, it reads it on the terminal's camera, but it stops the terminal's own scanner.
Which library version are you using? E.g. 3.2.0.
3.2.0 Which phone/tablet are you using, and which Android version does it run? (e.g. Samsung Galaxy S5,
Android 5.0)
Android 11 Hyatta Model 5 Handheld Terminal
Does the same happen on other devices or an emulator?
Yes that happens all handheld terminals.
Can you reproduce the issue in the sample project included with the library? If not, can you
provide your own sample project or sample code that produces this error?
fun Fragment.showBarcodeDialog(
result: (barcodeText: String) -> Unit = {}
) {
showDialog(object : ViewConvertListener {
override fun provideViewBinding(
inflater: LayoutInflater,
container: ViewGroup?
): DialogStockMngScanBarcodeBinding {
return DialogStockMngScanBarcodeBinding.inflate(inflater, container, false)
}
override fun convertView(
vb: DialogStockMngScanBarcodeBinding,
dialog: BaseMyDialog
) {
We don't interact with the terminal's own scanner at all, so it is most likely something in the terminal itself that deactivates the scanner when the camera is used.
Description of the problem:
When I read the zxing barcode via the handheld terminal, it reads it on the terminal's camera, but it stops the terminal's own scanner.
Which library version are you using? E.g. 3.2.0.
3.2.0
Which phone/tablet are you using, and which Android version does it run? (e.g. Samsung Galaxy S5,
Android 5.0)
Android 11 Hyatta Model 5 Handheld Terminal
Does the same happen on other devices or an emulator?
Yes that happens all handheld terminals.
Can you reproduce the issue in the sample project included with the library? If not, can you
provide your own sample project or sample code that produces this error?
fun Fragment.showBarcodeDialog(
result: (barcodeText: String) -> Unit = {}
) {
showDialog(object : ViewConvertListener {
override fun provideViewBinding(
inflater: LayoutInflater,
container: ViewGroup?
): DialogStockMngScanBarcodeBinding {
return DialogStockMngScanBarcodeBinding.inflate(inflater, container, false)
}
override fun convertView(
vb: DialogStockMngScanBarcodeBinding,
dialog: BaseMyDialog
) {
}
In the case of an error do you have a stack trace or adb logs?
No that not gives logs.
The text was updated successfully, but these errors were encountered: