I am developing a surface hub application wherein I am running a timer when the application is going into the background. At a specific point of time , I need to show up a popup in the center of the screen irrespective the application state - Minimized or active.
How can I achieve this ?
If you register an in-process background task with a time trigger, every time span the background task triggered it will invoke the
OnBackgroundActivatedevent. So you may define the popup code inside this event. No matter your app is minimized or active the in-process background task will be triggered. For example:Register:
Override
OnBackgroundActivatedevent and show a simple popup.