Sub Service_Create
Syntezator.Initialize("TTS")
Service.AutomaticForegroundMode = Service.AUTOMATIC_FOREGROUND_NEVER 'we are handling it ourselves
PWS.PartialLock
End Sub
Sub Service_Start (StartingIntent As Intent)
Service.StartForeground(1,n2)
StartServiceAt(Me, DateTime.Now + 20*1000,True)
checkConnect
End Sub