I am creating an app on windows phone 8 which needs to download large video files (>1GB or 2 GB) from dropbox, skydrive etc, and save them into windows phone music and video folder.
So my problems are:
- How to download large files into chunks so that i can avoid outofmemoryExcepetion.
- Right now I am able to save smaller video files into camera roll folder. How can i save video file into windows music-video folder?
Never needed to do it so please excuse the accuracy of my answer
I would suggest that you try getting hand to the underlying stream. if its a web request, try plugging into response stream. Next up, Open stream (to file in isostore) and append to it.
I have only used LiveConnect to upload.. never to download, however check live connect / rest api to see whether you can easily make a web request.
have a look at this SO post
How to split a large file into chunks in c#?