后台代理在WP7中进入空闲状态 [英] Background Agent goes into idle state in WP7

查看:64
本文介绍了后台代理在WP7中进入空闲状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在开发基于GPS的Windows Phone 7应用程序.我使用后台代理(定期任务)在后台进程中定期执行某些任务.

I am developing GPS based Windows Phone 7 Application. In which I have used Background Agent (Periodic Task) for performing certain task on regular basis in background process.

我在这里遇到一个问题,我们的应用程序后台代理在30分钟后进入了空闲模式,并且不执行任何任务.我的应用程序要求后台代理应连续运行.在这里,我无法使用资源密集型任务,因为我的应用程序 要求将无法满足资源密集型"任务标准.
如何禁用省电模式?这样它才能连续运行.
请给我一些指导.
我正在等待宝贵的反馈意见.

I am facing one problem here, our Application Background Agent goes into idle mode after 30 minutes and doesn’t perform any task. My Application demands that Background Agent should Run continuously. Here I can’t use Resource Intensive Task because my Application requirement won’t fulfill Resource Intensive task criteria.
How can I disable Battery Saver mode? So that It can run continuously.
Please give me some guideline here.
I am waiting for valuable feedback.

谢谢

推荐答案

背景代理无法连续运行.  请阅读文档.

Background agents cannot run continuously.  Please read the documentation.

定期任务大约每30分钟被分配一次CPU时间.然后,直到大约30分钟后,下一个CPU时间块他们才获得CPU时间.   GPS位置也有限制,因为它可能会因 最多15分钟.

Periodic tasks are given a short period of CPU time approximately every 30 minutes.  Then they get no CPU time until the next block of CPU time approximately 30 minutes later.  There are also limits to GPS location in that it may be delayed by up to 15 minutes.

您的应用无法禁用省电模式.

Your app cannot disable battery saver mode.


这篇关于后台代理在WP7中进入空闲状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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