Most of solutions I searched in Forums are using the code
My idea is that if the url is availiable, pass it to another function
The code in my opinion is
if url is to big data or file, it will take plenty of time to download.
If url is a stream source, the job seems to be not done.
Are there any suggestions to me?
B4X:
Dim j As HttpJob
j.Initialize("", Me)
j.Download("https://www.google.com") 'or better the link that you want to access
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
'there is an internet connection
End If
j.Release
My idea is that if the url is availiable, pass it to another function
The code in my opinion is
if url is to big data or file, it will take plenty of time to download.
If url is a stream source, the job seems to be not done.
Are there any suggestions to me?