hi
thanks for your answer
does your answer mean this kind of code correct:
B4X:
Sub JobDone(job As String)
try
label1.text="HelloWorld"
HttpUtils.Complete = False
catch
label1.text="Sorry incident try later"
HttpUtils.Complete = False
end try
end sub
No. I didn't know you are using HttpUtils. In that case you should check IsSuccess. If it is false then you should show a message to the user. There should be an example in the HttpUtils exampel.
Hi
thanks a lot
the following code seems working fine:
B4X:
Sub JobDone(job As String)
If HttpUtils.issuccess(myurl) Then
label1.text="helloWorld"
else
label1.text="sorry:incident try later"
endif
HttpUtils.Complete = False
end sub
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.