I have 2 Datalogic Android devices. One is running Android 7.1 and the other Android 8.1
Thanks to DonManfred, who created a wrapper for the Datalogic.jar library, I can acces this devices specific barcode functions in the Datalogic.jar from B4A.
The wrapper is working perfectly on device with Android 7.1. But on the device with Android 8.1 the wrapper doesn't work.
The Datalogic.jar library from Datalogic is identical on the 7.1 and the 8.1 platforms.
The errors on Android 8.1 are always referring to a null object.
Eample :
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Enum.name()' on a null object reference
What are the B4A considerations to take in mind that are different between Android 7.1 target or Android 8.1 target when creating a wrapper.
Thanks,
Johan