Hi, is there a way to send a notification after a tot of time even if the application is closed? for example, to alert the user that something it is recharged
thanks
So the service is the way to go. Give it a tryI want send a notification also when the app iso closed.
Sub btnCreateNotifications_Click
StartService(notifica)
End Sub
#Region Service Attributes
#StartAtBoot: False
#End Region
Sub Process_Globals
Dim timer1 As Timer
End Sub
Sub Service_Create
timer1.Initialize("timer1",7000)
End Sub
Sub Service_Start (StartingIntent As Intent)
timer1.Enabled=True
End Sub
Sub Service_Destroy
End Sub
Sub timer1_tick
Dim n As Notification
n.Initialize
n.SetInfo("Notification " & 1, "abcde", Me)
n.Icon = "icon"
n.Notify(1)
timer1.Enabled=False
End Sub
An app which is killed CANNOT show any more notifications... The app is NOT running.If i kill the app notifications don t work