J junaidahmed Well-Known Member Licensed User Longtime User May 8, 2018 #1 I am going to create "Barcode" Scanning application.I have check "ZxingBarcodeScanner" from below link but when I scan the barcode,the "zx1_scan_result" event is not raising.Please advise how to do that.... https://www.b4x.com/android/forum/t...er-that-is-100-embedded-in-b4a.63764/#content
I am going to create "Barcode" Scanning application.I have check "ZxingBarcodeScanner" from below link but when I scan the barcode,the "zx1_scan_result" event is not raising.Please advise how to do that.... https://www.b4x.com/android/forum/t...er-that-is-100-embedded-in-b4a.63764/#content
MarkusR Well-Known Member Licensed User Longtime User May 8, 2018 #2 and the sample code from this page works? Upvote 0
J junaidahmed Well-Known Member Licensed User Longtime User May 8, 2018 #3 yes,but when I scan "zx1_scan_result" is not raised........ Upvote 0
MarkusR Well-Known Member Licensed User Longtime User May 8, 2018 #4 so you mean in your new app this it not triggered? Code: Copy 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
so you mean in your new app this it not triggered? Code: Copy Sub zx1_scan_result (scantext As String, scanformat As String) did you put this in an activity? i believe code moduls not supporting events.
MarkusR Well-Known Member Licensed User Longtime User May 8, 2018 #6 can you zip your project and attach here? Upvote 0
J junaidahmed Well-Known Member Licensed User Longtime User May 8, 2018 #7 Its already available in above link... Upvote 0
DonManfred Expert Licensed User Longtime User May 8, 2018 #8 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. Code: Copy 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
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. Code: Copy 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
J junaidahmed Well-Known Member Licensed User Longtime User May 8, 2018 #9 Thanks,I have change Manifest file... Its working fine now but why its taking time to scan ??? Upvote 0