Creating Notifications in the "Tidy" application
Scheduling notifications that trigger even when your application is not in the foreground is a critical multi-tasking task for applications such as alarm clocks and calendars. This lab uses the new ScheduledActionService to create and manage reminders and alarms for a task management application. The application will also demonstrate how deep linking works when the user clicks on a reminder and that launches your application to an actionable page with context from the reminder.
Some Windows® Phone applications need to schedule notifications for the user; the typical scenarios here are an alarm or a reminder for an upcoming event.
One of the many new features of Windows Phone Codenamed Mango is the ability to schedule a notification. There are two types of scheduled notifications: Alarm and Reminder. An alarm allows you to specify a sound when the notification fires, and a reminder allows you to specify a URI that will be actionable when the user clicks on the Reminder. This means, for example, that if the reminder is for a meeting, the URI can be a deep link to this meeting. When the user clicks the reminder, your application launches and navigates the user to the page the URI specified in the reminder.
This lab shows how to add alarms and reminders to your application using the new Windows Phone Codenamed Mango API.
For more about the difference between alarms and reminders, follow this link: http://msdn.microsoft.com/en-us/library/hh202946(v=vs.92).aspx
This lab provides instructions to help you achieve the following:
The following prerequisites are required for you to gain the most you can from this hands-on lab:
This lab includes a single exercise. The following tasks are contained in the exercise:
Estimated completion time
Completing this lab should take from 30 to 45 minutes.