Pergunta

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.

Foi útil?

Solução

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.

Outras dicas

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top