Sub Process_Globals
....
Private start As Long
Private lst As List
Private count As Int = 0
Private timer1 As Timer
End Sub
Sub AppStart ' or Activity_Create
lst.Initialize
lst.Add(1000)
lst.Add(2000)
lst.Add(5000)
timer1.Initialize("timer1",1000)
timer1.Enabled = True
start = DateTime.Now
end sub
Sub timer1_Tick
Dim hit As Int = (DateTime.Now - start)/DateTime.TicksPerSecond
Log( hit)
count = (count + 1) mod lst.size
timer1.Interval = lst.Get(count)
End Sub