Hi everyone,
i create a serve on InfinityFree just to host some pic that i need do download and show in a image view.
The webserver has a certificate (a free one that offer the site) and has the TLS Protocol active (1.1,1.2 n 1.3)
When i try to download the job, the complete event doesn't raise. I've tried all the solutions that i found in the forum but whithout success.
Probably is a problem of the server, but i can't figure what can be or how to solve it.
The link is: https://testwebserver.42web.io/files/immagini
i create a serve on InfinityFree just to host some pic that i need do download and show in a image view.
The webserver has a certificate (a free one that offer the site) and has the TLS Protocol active (1.1,1.2 n 1.3)
When i try to download the job, the complete event doesn't raise. I've tried all the solutions that i found in the forum but whithout success.
Probably is a problem of the server, but i can't figure what can be or how to solve it.
The link is: https://testwebserver.42web.io/files/immagini
B4A App:
Sub Activity_Create(FirstTime As Boolean)
Dim Pic1 As String = "https://testwebserver.42web.io/files/immagini/20898.jpg"
Dim j As HttpJob
Log("Start job")
j.Initialize("", Me) 'name is empty as it is no longer needed
j.Download(Pic1)
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
Dim img As Bitmap
img.Initialize3(j.GetBitmapresize(Activity.Width-10dip,Activity.Height-10dip,True))
Activity.SetBackgroundImage(img)
End If
j.Release
End Sub