Question

I have an issue with the periodic task of the background agent in windows phone 8.

I want to reduce the default Time(30 Mins) of the Scheduled Interval.

How can i make that ?!!

Thanks in Advance.

Was it helpful?

Solution

You can not. The OS will run the task whenever it'll think it's runnable ( e.g. Not in power saver ). Even you can not be sure it'll runn at all.

OTHER TIPS

There is no way to configure the period. What you can do is - write the last time the agent ran into a file. When the agent runs again, check the file to decide whether you should just exit or do the desired work.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top