Yes, just dont forget to put the Sender name.
Like this example:
'Good example. Use.
Sub DownloadImage(Link AsString, iv AsImageView)
Dim job AsHttpJob
job.Initialize("", Me) 'note that the name parameter is no longer needed. job.Download(Link) WaitFor (job) JobDone(job AsHttpJob)
If job.Success Then
iv.SetImage (job.GetBitmap) 'replace with iv.Bitmap = job.GetBitmap in B4A / B4i
End If
job.Release
End Sub
It is a possibility, i believe that the more you use wait for, it will be more difficult for you to control your program.