Hello everyone,
I'm working on a CountDown app. With a CountDown, the date and time are counted down using a "timer1_tick". If the date and time are less than / equal to <= than now, an alarm is to be triggered. The app is in the background and should be woken up or a notification should pop up.
Here is an example that "LocalNotifications" works. It works if you click on the "btnNotification" button. The app can be in the background and the notification pops up.
There are two ways for your app to notify the user while the app is in the background: push notifications and local (or scheduled) notifications. This tutorial explains how to create local notifications. Local notifications are simple to use but are also quite limited. While your app is running...
Is it possible to trigger the event not by clicking on the button, but by a "timer1_tick" event?
In my app, a toast "hd.ToastMessageShow (lblcdName.Text &" has expired ", False)" works via the "timer1_tick".
Greetings RauchG