8 out of 8 rated this helpful - Rate this topic

Alarms and Reminders Overview for Windows Phone

Windows Phone

March 22, 2012

A scheduled notification is a dialog box that pops up on the screen at a specified time, similar to the notifications displayed by the phone’s built-in applications. The dialog box displays some customizable text information to the user and allows the user to dismiss the notification or postpone it until later. If the user taps the notification, the application that created it is launched. Notifications can be configured to launch once or multiple times on a recurring schedule. Note that the schedules for these notifications are accurate only within a range of one minute. In other words, the notification can be launched up to one minute after it was scheduled.

There are two types of scheduled notifications, Alarm and Reminder. An Alarm allows you to specify a sound file to play when the notification is launched. When you create a Reminder, you can specify a relative navigation URI pointing to a page in your application, including query string parameters. When the Reminder is displayed to the user and the user taps on it, your application is launched and is passed the URI that you specified. Note that there is a limit of 50 Alarms or Reminders at a time per application.

For instructions on how to use scheduled notifications, see How to: Create Alarms and Reminders for Windows Phone.

Alarms and Reminders have different user interfaces when shown to the user and have different customization options for applications.

The Alarm UI

Alarm UI properties:

  • Displays the name of the application that created the Alarm.

  • Always shows the text Alarm as the UI title.

  • Displays a content area with text provided by the application.

  • Can use an alarm sound set by the application. The sound begins quietly and gets louder over time.

  • When the user taps the Alarm, outside of the snooze and dismiss buttons, the application is launched and the initial page is shown, just as if the user had launched the application from Start or the applications list.

The Reminder UI

Reminder UI properties:

  • Displays the name of the application that created the Reminder.

  • Displays a title that is provided by the application.

  • Displays a content area with text provided by the application.

  • Uses the default notification sound for the device.

  • When the user taps the Reminder, outside of the snooze and dismiss buttons, the application is launched. Optionally, the application can provide a navigation URI and query string parameters to which the application will navigate when it is launched.

Did you find this helpful?
(1500 characters remaining)