我的Windows手机应用提醒不会激活我的页面

时间:2015-04-01 16:33:59

标签: c# .net silverlight windows-phone-8.1

我使用Reminder类开发提醒应用程序但不启动我在提醒实例中设置的页面,如下代码:

    Uri uri = new Uri("/CustomPage.xaml", UriKind.Relative);
    Reminder reminder = new Reminder("myreminder")
            {
            Title = "ReminderTitle",
            Content = "Wakeup",
            BeginTime = DateTime.Now.AddMinutes(2),
            RecurrenceType = RecurrenceInterval.Daily,
            ExpirationTime = DateTime.Today.AddDays(30),
            NavigationUri = uri
                      };             
            ScheduledActionService.Add(reminder);

所以在弹出窗口提醒页面后

0 个答案:

没有答案