Android:使用Android pdfviewer找不到文件

Android:使用Android pdfviewer找不到文件,android,pdf-viewer,Android,Pdf Viewer,我将从中获取的Pdfviewer.jar集成到我的应用程序中。我正在尝试查看原始文件夹中的pdf文件。然而,它显示为文件“android”。resource://com.example.pdf/raw/demo.pdf'未找到:以下是我的代码片段: Intent intent = new Intent(this, MyPdfActivity.class); intent.putExtra(PdfViewerActivity.EXTRA_PDFFILENAME, "android.

我将从中获取的Pdfviewer.jar集成到我的应用程序中。我正在尝试查看原始文件夹中的pdf文件。然而,它显示为文件“android”。resource://com.example.pdf/raw/demo.pdf'未找到:以下是我的代码片段:

Intent intent = new Intent(this, MyPdfActivity.class);
        intent.putExtra(PdfViewerActivity.EXTRA_PDFFILENAME, "android.resource://com.example.pdf/raw/demo.pdf");
        startActivity(intent);
你们中有谁能告诉我什么是错误的,正确的道路是什么