Get Started

How to Run a Demo                            


ComPDFKit PDF SDK for Android provides one demo in Java for developers to learn how to call the SDK on Android. You can find them in the "PDFViewer" folder. In this guide, it takes the "Java" demo as an example to show how to run it in Android.

- Import the "PDFViewer" project on Android Studio.

- In the toolbar, select "PDFViewer" from the run configurations drop-down menu.

- From the target device drop-down menu, select the device that you want to run "ComPDFKit_Demo" on.

- Click "Run".


If you don't have any devices configured, then you need to either connect a device via USB or create an AVD to use the Android Emulator.


Run a Demo on Android


Note: This is a demo project, presenting completed ComPDFKit PDF SDK functions. The functions might be different based on the license you have purchased. Please check that the functions you choose work fine in this demo project.