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

achtrade

Active Member
Licensed User
Longtime User
Before b4a v5.00 it was working fine.

help please.
 

Attachments

  • error.jpg
    57.1 KB · Views: 285

DonManfred

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

achtrade

Active Member
Licensed User
Longtime User

This fixed the problem. I removed the HttpJob module and I don't have this error.
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…