如何在Windows Phone 8中打開文本文檔,.docx和.xls文檔我將文件保存在隔離存儲中,然後嘗試打開使用Launcher.FileAsync但沒有得到結果。欲瞭解更多信息,請參閱我的代碼如下:如何在Windows Phone 8中打開.txt和.docx和.xls文檔
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);
檢查[this](http://stackoverflow.com/questions/16791369/accessing-files-from-windows-store-app)。 – Gowtham