我正在创建 windows phone 8 应用程序,我必须使用代码或启动器打开文档和图像。问题是那些文档没有打开那些不是在 MS Office 中创建的,我收到如下错误:
"Document has been damaged, cant open" and
"File Format doesn't recognized"
我的代码在这里:
string file = "Test.xls";
var filerun = await ApplicationData.Current.LocalFolder.CreateFileAsync(file);
await Launcher.LaunchFileAsync(await ApplicationData.Current.LocalFolder.GetFileAsync(file));