Hello,
i use this code to start a service
Activity Main
Service Module "Svc"
So the service start and I build a notification at TomorrowAt10.
But, if I close the app and re-open it, I have a new notification all times.
How can I prevent it?
I read with "IsPaused" and I tried to use it, but I can't find a valid solution.
Please Help




i use this code to start a service
Activity Main
B4X:
If FirstTime Then
StartService("Svc")
End If
Service Module "Svc"
B4X:
Sub Service_Create
Log("Service Started")
End Sub
Sub Service_Start (StartingIntent As Intent)
StartServiceAt("", TomorrowAt10, False)
BuildNotification
So the service start and I build a notification at TomorrowAt10.
But, if I close the app and re-open it, I have a new notification all times.
How can I prevent it?
I read with "IsPaused" and I tried to use it, but I can't find a valid solution.
Please Help