How do I open text document, .docx and .xls document in windows phone 8, I am saving file in isolated storage then trying to open using Launcher.FileAsync but do not getting the result. For more information, see my code below:
string file = "Download.txt";
IsolatedStorageFileStream isfStream = new IsolatedStorageFileStream(file, FileMode.Create, IsolatedStorageFile.GetUserStoreForApplication());
isfStream.Close();
StorageFolder local = Windows.Storage.ApplicationData.Current.LocalFolder;
StorageFile pdffile = await local.GetFileAsync(file);
Windows.System.Launcher.LaunchFileAsync(pdffile);