PDF SDK for Android

PDF SDK for Android

Released 4 years ago , Last update 1 year ago

Adds a PDF Reader and Viewer support to your Android application.

1.0
  • 5 0
  • 4 0
  • 3 0
  • 2 0
  • 1 2
2 Reviews Read Reviews

Integrated PDF Reader in your Android application

Every product manager would tell you the importance of "keeping" your users within your app, if your application depends on opening PDF files then this SDK is for you.

With this SDK your users would be able to view (and eventually interact with) PDF files without leaving your application, allowing you to manage the application Activities stack without redirecting the user to an external PDF appication.

To test the SDK with your PDFs, download the latest demo apk and view your file.

Currently implemented in v1.0.013

  • A single page with back and forward buttons navigation.
  • A swipable views pager.
  • A pages grid view display.
  • A Pages Curl view.
  • A horizontal listdisplay.
  • Super flixible UI composition.

What's in the SDK archive

  • A ready to launch Android Studio demo project that imports and uses the SDK.
  • An already packed PDF viewer apk file for quick evaluation.

Features

  • Cosumizable UI

    Aside for using the build in UI components, a building blocks architecture allows the developer to fully costumized their UI.
  • Encrypted Files support

    Opening encrypted PDF file will prompt the user a dialog to enter the password. 
  • Fully Optimized

    Highly optimized memory management, parsing, rendering and caching processes
  • open a PDF on the fly

    Open PDFs directly from an InputStream, no need to store it locally.
  • Controls

    Portraite and Landscape support.
    Pinch to zoom in and out.
    Next and Previous Buttons.
    Swipe right and left.
  • Properties

    The UI is native Android ONLY. 

    The SDK is not based on Android NDK.
    The current size of the SDK is ~1.3mb.

     

 

Pricing

14 day 14-day money-back guarantee

$349.99

Single App License

  • Perpetual license

  • 1 application

  • Can distribute binary products only

  • Commercial use

  • 6 months support

$2,499.99

Distributor License

  • Perpetual license

  • Unlimited projects

  • Can distribute code and binary products

  • Commercial use

  • 12 months support

Need custom services for this product? Get a quote

Launch the sample application

Set up your workspace and launch sample app:

  1. Download the new archive and extract it to a desired folder.
  2. In Android Studio import project and select the template folder.
  3. Launch the project.

You can now browse your phone's storage and view a PDF, or click on a PDF attachment on any external source, and choose open with 'Nu-Art Beta PDF Viewer'.

Integrating the SDK

Set up your workspace:

  1. Follow the steps in 'Launch the sample application'.
  2. Copy all the files from the 'nu-art-pdf-demo-app/libs' folder to your project module.
  3. Add the following lines to your project 'build.gradle' file:
    android {
    ...
    }

    dependencies {
    ... Your Imports ...
    /*
    * here paste the content of the dependencies node from
    * the sample project 'nu-art-pdf-demo-app/build.gradle' file
    */
    }

    repositories { mavenCentral() flatDir { dirs 'libs' } }

Follow the rest of the instructions in the 'How to use the SDK' section.

How to use the SDK

Declaration in the manifest

Since Android Studio allows manifest merging there is not much you need to do... in most cases your manifest is good to go.

If you know you plan on rendering large files, it is recommended to use the android:largeHeap="true" attribute like this:

<application 
...
android:largeHeap="true" >

...
</application>

Initializing the PDF SDK Module

If your application does not have a unique Application class in your project declare one, and initialize the PDF SDK.

public class MyApplication
        extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        /* Initialize the PDF SDK Module */
	CyborgBuilder.startCyborg(new CyborgConfiguration(this, -1, PDFModulesBuilder.class));
   }
}

Launch the PDF Viewer

The last thing you need to do is call the convenient methods in the PDF_Viewer class:

Intent intent = PDF_Viewer.openPDF_Viewer(PDFViewerType.SinglePageWithTwoButtons, new File(pathToYourFile), "YourPDF-Key", pageIndex);
startActivity(intent);
 

That is it you are set to go!

3 licenses, starting from From » $349.99 View Licenses

Get A Quote

What do you need?
  • Custom development
  • Integration
  • Customization / Reskinning
  • Consultation
When do you need it?
  • Soon
  • Next week
  • Next month
  • Anytime

Thanks for getting in touch!

Your quote details have been received and we'll get back to you soon.

or Get a quote

for customization or integration services


Or enter your name and Email
  • S Simon 3 years ago
    Looks good, but the loading of a pdf file from the SDCard is quite slow (single file, takes about 5 times longer to load that with several competitors) (in the demo app). Is there anything that can be done there?
    • NA Not Available Publisher 3 years ago
      Hi Simon, The loading speed depends on the PDF.js sdk I'm using and the engine I'm using to run it. While the sdk is probably here to stay I do plan on using another engine eventually. Adam.
  • PP Petteri Paananen 3 years ago
    I´d like to propose you to a purchase model we are using with corresponding iOS PDF SDK and I´m not sure if public forum is a proper place for that... is there any way to discuss with you more privately?
  • PP Petteri Paananen 3 years ago
    Hi I´d like to ask you about license types before purchasing... thanks...