{"id":13848820,"url":"https://github.com/jblough/Android-Pdf-Viewer-Library","last_synced_at":"2025-07-12T13:32:46.083Z","repository":{"id":48972680,"uuid":"2281717","full_name":"jblough/Android-Pdf-Viewer-Library","owner":"jblough","description":"DEPRECATED  - Pdf Viewer library for Android","archived":false,"fork":false,"pushed_at":"2021-07-02T21:04:35.000Z","size":1301,"stargazers_count":657,"open_issues_count":42,"forks_count":329,"subscribers_count":78,"default_branch":"master","last_synced_at":"2024-07-01T10:56:53.863Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jblough.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-08-28T01:56:44.000Z","updated_at":"2024-05-17T16:21:41.000Z","dependencies_parsed_at":"2022-08-30T13:11:46.283Z","dependency_job_id":null,"html_url":"https://github.com/jblough/Android-Pdf-Viewer-Library","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jblough%2FAndroid-Pdf-Viewer-Library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jblough%2FAndroid-Pdf-Viewer-Library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jblough%2FAndroid-Pdf-Viewer-Library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jblough%2FAndroid-Pdf-Viewer-Library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jblough","download_url":"https://codeload.github.com/jblough/Android-Pdf-Viewer-Library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213949823,"owners_count":15661676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T19:00:58.616Z","updated_at":"2024-08-04T19:03:26.458Z","avatar_url":"https://github.com/jblough.png","language":"Java","funding_links":[],"categories":["Java","Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"readme":"This is a packaging of the project \"Android PDF Viewer\" (http://andpdf.sourceforge.net/) into a reusable library to make PDF viewing easier from within your Android application.\n\nConsistent with the Android PDF Viewer project, the licensing for the PdfViewer project is LGPL\n\nQuickstart incorporating a PDF viewing activity into your project:\n\n1) Add PdfViewer.jar into your project's build path\n\n2) Copy the following drawable resources from PdfViewer/res/drawable into YourProject/res/drawable\n     left_arrow.png\n     right_arrow.png\n     zoom_in.png\n     zoom_out.png\n\n3) Copy the following layout resources from PdfViewer/res/layout into YourProject/res/layout\n     dialog_pagenumber.xml\n     pdf_file_password.xml\n\n4) Derive your PDF activity from net.sf.andpdf.pdfviewer.PdfViewerActivity\n\n5) Using the default drawables and layouts:\n     public int getPreviousPageImageResource() { return R.drawable.left_arrow; }\n     public int getNextPageImageResource() { return R.drawable.right_arrow; }\n     public int getZoomInImageResource() { return R.drawable.zoom_in; }\n     public int getZoomOutImageResource() { return R.drawable.zoom_out; }\n     public int getPdfPasswordLayoutResource() { return R.layout.pdf_file_password; }\n     public int getPdfPageNumberResource() { return R.layout.dialog_pagenumber; }\n     public int getPdfPasswordEditField() { return R.id.etPassword; }\n     public int getPdfPasswordOkButton() { return R.id.btOK; }\n     public int getPdfPasswordExitButton() { return R.id.btExit; }\n     public int getPdfPageNumberEditField() { return R.id.pagenum_edit; }\n\n6) Invoke your PdfViewActivity derived with the following code:\n     Intent intent = new Intent(this, YourPdfViewerActivity.class);\n     intent.putExtra(PdfViewerActivity.EXTRA_PDFFILENAME, \"PATH TO PDF GOES HERE\");\n     startActivity(intent);\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjblough%2FAndroid-Pdf-Viewer-Library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjblough%2FAndroid-Pdf-Viewer-Library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjblough%2FAndroid-Pdf-Viewer-Library/lists"}