Java 如何在android中使用PDFViewer.jar库?
我正在尝试使用将pdf读入我的应用程序android pdf reader 我想知道如何使用读取资源文件夹中的pdf格式的资源。 它需要“PDF的路径在这里”Java 如何在android中使用PDFViewer.jar库?,java,android,pdf-reader,pdf-viewer,Java,Android,Pdf Reader,Pdf Viewer,我正在尝试使用将pdf读入我的应用程序android pdf reader 我想知道如何使用读取资源文件夹中的pdf格式的资源。 它需要“PDF的路径在这里” 这解释得很好,对我很有用 需要“是”路径 Intent intent = new Intent(this, YourPdfViewerActivity.class); intent.putExtra(PdfViewerActivity.EXTRA_PDFFILENAME, "file:///android_ass
这解释得很好,对我很有用 需要“是”路径
Intent intent = new Intent(this, YourPdfViewerActivity.class);
intent.putExtra(PdfViewerActivity.EXTRA_PDFFILENAME, "file:///android_asset/pdf_name.pdf");
startActivity(intent);
PDFViewer是否有搜索选项?还是亮点?(是不是有点像MuPDF?)
Intent intent = new Intent(this, YourPdfViewerActivity.class);
intent.putExtra(PdfViewerActivity.EXTRA_PDFFILENAME, "file:///android_asset/pdf_name.pdf");
startActivity(intent);