Foxit PDF SDK for Android

How to print a PDF document using Foxit PDF SDK for Android?

by Conor Smith | August 29, 2018
Foxit PDF SDK for Android supports the print feature since version 5.1. You can press the Wireless Print button on the More Menu view in the Complete PDF viewer demo to print the PDF document. Furthermore, you can call the following API to print the PDF documents: // for iPhone and iTouch public void startPrintJob(Context […]
Keep reading Keep reading

How to perform Indexed Full-Text Search in Foxit PDF SDK for Android?

by Conor Smith | August 29, 2018
Foxit PDF SDK for Android supported Indexed Full Text Search since version 5.0. To use this feature, follow the steps below: 1) Get document source information. Create a document source based on a directory which will be used as the search directory. public DocumentsSource(String directory) 2) Create a full text search object, and set a […]
Keep reading Keep reading

How to highlight form fields and set form field highlight color?

by Conor Smith | August 29, 2018
The UIExtensionsManager.enableFormHighlight() interface is provided to set whether to enable highlighting the links in PDF documents. By default, the form fields will be highlighted. If you do not want to highlight form fields, please set the parameter to “false” as follows: // Assume you have already Initialized a UIExtensionsManager object uiExtensionsManager.enableFormHighlight(false); The UIExtensionsManager.setFormHighlightColor() interface is […]
Keep reading Keep reading

How to highlight links and set link highlight color in PDF documents?

by Conor Smith | August 29, 2018
The UIExtensionsManager.enableLinkHighlight() interface is provided to set whether to enable highlighting the links in PDF documents. By default, the links in PDF documents will be highlighted. If you do not want to highlight links, please set the parameter to “false” as follows: // Assume you have already Initialized a UIExtensionsManager object uiExtensionsManager.enableLinkHighlight(false); The UIExtensionsManager.setLinkHighlightColor() interface […]
Keep reading Keep reading

License key and serial number don’t work after trial download

by Conor Smith | August 29, 2018
Generally, the package uploaded to the website is supposed to work. It has been tested before it is uploaded. So, if you find the license key and serial number won’t work, it may be caused by the time of your device. If the device’s time is earlier than the StartDate in the rdk_key.txt file found […]
Keep reading Keep reading

How do I insert an image into a PDF file?

by Conor Smith | August 28, 2018
There are two ways to help you insert an image into a PDF file. The first one is calling PDFPage.addImageFromFilePath interface. You can refer to the following sample code which inserts an image into the first page of a PDF file: Note: Before calling PDFPage.addImageFromFilePath interface, you should get and parse the page that you […]
Keep reading Keep reading

How can I add a link annotation to a PDF file?

by Conor Smith | August 28, 2018
To add a link annotation to a PDF file, you should first call the PDFPage.addAnnot to add an annotation to a specified page, then call Action.Create to create an action, and set the action to the added link annotation. Following is the sample code for adding a URI link annotation to the first page of […]
Keep reading Keep reading

What should I do if I want to display a specified page when opening a PDF document using PDF SDK for Android?

by Conor Smith | August 28, 2018
To display a specified page when opening a PDF file, the interface gotoPage (int pageIndex) should be used. Foxit PDF SDK for Android utilizes multi-thread to improve rendering speed, so please make sure the document has been loaded successfully before using the gotoPage interface. Please implement the callback interface in the IDocEventListener, and then call […]
Keep reading Keep reading
Used everywhere

Trusted by