The Zebra Scanner SDK for Android enables cordless scanners to be connected and controlled by a tablet / smart phone without using a cradle, after pairing over Bluetooth.
Tested on TC27/Samsung A52 5g, with RS5100 scanner.
in 123scan I use the option "auto unpairing on cradle or reset"
version:
barcode_scanner_library_v2.6.19.0-release.aar works fine
versions:
barcode_scanner_library_v2.6.21.0-release.aar
barcode_scanner_library_v2.6.22.0-release.aar
have the following bug when cradling (and thus unpairing):
java.lang.NullPointerException: Attempt to invoke interface method 'void com.zebra.scannercontrol.IDcsScannerEventsOnReLaunch.onScannerDisconnect()' on a null object reference at com.zebra.scannercontrol.BluetoothLEManager$4.onConnectionStateChange(BluetoothLEManager.java:597) at android.bluetooth.BluetoothGatt$1$4.run(BluetoothGatt.java:355) at android.bluetooth.BluetoothGatt.runOrQueueCallback(BluetoothGatt.java:948) at android.bluetooth.BluetoothGatt.-$$Nest$mrunOrQueueCallback(Unknown Source:0) at android.bluetooth.BluetoothGatt$1.onClientConnectionState(BluetoothGatt.java:350) at android.bluetooth.IBluetoothGattCallback$Stub.onTransact(IBluetoothGattCallback.java:211) at android.os.Binder.execTransactInternal(Binder.java:1285) at android.os.Binder.execTransact(Binder.java:1244)
(as a result of the bug, the app doesn't get notified that the scanner disconnected)
Tested on TC27/Samsung A52 5g, with RS5100 scanner. in 123scan I use the option "auto unpairing on cradle or reset" version: barcode_scanner_library_v2.6.19.0-release.aar works fine versions: barcode_scanner_library_v2.6.21.0-release.aar barcode_scanner_library_v2.6.22.0-release.aar have the following bug when cradling (and thus unpairing):
java.lang.NullPointerException: Attempt to invoke interface method 'void com.zebra.scannercontrol.IDcsScannerEventsOnReLaunch.onScannerDisconnect()' on a null object reference at com.zebra.scannercontrol.BluetoothLEManager$4.onConnectionStateChange(BluetoothLEManager.java:597) at android.bluetooth.BluetoothGatt$1$4.run(BluetoothGatt.java:355) at android.bluetooth.BluetoothGatt.runOrQueueCallback(BluetoothGatt.java:948) at android.bluetooth.BluetoothGatt.-$$Nest$mrunOrQueueCallback(Unknown Source:0) at android.bluetooth.BluetoothGatt$1.onClientConnectionState(BluetoothGatt.java:350) at android.bluetooth.IBluetoothGattCallback$Stub.onTransact(IBluetoothGattCallback.java:211) at android.os.Binder.execTransactInternal(Binder.java:1285) at android.os.Binder.execTransact(Binder.java:1244)
(as a result of the bug, the app doesn't get notified that the scanner disconnected)