Windows Phone 7中的本地通知? [英] local notifications in windows phone 7?

查看:83
本文介绍了Windows Phone 7中的本地通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将事件时间详细信息保存在sqlite数据库中.我想在事件发生前30分钟显示警报.请告诉我如何实现此目标?

I am saving the event time details in sqlite database.I want to show an alert before 30minutes of evevnt time.please tell me how to acheive this?

我们可以使用alaram功能来做其他事情吗?

by using alaram ffunctionality can we do or any alternate?

Venkat

推荐答案

嗨!

在WP7上,您可以使用以下命令创建计划的任务: 后台代理

On WP7 you can create scheduled taks using this : Background Agents

您可以将事件存储在数据库中,然后使用WP7后台代理定期检查日期事件.如果当前时间比活动时间早30分钟,那么您可以执行一些操作,例如触发警报或其他操作.

In your case you can store the event in database and then use a WP7 Background Agent to regularly check the date event. If the current time is 30min before the event time then you can do some action like trigger an alarm or something.

希望这项帮助!


这篇关于Windows Phone 7中的本地通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆