Android pdf reader

前端 未结 3 943
野趣味
野趣味 2021-01-13 13:34

I want to use Android pdf library http://andpdf.sourceforge.net/, but i have same error. Log:

 ST=\'file \'no file selected\' not found\'
 ST=\'reading page          


        
3条回答
  •  不思量自难忘°
    2021-01-13 14:10

    With PdfViewPager you can load and display PDF files easily. All the code you need is:

    PdfViewPager pdfViewPager = new PDFViewPager(this, "sample.pdf");
    setContentView(pdfViewPager);
    

    Or you can embed it in your layout like this:

    
    

    Have a look at the lib if you want to know more.

提交回复
热议问题