Reputation: 67
I am new to windows phone OS development and I want to implement a background data transfer on windows phone 8.1 and I want to do it even after app is running in background. On windows 8 there is an Windows.Networking.BackgroundTransfer API but what about windows phone OS. Thanks.
Upvotes: 0
Views: 405
Reputation: 21
Windows.Networking.BackgroundTransfer is in fact supported on windows phone 8.1, here is the sample code : http://code.msdn.microsoft.com/windowsapps/Background-Transfer-Sample-d7833f61
But if you want to maintain windows phone 8 support you can use BackgroundTransferService instead. Sample code for it can be found here : http://msdn.microsoft.com/en-us/library/windows/apps/hh202959(v=vs.105).aspx
Upvotes: 1