Android Question BarCode Scanner Event not raising

MarkusR

Well-Known Member
Licensed User
Longtime User
and the sample code from this page works?
 
Upvote 0

MarkusR

Well-Known Member
Licensed User
Longtime User
so you mean in your new app this it not triggered?
B4X:
Sub zx1_scan_result (scantext As String, scanformat As String)
did you put this in an activity? i believe code moduls not supporting events.
 
Upvote 0

MarkusR

Well-Known Member
Licensed User
Longtime User
can you zip your project and attach here?
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I tried the Exampleproject. It just works fine here. My Device is a Samsung S8 Note.
I did not make any change to the Examplecode but to the Manifest.

B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="22"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)

I set minsdk to 16 and target to 22 to prevent Runtimepermissions. 16 because i do not care about anything older than Android 4
 
Upvote 0
Top