As wrote in title, works resumable sub like callsubdelayed?
If i close an activity meanwhile an httpdownload is in execution, my activity will be reopened.
Is the resumable sub that reopens the activity when flow is resumed, or the execution of httpJob?
This is the code:
Thanks
If i close an activity meanwhile an httpdownload is in execution, my activity will be reopened.
Is the resumable sub that reopens the activity when flow is resumed, or the execution of httpJob?
This is the code:
B4X:
Dim j As HttpJob
j.Initialize("",Me)
j.Download(url.Replace("_normal",""))
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
imgLoad.Visible =True
pb.Visible = False
imgLoad.Bitmap = j.GetBitmapResize(imgLoad.Width,imgLoad.Height,True)
End If
j.Release
Thanks