的Windows Phone 8后台任务与通知 [英] Windows Phone 8 Background Task with notifications

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

问题描述

我有检查实时比赛结果的应用程序。

I have an app that checks the results of matches in real time.

我希望能够轮询服务器每分钟,看是否出现了任何在比赛的更新。这是可能的,还是做我的用户需要保持应用程序开启,以获取实时的结果?

I want to be able to poll the server every minute to see if there has been any updates on the match. Is this possible, or do my users need to keep the app open to get live results?

推荐答案

您将不会被允许做任何形式的实时轮询在Windows Phone上的后台任务。

You'll not be allowed to do any form of real-time polling in a background task on Windows Phone.

不过,如果你把你的应用程序在前台打开,你可以做你喜欢的投票。

However, if you keep your application open in the foreground, you can do all the polling you like.

这篇关于的Windows Phone 8后台任务与通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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