简体   繁体   English

后台代理已排定但未由操作系统启动

[英]Background agent is scheduled but not launched by OS

I have an issue with background agent execution in Windows Phone 8. After a successful agent registration it wasn't executed by OS. 我在Windows Phone 8中执行后台代理时遇到问题。成功注册代理后,操作系统未执行它。 I waited 5-10 days - no effect. 我等了5-10天-没有效果。 The issue is reproduced ONLY on two test devices (lumia 920 and htc x8). 只能在两个测试设备(lumia 920和htc x8)上重现该问题。 All other devices shows normal agent execution log (about 5 other devices). 所有其他设备均显示正常的代理执行日志(大约5个其他设备)。

You can find the sample by the following link: https://dl.dropboxusercontent.com/u/19503836/2013-12-19%20TestApp_Release_AnyCPU_v1.2.xap 您可以通过以下链接找到该示例: https : //dl.dropboxusercontent.com/u/19503836/2013-12-19%20TestApp_Release_AnyCPU_v1.2.xap

XAP: https://dl.dropboxusercontent.com/u/19503836/SimpleAgentApp.zip XAP: https//dl.dropboxusercontent.com/u/19503836/SimpleAgentApp.zip

  • App registers clean agent and tracks agent launches 应用程序注册干净代理并跟踪代理启动
  • App user interface displays that log 应用程序用户界面显示该日志

    1. no extra logic 没有多余的逻辑
    2. no time/memory consumable operations, it is almost clean project 没有时间/内存消耗性操作,这几乎是干净的项目
    3. device battery level is over 50% all the time 设备电池电量始终超过50%
    4. battery saver mode is disabled 省电模式已禁用
    5. device has Cellular and Wifi access all the time 设备始终具有蜂窝和Wifi访问权限
    6. device is used frequently 设备经常使用
    7. it seems that other background agents are also not executed by OS 似乎其他后台代理也不由OS执行

What could be wrong with background execution in system? 系统中的后台执行有什么问题? How can I diagnose the issue? 我如何诊断问题?

I'm trying to find the issue for several months without any luck. 我试图几个月没有任何运气的问题。

It turned out that those devices had some OS issues. 事实证明,这些设备存在一些操作系统问题。 One test device was fixed by a hard reset and another one by a firmware update. 一台测试设备通过硬重置固定,另一台通过固件更新固定。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM