The view mode can be set at the time the QPDFViewerView is constructed. See below sample for how to set it initially, it is not possible to change it while viewing a document with our current API. If the view mode is null, QPDFViewerView.VIEW_MODE.VERTICAL_CONTINUOUS is used. package com.qoppa; import android.app.Activity; import android.os.Bundle; import […]
Articles Tagged: Android PDF Viewer
How to remove a button from the toolbar in QPDFNotesView or QPDFViewerView
Q: How can I remove the save button from the toolbar in QPDFNotesView? A: Please see the below sample code for removing the “save” button. The relevant line of code is below: qpdfNotesView.getToolbar().removeView(qpdfNotesView.getToolbar().getIbSave());qpdfNotesView.getToolbar().removeView(qpdfNotesView.getToolbar().getIbSave()); package com.qoppa; import android.app.Activity; import android.os.Bundle; import com.qoppa.notes.QPDFNotesView; public class RemoveSaveButtonActivity extends Activity { public QPDFNotesView qpdfNotesView; protected void […]
Android View to Display / Render PDF Documents
As part of Qoppa’s Android toolkit, there is a class called QPDFViewerView, which is an extensions of FrameLayout and can be included in an app by adding as a View in an Activity. This view is a complete implementation of a PDF viewer, based on the toolkit. the intent of this class is to provide […]
Android PDF Viewer and Annotator Sample Code Using Fragment
As part of Qoppa’s Android toolkit, there is also a class included called QPDFNotesView that extends an Android View. This class can be used within your application to show PDF documents and also provides annotation tools, similar to our qPDF Notes app. Here is sample code using Qoppa’s qPDFToolkit to display and annotate a PDF […]