How to simulate a reminder for Windows Phone 8
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
This topic describes how you can simulate a reminder while you’re running your app on the emulator or a connected device to test how your app responds when it is interrupted and partially obscured.
For example, if the user is scrolling through content in your app, you can design the app to pause the scrolling when an interruption occurs, and then return to the same location in the content after the user dismisses or handles the interruption.
You can only trigger a reminder immediately; you cannot schedule a reminder for later. You cannot customize the reminder. Each time you click the Trigger reminder button in the Simulation Dashboard, one reminder is queued. You have to snooze or dismiss each reminder.
This topic contains the following sections.
The following types of notifications can interrupt and partially obscure your app while the user is using the app:
Text message or other toast notification. By default, no event is raised. If the user clicks the notification, the app associated with the notification starts, and the Deactivated event occurs for the current app.
To simulate a reminder
Run your app on the emulator or a connected device, with or without debugging.
Or, run your app with app monitoring and profiling to measure its quality and performance. For more information about app monitoring and profiling, see Windows Phone Application Analysis for Windows Phone 8.
In Visual Studio, on the Tools menu, open Simulation Dashboard. Find the Reminders section of the dashboard.
To trigger a reminder immediately, click the Trigger reminder button.
Test how your app handles the interruption.