1. ajay gu's Avatar

    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 ?
    11-14-2013 07:03 AM
  2. Lori Lalonde's Avatar
    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.
    11-15-2013 01:15 PM

Similar Threads

  1. How to clear the phone memory for Lumia 520
    By sravan Patnaik in forum Windows Phone 8
    Replies: 3
    Last Post: 12-11-2014, 07:29 AM
  2. One Carrier To Rule Them All?
    By jridgers in forum Carrier Discussion Lounge
    Replies: 60
    Last Post: 11-20-2013, 09:04 PM
  3. What apps would I be missing by going Windows Phone?
    By skstrials in forum Applications
    Replies: 42
    Last Post: 11-20-2013, 10:52 AM
  4. How to add location info to Contact
    By Optiplex330 in forum Windows Phone 8
    Replies: 4
    Last Post: 11-14-2013, 05:50 PM
  5. I am happy to announce my first app called Symphony Alarm.
    By phil.shaw in forum Developers Beta Testing
    Replies: 1
    Last Post: 11-14-2013, 03:55 AM