I want to detect a timeout with httpjob. I'm doing this: Dim Job1 As HttpJob Job1.Initialize(...) Job1.Poststring(...) Job1.GetRequest.Timeout =5000 ' 5 seconds Wait For (j) JobDone(j As HttpJob) If j.Success Then Log("succes") Else Log("failed") End If When I start my app without internet...
I want to detect a timeout with httpjob. I'm doing this: Dim Job1 As HttpJob Job1.Initialize(...) Job1.Poststring(...) Job1.GetRequest.Timeout =5000 ' 5 seconds Wait For (j) JobDone(j As HttpJob) If j.Success Then Log("succes") Else Log("failed") End If When I start my app without internet...
Hi, I can set the HTTP connection timeout for a call with Job1.GetRequest.Timeout But I have to do this on every call. Is there a way to set the timeout globally? Thanks
No I want wait for example only 5 or 10 seconds - no more... but the problem is not that...
I think found it...
Well I am having a button that httpjob and then shows other b4xpage...
I will try to have "sleep(0)"..
before showing other b4xpage... may be that trigger the msg and the prob: sending message to waiting queue of uninitialized activity (submitjob)
or I will have phone waked...
will check and inform..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.