MacOS X has PDFKit which in turn has PDFView. What other operating systems support viewing PDF files natively?
Asked
Active
Viewed 533 times
1 Answers
0
Android does not have a built-in PDF presenter. However, I found a workaround. Have a look at this thread. I extended the PdfViewerActivity
in order to present a PDF file. It works pretty nice.
Snippet:
Intent intent = new Intent(CurrentActivity.this, ExtendedPdfViewerActivity.class);
intent.putExtra(PdfViewerActivity.EXTRA_PDFFILENAME, pathToPdfDocument);
startActivity(intent);
-
Does it use MuPDF? I mean, is it part of Android (is there the source for it?) or does it use an external library? – Ecir Hana Jul 30 '12 at 14:53
-
According to their definition: `Native Android PDF Viewer based on MuPDF library` – overbet13 Jul 30 '12 at 14:55
-
-
2
-
"native support". Not a 3rd party library but a built-in functionality akin to MacOS PDFKit. Is MacOS really the only OS which supports PDF on its own? – Ecir Hana Jul 30 '12 at 15:00
-
3I told you, on Android there is NO native support for opening PDF documents. I also provided a solution. – overbet13 Jul 30 '12 at 15:05