【问题标题】:Windows Phone: Is it possible to mix toast notification and scheduled alarm?Windows Phone:是否可以混合 toast 通知和预定警报?
【发布时间】:2015-01-05 11:05:03
【问题描述】:

我是 Windows Phone 开发的新手。我将实现具有以下功能的提醒应用程序:

  1. 每天/每周/每月提醒
  2. 提醒发生时显示在通知列表中

我有问题:

  1. Alarms / Remind API 非常适合我的任务。但它没有 创建通知(我想在通知列表中看到我的提醒)
  2. ScheduledToastNotification 创建通知,但它有太多计划限制

如何创建正确的定时闹钟 + Toast 通知?

【问题讨论】:

  • Silverlight 8、8.1 还是 Windows 运行时?
  • Silverlight 8.1 - RT 不支持警报/提醒

标签: windows-phone-8 notifications windows-phone-8.1 reminders


【解决方案1】:

不幸的是,当涉及到确切的定时通知时,这是您仅有的两个选择。

一种可能性是使用常规提醒并创建通知silently(不显示吐司弹出窗口)。不过不会很可靠。

如果你能适应不同的时间,你可以试试:

  • 您可以查看TimerTrigger,但它有很多 也有限制。
  • 在 Silverlight 中 Background Agents 可能有效 为您服务(最多每 30 分钟一次)

【讨论】:

  • TimeTrigger 不仅是 RT - 它也适用于 WP8.1 Silverligt。
  • and create the Notifications silently - 你能解释一下吗?
  • 通知有一个抑制弹出属性,它会阻止视觉效果,因此它只显示在操作中心。见:msdn.microsoft.com/en-us/library/windows/apps/…
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2017-08-13
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-02-26
相关资源
最近更新 更多