0

Restriction of Periodic Task for Windows Phone 8

I am trying to make the app which it is using to check webservice value in the background based on the interval timer that set by user. I know the restriction of periodic task is minimal 30 minutes will run the background agent. It is giving a big problem to my app. May I ask have another way to let me check the webserivce value in interval timer instead of using periodic task?

user2477457
  • 383
  • 1
  • 3
  • 4

1 Answers1

1

There is no another way to perform a web-request in background. But an app can be configured to run under a lock screen. Also using Push Notifications can be considered.

Pavel Saniuk
  • 788
  • 5
  • 11
  • if run under a lock screen, foreground cannot be close?? – user2477457 Jun 12 '13 at 08:35
  • Yes, you app won't go to `Dormant` or `Tombstone` and can perform web-requests for example. Check here how to implement it http://www.developer.nokia.com/Community/Wiki/Run_Windows_Phone_application_under_lock_screen. And another case how you can perform an update on client side is to use `Push Notifications`. – Pavel Saniuk Jun 12 '13 at 08:48