I want to use timer for http job. For example I will set it to 5 seconds and http job will be done every 5 seconds if I enable timer. If I disable timer http job will stop. How can I do this?
B4X:
Dim Job1 As HttpJob
Job1.Initialize("MyJob", Me)
Job1.Download2("http://www.xxx.com/yyy.php", Array As String("x", "y"))
Sub JobDone (Job As HttpJob)
Log("Job completed: " & Job.Success)
Job.Release
End Sub