I am developing a windows phone application which allows user to download files from server. The user can select multiple files simultaneously for download. It works perfectly when the user stay on current page until download completed. If the user navigate to other pages when the file download is in progress the download stops. The download should continue even if the user navigate to other pages.
Also when the application exits the download stops. When the user starts the application again the pending files should automatically start download.
How can I do these?
If the files are large you should be using
BackgroundTransferRequest, which will continue even if the application is not running and you can still track their progress.For more information, see Background File Transfers Overview for Windows Phone