FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

davis-ceva/PdfiumAndroid: pdfium for android( >= API 14 ) binding · GitHub

 
 

Repository files navigation

Pdfium Android bindings

This is a fork of barteksc/PdfiumAndroid. It is used with my fork of barteksc/AndroidPdfViewer. This is an up to date version of the library, since the original library is abandonware.

Import

repositories {
    maven { url "https://maven.andob.info/repository/open_source" }
}
dependencies {
	implementation 'ro.andob.pdfium-android:pdfium-android:1.1.0'
}

Upgrading Pdfium

  1. Build pdfium from source or download prebuilt images. For this example, I use binaries downloaded from bblanchon/pdfium-binaries. Download all 4 archives and extract them (Android arm, arm64, x86, x64).
  2. From the extracted arm64 archive, copy libpdfium.so binary into src/main/cpp/lib/arm64-v8a.
  3. From the extracted arm archive, copy libpdfium.so binary into src/main/cpp/lib/armeabi-v7a.
  4. From the extracted x86 archive, copy libpdfium.so binary into src/main/cpp/lib/x86.
  5. From the extracted x64 archive, copy libpdfium.so binary into src/main/cpp/lib/x86_64.
  6. Delete everything from src/main/cpp/lib except utils directory.
  7. Copy everything from the arm archive, include directory into src/main/cpp/lib
  8. Build and fix build errors.

Licensed under Apache License

About

pdfium for android( >= API 14 ) binding

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL