简体   繁体   English

打开PDF链接Android

[英]Open Pdf link android

I have to show a PDF file inside my application and the PDF file contains a link inside (this link sends the user to the website). 我必须在我的应用程序中显示一个PDF文件,并且该PDF文件中包含一个链接(此链接将用户发送到网站)。

I am searching for a library that allows me to show the file inside my application and if the user clicks the link, open a browser. 我正在搜索一个允许我在应用程序中显示文件的库,如果用户单击链接,请打开浏览器。

Is it possible? 可能吗?

Thanks in advance! 提前致谢! :) :)

I personally use this one : AndroidPdfViewer 我个人使用这个: AndroidPdfViewer

you can use a webview also following this example : Example pdf on webview 您也可以按照以下示例使用网络视图:网络视图上的pdf示例

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM