Sub Service_Start (StartingIntent As Intent)
' Service.StopAutomaticForeground 'Starter service can start in the foreground state in some edge cases.
LogColor("yTEF Service started !", Colors.Red)
If Not(Started) Then
Started = True
CallSubDelayed(Me, "StartMain")
End If
End Sub
Sub StartMain
StartActivity(Main)
End Sub