如何打开PDF文件,该文件是在本地文件系统(科尔多瓦)? [英] How to open a PDF file that is in local file system (Cordova)?

查看:233
本文介绍了如何打开PDF文件,该文件是在本地文件系统(科尔多瓦)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找这些条目(链接1 链接2 ,的链接3 )来解决这个问题。这些链接是有帮助的,但也不能令人信服。

I have been looking at these entries (Link 1, Link 2, Link 3) to solve this issue. These links have been helpful but not quite there.

该应用程序我正在创建并在本地文件系统中存储​​的PDF文件。文件位置与此类似文件:///storage/emulated/0/myDir/file.pdf 。现在,我的问题是我怎么能打开使用 InAppBrowser GoogleDocs /查看PDF文件或任何其他工具?

The app i'm working on creates and stores PDF files in local file system. The file locations is similar to this file:///storage/emulated/0/myDir/file.pdf. Now, my question is how can I open/view PDFs using InAppBrowser, GoogleDocs or any other tools?

推荐答案

我用FileOpener-插件从这里的https: //github.com/don/FileOpener

I used the FileOpener-Plugin from here https://github.com/don/FileOpener

这篇关于如何打开PDF文件,该文件是在本地文件系统(科尔多瓦)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆