Hi everybody.
Until Android 10.0 I managed to download, save and display images in ImageView with this code:
After the last update it stoped working.
Any better tip on how to donwload, save and display photos?
Until Android 10.0 I managed to download, save and display images in ImageView with this code:
B4X:
Dim J As HttpJob
j.Initialize("", Me)
j.Download("http://www." & cUrl.Trim & "/images/produtos/PRD" & cImg.SubString2(nlen, 13+nlen) & ".jpg")
Wait For (j) JobDone(jo As HttpJob)
If j.Success Then
Try
imgProd.Bitmap = j.GetBitmap
lErr = False
Catch
ToastMessageShow("Erro 03: " & LastException.Message, True)
Log(LastException.Message)
End Try
End If
After the last update it stoped working.
Any better tip on how to donwload, save and display photos?