Display an image from a website on a imageview

minstrel

New Member
Licensed User
Longtime User
Hello,
I am having trouble displaying an image on an imageview control. I have seen the HTTP library example but I cannot seem to make it work. I just need to pass a URL of the image to a function that then assigns that URLs image to the imageview control.

thanks for any help anyone can give me. I am very new to this all.
 

Peter Simpson

Expert
Licensed User
Longtime User
Hiya,
If you are using B4A V2.x then I recommend you use httputils2. Follow the link below and look at sub JobDone, Select Case "Job3". Works a charm...

http://www.b4x.com/forum/showthread.php?p=109068

Sent from my A100 using Tapatalk 2
 
Last edited:
Upvote 0

minstrel

New Member
Licensed User
Longtime User
Update:

Thanks for the tip. I was able to get it to load an .jpg at a URL into imageView1. I tested with adding buttons to the designer and loading up different images. Worked very well and fast.
 
Upvote 0
Top