0
Hello,
I am developing an agenda in JSP, the agenda is already fully ready, missing only warn an alarm clock that I am wanting to do, the same should work as follows..
From x time before the events marked with "remember" I want to send a notification to the user.. Example: Event at 19:00, when it is 18:45 I want to send a message: "15 minutes to your event X."
By what I researched I can do this using Mozilla Notifications: https://developer.mozilla.org/en-US/docs/WebAPI/Alarme
Someone has done something similar, knows how to use Mozilla Notifications along with this question of time?
Thank you
Fernando, the
API
Alarm works only onMozilla Firefox
, an alternative is to usePush API
, this is supported by theFirefox
,Chrome
andOpera
, but you will have to send the notification from your Server, the advantage is that it works even if the page is closed.– Tobias Mesquita
Sounds good.. I will research and if it solves my problem I put as it was here.. Thanks for the idea
– Fernando Muniz Erthal
Unfortunately, that doesn’t solve my doubts.. In fact only replaces the use of Mozilla Notifications, I still need a way to stipulate the times for them to appear...
– Fernando Muniz Erthal