【问题标题】:Create Alarm or Reminder in Windows Phone 8.1 C#?在 Windows Phone 8.1 C# 中创建警报或提醒?
【发布时间】:2014-07-21 12:41:29
【问题描述】:

如何在 Universal Project 中的 Windows Phone 8.1(通用应用程序)中使用提醒或警报

在 windows phone 8 中,您可以使用 Microsoft.Phone.Scheduler 命名空间

添加提醒
        Reminder reminder = new Reminder("myreminder")
        {
            Title = " app reminder",
            Content = "Reminder !",
            BeginTime = DateTime.Now.AddHours(3),
            RecurrenceType = RecurrenceInterval.Daily,
            ExpirationTime = DateTime.Today.AddDays(30),
            NavigationUri = new Uri("Page1.xaml", UriKind.Relative)


        };
        ScheduledActionService.Add(reminder);

但是我如何在 windows phone 8.1 中使用它,或者为我提供另一种在 windows phone 8.1 中使用它的方法。

正如您所知,即使应用程序关闭,警报或提醒也会在后台工作。

【问题讨论】:

    标签: c# windows-phone backgroundworker windows-phone-8.1


    【解决方案1】:

    在 Windows Phone 8.1 Store / XAML 应用程序中,第 3 方开发人员无法访问提醒和警报的 api。

    WP8.1 - No Alarms & Reminders

    【讨论】:

    • 不知道Win10在这方面会不会对我们有所帮助?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-07-06
    • 2023-04-03
    • 1970-01-01
    • 2016-03-16
    • 1970-01-01
    相关资源
    最近更新 更多