c# - Can i Pause and Resume a BackgroundTransferRequest in Windows Phone 8.1 Application -
i creating app allows users download content form internet, using backgroundtransferrequest task.
but more functionality app want pause , resume same task. possible implement?
have tried application fast resume method? if not...
go wmappmanifest.xml, right click , view code editor.
when there scroll down defaulttask string, example...
<defaulttask name="_default" navigationpage="page1.xaml"/>
then write in string called activationpolicy="resume", example
<defaulttask name="_default" navigationpage="page1.xaml" activationpolicy="resume"/>
after you've done try launch/debug application. try navigate/download something, quit application without killing it. open again , recent action should running!
this windows phone 8 > 8.x, hope this!
regards!
Comments
Post a Comment