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
 

DonManfred

Expert
Licensed User
Longtime User
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

awama

Active Member
Licensed User
Longtime User
Most of the time there is no report, sometimes no success
"If j.Success Then ..Code ... Else Msgbox (" No Success "," ") End if
 
Upvote 0

awama

Active Member
Licensed User
Longtime User
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
Top