Hello,
I would like to send a notification every day at a specified time. For example a notifcation every day at 20 hours. ("Alert" = the message body)
I use service module named "Alarm" I do not know what to put in Service_Create and in Service_Start.
I place in Sub Service_Start
Dim n as Notification
n.Initialize
n.Icon = "icon"
n.SetInfo ("title", "Alert", "")
n.Vibrate = True
n.Notify (1)
In Service_Create I put the code like
If it is 20h Then
StartService (Alarm)
End If
Am I on a good track?
I would like to send a notification every day at a specified time. For example a notifcation every day at 20 hours. ("Alert" = the message body)
I use service module named "Alarm" I do not know what to put in Service_Create and in Service_Start.
I place in Sub Service_Start
Dim n as Notification
n.Initialize
n.Icon = "icon"
n.SetInfo ("title", "Alert", "")
n.Vibrate = True
n.Notify (1)
In Service_Create I put the code like
If it is 20h Then
StartService (Alarm)
End If
Am I on a good track?