Android Question OkHttpUtils2 Problem Slow Internet Speed

awama

Active Member
Licensed User
Longtime User
Hallo,

I use this Code to downoad a Web-Site for parsing the content.

Dim j As HttpJob
j.Initialize("", Me)
j.Download("https://www.google.com")
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
Log(j.GetString)
End If
j.Release

The function is well if internet speed is fast 3G, 4G H+ ...
But if internet speed is slow (2G) then this Code does not work if Android Version < 8

Has anywhere a solution?

Many Thanks

awama
 
But if internet speed is slow (2G) then this Code does not work if Android Version < 8
What is the error you get?
 
Upvote 0
Most of the time there is no report, sometimes no success
"If j.Success Then ..Code ... Else Msgbox (" No Success "," ") End if
 
Upvote 0
Hi

I don't know why it didn't work for hours yesterday, but now the same code works again.
I will contact you again if there are problems again. Greetings awama
 
Upvote 0
Back
Top