Hi there
I am trying to download an image from a remote server and load it with an imageviewer.
It downloades the image but i can't see anything.
Here some portions of the code:
The downloader code is
After download is finished:
Nothing happens on ImageView1....no errors, no images, nothing.
The MsgBox says: "Photo downloaded(Bitmap): 250x400"
Anyone can help me?
I am trying to download an image from a remote server and load it with an imageviewer.
It downloades the image but i can't see anything.
Here some portions of the code:
The downloader code is
B4X:
down.Download("http://xxx.xxx.xxx.xxx/media/resized" & Username.text & ".jpg")
After download is finished:
B4X:
If Job.JobName="downloaded" Then
Msgbox("Photo downloaded" & Job.GetBitmap, "OK")
ImageView1.Gravity= Gravity.FILL
ImageView1.SetBackgroundImage(Job.GetBitmap)
ImageView1.Bitmap=Job.GetBitmap
End If
Nothing happens on ImageView1....no errors, no images, nothing.
The MsgBox says: "Photo downloaded(Bitmap): 250x400"
Anyone can help me?