Android Question job.download() - error: Array Expected (with new v5.02)

DonManfred

Expert
Licensed User
B4X:
    Dim job As HttpJob
    job.Initialize("download",Me)
    Dim url As String = "http://192.168.1.10/images/2.jpg"
  job.Download(url)
works fine here (the link does not work here though but it compiles fine

B4A 5.02(1) and the httputils are replaced with the new provided with the okhttp library
 

achtrade

Active Member
Licensed User
B4X:
    Dim job As HttpJob
    job.Initialize("download",Me)
    Dim url As String = "http://192.168.1.10/images/2.jpg"
  job.Download(url)
works fine here (the link does not work here though but it compiles fine

B4A 5.02(1) and the httputils are replaced with the new provided with the okhttp library
This fixed the problem. I removed the HttpJob module and I don't have this error.
 
Last edited:
Top