Hi guys,
based on an Erel's class Google Code Scanner I realized a very simple app some month ago.
It worked very well until yesterday.
When I click the button I don't see nothing.
Nothing in log, no error, the camera don't start.
I have two app with BarcodeScanner class, no one works.
What can I control in smartphone ?
What library do I need to update ?
B4A version 13.0
SDK 34
Google Play Services 25.06.32
Thanks
Sergio
based on an Erel's class Google Code Scanner I realized a very simple app some month ago.
It worked very well until yesterday.
When I click the button I don't see nothing.
Nothing in log, no error, the camera don't start.
I have two app with BarcodeScanner class, no one works.
What can I control in smartphone ?
What library do I need to update ?
B4A version 13.0
SDK 34
Google Play Services 25.06.32
Thanks
Sergio
B4X:
Private Sub Button1_Click
Dim formats As List = Array(Scanner.FORMAT_ALL_FORMATS) 'For better performance pass the specific formats needed.
Wait For (Scanner.Scan(formats)) Complete (Result As ScannerResult)
If Result.Success Then
Label1.Text=Result.Value
Log(Result.Value)
Dim obj As JavaObject = Result.Barcode
Dim barcodeType As Int = obj.RunMethod("getFormat", Null)
Log(barcodeType)
End If
End Sub
Last edited: