always post any error messages to help us solve your problem.
Do you have a layout containing a Button which you forgot to load ?
If not create a new layout "Layout1" and add a Button to it. Then ....
also the correct code should be ..
myButton.SetBackgroundImage (job.GetBitmap)
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Layout1")
DownloadImage("https://www.b4x.com/images3/android.png", Button1)
End Sub
Sub DownloadImage(Link As String, myButton As Button)
Dim job As HttpJob
job.Initialize("", Me)
job.Download(Link)
Wait For JobDone(job As HttpJob)
If job.Success Then
myButton.SetBackgroundImage (job.GetBitmap)
End If
job.Release
End Sub