Raj*_*v C 5 windows-phone windows-phone-8
如何在Windows Phone 8应用程序中启动新的Word/Excel/PowerPoint文档?
这是我尝试过的,似乎不起作用:
await Launcher.LaunchUriAsync(new Uri("ms-word:"));
Run Code Online (Sandbox Code Playgroud)
要么
await Launcher.LaunchUriAsync(new Uri("ms-excel:"));
Run Code Online (Sandbox Code Playgroud)
谁能看到我做错了什么?
对于 WP8, 这可能对您有帮助。
StorageFile pdfFile = await Windows.ApplicationModel.Package.Current.InstalledLocation.GetFileAsync("demo.xls");
// Launch the file.
Windows.System.Launcher.LaunchFileAsync(pdfFile);
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
319 次 |
最近记录: |