I would like to use this HttpUtils code in a RDC
I did this code and it is working fine
But I would like to put the result into a map
thanks.
B4X:
SPResult = parser.NextArray 'returns a list with maps
For i = 0 To SPResult.Size - 1
Dim M As Map
M = SPResult.Get(i)
next
I did this code and it is working fine
B4X:
Sub JobDone(Job As HttpJob)
If Job.Success = False Then
ToastMessageShow("Error: " & Job.ErrorMessage, True)
Else
Dim result As DBResult = reqManager.HandleJob(Job)
Select result.Tag
Case BOATS
For Each records() As Object In result.Rows
Msgbox("0=" & records(0) & " 1=" & records(1), "")
Next
Case CARS
Msgbox("is cars", "")
End Select
End If
Job.Release
End Sub
But I would like to put the result into a map
thanks.