How to render PDF in Android

前端 未结 6 910
被撕碎了的回忆
被撕碎了的回忆 2020-11-22 09:03

In my application I will receive a byte stream and convert it to a pdf file in the phone memory. How do I render that to a pdf? And show it on an activity?

6条回答
  •  庸人自扰
    2020-11-22 09:50

    This library is simple and works well: Android Pdf Viewer https://github.com/barteksc/AndroidPdfViewer

    Old Reply...

    I think that Joan Zapata give us the better and simple solution:

    https://github.com/JoanZapata/android-pdfview

    I assure you that it works!

    1: https://github.com/JoanZapata/android-pdfview

提交回复
热议问题