在 Windows Phone 7.5 Mango 中实现闹钟

发布于 2024-11-29 00:11:49 字数 114 浏览 2 评论 0原文

我想在 Windows Phone 7 mango 创建闹钟,为此建议我想使用PeriodicTask 有什么方法可以将计划间隔从 30 分钟缩短到每分钟吗?或者有更好的方法来实现闹钟。

谢谢你!!

I would like create alarm clock at windows phone 7 mango , for this propose I want to use PeriodicTask is there any way to shorten the Scheduled interval from 30 minutes to every minute? Or there is better way to implement alarm clock.

Thank You!!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

哀由 2024-12-06 00:11:49

定期任务每 30 分钟运行一次;你无法控制它们何时运行。

您应该使用 <代码>ScheduledActionService警报提醒

Periodic tasks run every 30 minutes; you cannot control when they run.

You should use the ScheduledActionService with the Alarm or Reminder.

末が日狂欢 2024-12-06 00:11:49

定期任务将每 30 分钟正负 10 分钟触发一次。

没有办法改变这一点。

这样做是为了最大限度地延长电池寿命。

如果您要创建警报,请创建警报

The periodic task will fire every 30 minutes plus or minus 10 minutes.

There is no way to alter this.

This is done to maximise battery life.

If you're creating an alarm then create an Alarm.

九局 2024-12-06 00:11:49

我建议使用此处详细介绍的警报类:

WP7闹钟应用

I would suggest using the alarm class as detailed here:

WP7 Alarm Application

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文