Is there any reason why a periodic task would launch with

ScheduledActionService.Add(task);
ScheduledActionService.LaunchForTest(taskname, milis);

but once I remove the second line, stop working?

I've waited for more than an hour (since the normal time would be 30+ mins), on many attempts fiddling with the code, and nothing. Once I uncomment the debug line back in, works as expected.

Thanks for your help in advance.

有帮助吗?

解决方案

Actually I found the answer in the Windows Phone Dev Center forums, on a post from 2011 where several developers complain about the same problem. Until today, no one has posted an answer to why this happens on some equipments (HTC and Nokia), but that a simple reboot should solve the problem, at least temporarily.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top