Hi guys,
I ran a jRDC via command prompt on Windows. The Operation on server is OK (see the attached picture)
but on Android device, got TimeOut Error Connection.
These are the codes for those commands
Internet Connection is OK. I have already set j.GetRequest.Timeout = 300000
Any hints, how to handle this problem?
I ran a jRDC via command prompt on Windows. The Operation on server is OK (see the attached picture)
but on Android device, got TimeOut Error Connection.
These are the codes for those commands
B4X:
Sub Test
Dim cmd As DBCommand
cmd.Initialize
cmd.Name = "del_bi_tbl"
wait for (reqM.ExecuteCommand(cmd,"del_bi_tbl")) JobDone (job As HttpJob)
If job.success Then
Dim cmd As DBCommand
cmd.Initialize
cmd.Name = "ins_bi_tbl1"
cmd.Parameters = Array As Object("01/01/2019","31/03/2019")
reqM.ExecuteCommand(cmd, "ins_bi_tbl1")
Dim cmd As DBCommand
cmd.Initialize
cmd.Name = "ins_bi_tbl2"
cmd.Parameters = Array As Object("01/04/2019","30/06/2019")
reqM.ExecuteCommand(cmd, "ins_bi_tbl2")
End If
End Sub
Sub JobDone(Job As HttpJob)
If Job.Success = False Then
log(Job.ErrorMessage)
Else
Dim result As DBResult = reqM.HandleJob(Job)
Log(result.Tag)
End If
End Sub
Internet Connection is OK. I have already set j.GetRequest.Timeout = 300000
Any hints, how to handle this problem?