I'm getting nothing on the B4A log and nothing on the device. I have set the app to "Scan Vehicle Data"Run the log on this line and see if You get anything from the reader
Intent_StrBuff_Veh = StartingIntent.GetExtra("barcodeStringData")
Log(Intent_StrBuff_Veh)
Is Your scanner setup for "intent mode"I'm getting nothing on the B4A log and nothing on the device. I have set the app to "Scan Vehicle Data"
Dim content() As Byte = StartingIntent.GetExtra("dataBytes")
strBuff = con.StringFromBytes(content,"ISO8859_1")
Log(strBuff)
Private Sub CheckBox_Select_Scan_Mode_ValueChanged (Value As Boolean)
If CheckBox_Select_Scan_Mode.Value = True Then
service1.Barcode_Mode_Seletion = "Vehicle"
Barcode_Scann_Mode.Text = "Scan Vehicle Data"
'Test log
Log("XXXXXXXXXXXX Vehicle " & Barcode_Scann_Mode.Text)
Else
service1.Barcode_Mode_Seletion = "Driver"
Barcode_Scann_Mode.Text = "Scan Driver Data"
'Test log
Log("XXXXXXXXXXXX Driver " & Barcode_Scann_Mode.Text )
End If
End Sub
#StartAtBoot: True
Hi..I understood from post #29 above that you do get a scan result ( string) when you do a scan. Is that correct?
Ok, this is what I've done to check if my scanner works. I went into the DESIGNER and created a EDITTEXT box in Form_1Panel_3. I enlarged the box to fit the screen. After compiling the app, I clicked on the text box on the screen and scanned the driver's license. The unencrypted scan results are displayed in the text box. This is how I was able to get the scan result.I understood from post #29 above that you do get a scan result ( string) when you do a scan. Is that correct?
If Your scanner sends a string to a text box then it is not in "intent" mode as my app requires..I didn't do anything to the code. Werner confirmed through a video he shared in his previous post that the system works. This is the original source code from him. All I did was add the text box in design and the logs.
Thanks, this helps a lot Werner. I have been going through the settings in the actual scanning device and there's nothing about setting up the Intents. I have sent a message to the manufacturer and they should get back to me in a day or so. I do not want it as a text scanner as this will just confuse things. I will find a way of setting up the intents mode in the scanner and work with your app as it was intended. I will keep you guys informed of my progress. Much appreciation for your continued support.If Your scanner sends a string to a text box then it is not in "intent" mode as my app requires..
The way You scanned it is correct if it was to a text box and the scanner is in text mode..
That only proves that the scanner itself is working.. It now needs to be decoded from that text box as it is decoded from the intent part..
When You put Your scanner in intent mode, if that is the way You want it to work You must make sure that the scanner is setup correctly for the intent to be received in the app..
My app works with intents..
If You want to use it as a text scanner to text box in my app You are going to have to do much more figuring out what to do..
Hope that helps..
Hi Werner. Yes, I live in Gauteng. We are available on Saturday 14h00 - 18h00 and on Sunday 09h00 - 12h00. If this doesn't suit you, please suggest an alternative time and we will work around it.If Your scanner sends a string to a text box then it is not in "intent" mode as my app requires..
Your scan result was where the scanner is in text mode..The scrambled text You see is normal..It needs to be decoded.
That only proves that the scanner itself is working.. It now needs to be decoded from that text box as it is decoded from the intent part..
When You put Your scanner in intent mode, if that is the way You want it to work You must make sure that the scanner is setup correctly for the intent to be received in the app..
My app works with intents..
If You want to use it as a text scanner to text box in my app You are going to have to do much more figuring out what to do..
Hope that helps..
If You live in Gauteng I could assist You over the weekend if You bring all your gear to my place..
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?