Sub Process_Globals
Dim Timer1 As Timer
End Sub
'Called when an intent is received.
'Do not assume that anything else, including the starter service, has run before this method.
Private Sub Receiver_Receive (FirstTime As Boolean, StartingIntent As Intent)
Log("Step 1")
Timer1.Initialize("Timer1",5000)
Timer1.Enabled=True
End Sub
Sub Timer1_Tick
Log("Step 2")
Timer1.Enabled=False
ToastMessageShow("eCongress Kiosk Receiver",True)
Log("Step 3")
'Dim intent As Intent
'intent.Initialize("android.intent.action.MAIN", "")
'intent.SetComponent("com.econgress.kiosk/.main") ' Adjust if needed
StartActivity(Main)
Log("Step 4")
End Sub