hi..
I want to display the image. but I get the error. Where am I doing wrong.
I want to display the image. but I get the error. Where am I doing wrong.
error: incompatible types: String[] cannot be converted to ImageViewWrapper
B4X:
DownloadImage("https://website.com/1.x/?lang=en_US", _
Array As String("ll", EditText2.Text & "," & EditText1.Text, "z",17,"size", 450 & "," & 450,"l","sat",ImageView1))
B4X:
Sub DownloadImage(Link As String, iv As ImageView)
Dim j As HttpJob
j.Initialize("",Me)
j.Download2(Link, _
Array As String("key1", "value1", "key2", "value2"))
Wait For (j) JobDone (j As HttpJob)
If j.Success Then
iv.Bitmap=j.GetBitmap
End If
j.Release
End Sub