在 WP8 的特定时间将计划任务代理与定期任务本地通知一起使用
Using Scheduled Task Agent with Periodic Task local notification at a particular time in WP8
在Windows Phone 中将计划任务代理与周期性任务一起使用 Phone 8 如何在特定时间显示本地通知。例如每天(上午 9 点和下午 5 点)?
你不能,因为不可能将它安排在任何特定的时间范围内。来自 MSDN 文档:
Periodic agents typically run every 30 minutes. To optimize battery life, periodic agents may be run in alignment with other background processes and therefore the execution time may drift by up to 10 minutes.
如果您需要那种精确度,其他可用的选项是
1) Programmatically set a reminder for the specific time that you want。
2) 以您指定的时间间隔将来自外部服务的通知推送到订阅的设备。请记住,推送通知在 windows phone 上的传送略微不可靠。
在Windows Phone 中将计划任务代理与周期性任务一起使用 Phone 8 如何在特定时间显示本地通知。例如每天(上午 9 点和下午 5 点)?
你不能,因为不可能将它安排在任何特定的时间范围内。来自 MSDN 文档:
Periodic agents typically run every 30 minutes. To optimize battery life, periodic agents may be run in alignment with other background processes and therefore the execution time may drift by up to 10 minutes.
如果您需要那种精确度,其他可用的选项是 1) Programmatically set a reminder for the specific time that you want。 2) 以您指定的时间间隔将来自外部服务的通知推送到订阅的设备。请记住,推送通知在 windows phone 上的传送略微不可靠。