Hi,
is there a simple way to get the download-progress on all platforms? I use "jOKHttpUtils2" 2.95
The downloads are not extrem large, about 10megs, but on mobile data it will be took longer maybe. It would be enough if i know the incomming size, i can provide the full size on the server.
Regards
Matthias
is there a simple way to get the download-progress on all platforms? I use "jOKHttpUtils2" 2.95
B4X:
Private http As HttpJob
http.Initialize("",Me)
http.Download("https://url.url/file.ext")
http.GetRequest.Timeout = 10000
Log(http.Response.StatusCode)
Wait For (http) JobDone(http As HttpJob)
If http.Success Then
Log("Complete!")
else
Log("Nope")
end if
...
The downloads are not extrem large, about 10megs, but on mobile data it will be took longer maybe. It would be enough if i know the incomming size, i can provide the full size on the server.
Regards
Matthias