Search code examples
socketswindows-phone-8push-notificationbackground-processc#-5.0

Which is the best approach to get real time data?


I am creating a Windows Phone 8 application in which I need to display real time data like updated coordinate of a second person. Currently the approach that i am using is by creating a timer and making hits to the server every 11 mins.All the data gets updated in the data in real time.

Is there any better way like using Sockets, Push Notification or Background Task to do this if there is can you please elaborate as in how to implement it?


Solution

  • You can use Windows Push Notification Services to push notifications to your Windows Phone app.

    http://msdn.microsoft.com/en-au/library/windows/apps/hh913756.aspx