I have build an application which has a set of audio files in it. when the user clicks on a particular audio, it should get downloaded from the application and should save it in user's local storage. Is there any way that I can implement it ?
Use IsolatedStorageFile to get a handle to the app's isolated storage. Use IsolatedStorageFileStream to create the file and save it to the application's isolated storage. I demonstrate this exact type of scenario in Chapter 7, Recipe 7-5 in my book, Windows Phone Recipes 8: A Problem Solution Approach, which comes with the source code for the sample projects: Windows Phone 8 Recipes: A Problem-Solution Approach: Lori Lalonde, David R. Totzke: 9781430259022: Amazon.com: Books. The CopyToIsolatedStorage method in the sample recipe shows how to save the audio files that are packaged with the application to isolated storage, then play in a background audio agent.