open a pdf file programmatically

后端 未结 7 2117
广开言路
广开言路 2021-01-06 15:45

I am working on pdf. I am trying to open a pdf file from my application using the code below. But I failed to open.

private void openPdf() {

        File fi         


        
7条回答
  •  执念已碎
    2021-01-06 16:01

    You can achieve this using 3rd party library integration. Working libraries are listed below, with SDK

    https://github.com/JoanZapata/android-pdfview
    https://github.com/jblough/Android-Pdf-Viewer-Library

    with NDK

    https://code.google.com/p/mupdf/downloads/detail?name=mupdf-1.2-source.zip&can=2&q=

    guide to use @

    http://dixitpatel.com/integrating-pdf-in-android-application/

提交回复
热议问题