Windows Phone 8 Background Task with notifications

前端 未结 3 1308
花落未央
花落未央 2021-01-16 06:39

I have an app that checks the results of matches in real time.

I want to be able to poll the server every minute to see if there has been any updates on the match. I

相关标签:
3条回答
  • 2021-01-16 07:19

    Primarily you should consider push notifications.

    Background mode for location services is the alternative. Maybe it can work during a game. It does drain battery thou.

    0 讨论(0)
  • 2021-01-16 07:21

    You'll not be allowed to do any form of real-time polling in a background task on Windows Phone.

    However, if you keep your application open in the foreground, you can do all the polling you like.

    0 讨论(0)
  • 2021-01-16 07:28

    I know whatsapp uses a hack to do this, using the audio sdk. You could try to see if that works for you. Here is an example of the audio sdk http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202978(v=vs.105).aspx

    0 讨论(0)
提交回复
热议问题