如何在Windows Phone 8中打开pdf文件?
发布时间:2020-12-14 02:03:45 所属栏目:Windows 来源:网络整理
导读:我有一些pdf文件(项目文件)我的应用程序,我想如何打开Adobe Reader或其他,但我不知道如何. 在iOS中更容易,在Android中我知道如何,但我不知道如何在WP8中. 我是Windows Phone 8的新手:/ 谢谢大家! 解决方法 您必须使用Launcher类的 LaunchFileAsync 方法.例
我有一些pdf文件(项目文件)我的应用程序,我想如何打开Adobe Reader或其他,但我不知道如何.
在iOS中更容易,在Android中我知道如何,但我不知道如何在WP8中. 我是Windows Phone 8的新手:/ 谢谢大家! 解决方法
您必须使用Launcher类的
LaunchFileAsync 方法.例:
// Access the file. StorageFile pdfFile = await Windows.ApplicationModel.Package.Current.InstalledLocation.GetFileAsync("file.pdf"); // Launch the pdf file. Windows.System.Launcher.LaunchFileAsync(pdfFile); 你会在这里找到更多信息: Auto-launching apps using file and URI associations for Windows Phone 8 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- windows – 在mingw应用程序中忽略清单
- windows-7 – 重新启动时将Windows 7计算机重置为干净状态
- untagged – 自托管桌面支持远程控制软件(适用于Windows)?
- 调试 – 如何在Win7中调试登录屏幕保护程序?
- Windows – SCCM WMI获取需要重新启动的修补程序
- windows-server-2008-r2 – 远程桌面服务器始终显示登录屏幕
- .net – 在Windows和单声道上的SQLite?
- windows-server-2008 – 由于不支持NETDIAG,在Windows Serv
- windows-server-2008-r2 – 组策略安装失败错误%?74
- windows-server-2008 – 如何获取ActiveDirectory的LDAP连接
推荐文章
站长推荐
- windows – 此应用程序无法启动,因为应用程序配置
- windows-7 – 有没有办法配置Windows 7 RDP以要求
- 适用于Windows7 / 2012或更高版本的AOE Windows
- 如何使用Windows Installer XML注册COM-Object
- windows-server-2008 – 将VMware Server 2.0映像
- windows-ce – 带嵌入式Windows的手持设备7
- SYN?cookiesSYN cookies
- .net – WPF中的窗口所有者,并不总是在顶层的行为
- 当Windows Mobile .NET设备使用Web服务时,“无法
- MinGW x64 for Windows安装
热点阅读