I was created a recorder to save sound, I store the sound to Isolated Storage and used the following code to get the path:
using (IsolatedStorageFile isoFile = IsolatedStorageFile.GetUserStoreForApplication())
{
if (isoFile.DirectoryExists("/Sound/"))
{
var element = (FrameworkElement)sender;
SoundData data = (SoundData)element.DataContext;
string name = data.FilePath;
}
}
I get the path is "/Sound/130215507805691237.wav" in Isolated Storage. But how to I save the sound to my phone as physical file? Thanks