how can I read the tagID field ??
Thanks
Marco
Thanks
Marco
B4X:
Sub onCAENRFIDNotifyTag_Event (MethodName As String, Args() As Object) As Object
Dim results As JavaObject = Args(0)
Dim nTag As Int
Try
Dim CAENRFIDNotifyList As List = results.RunMethod("getData",Null)
For Each CAENRFIDNotify As JavaObject In CAENRFIDNotifyList
'Todo something with the JavaObject CAENRFIDNotify'
nTag = nTag + 1
Log("Number of Tags received: " & nTag)
Next
Return Null
Catch
Return Null
Log(LastException)
End Try
End Sub