O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Reminder Registration

Reminder registration is done in much the same way as for Alarm objects. The reminder is instantiated and then registered with the ScheduledActionService. With reminders, however, you are able to provide a URI that allows you to deep link back to a particular page within the app, as shown in the following excerpt:

Reminder reminder = new Reminder("ReminderName")    {        BeginTime = DateTime.Now.AddMinutes(5),        ExpirationTime = DateTime.Now.AddDays(5),        Content = "Your daily reminder.",        RecurrenceType = RecurrenceInterval.Daily,        NavigationUri = new Uri("/ReminderView.xaml?Id=ReminderName",                            UriKind.Relative),        Title = reminderTitle ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required