I have developed a windows phone app that sends notification to users. There is a cloud service that send notification via mspn and an app running on windows phone. My cloud service will send notification based on current location of the phone . The app running in windows phone needs to register the current location of the device on cloud service every 12 hours. My app wont be running 24hour. So how can i update the device’s position after every 12 hours? Can i run my app in background? Has anyone faced a similar situation?
Share
You can run Periodic Agent in the background. More info can be fount on MSDN:
When you want use GeoCoordinateWatcher inside your background agent you have to know about some limits: