Hello,
Im using that kind of script to download images from a website, with the standard ImageDownloader service :
it works great but unfortunately, some times the image dont always exists and i can not manage the File Not Found response :
how could i put an empty image instead, before the 404 error appears ?
Thanks for put me on the way
Im using that kind of script to download images from a website, with the standard ImageDownloader service :
B4X:
links.Initialize
links.Put(IvMark, ImgUrl)
CallSubDelayed2(ImageDownloader, "Download", links)
B4X:
ResponseError. Reason: Not Found, Response: <!DOCTYPE html P.......
how could i put an empty image instead, before the 404 error appears ?
Thanks for put me on the way