Releases: opendocument-app/pdf2htmlEX-Android
pdf2htmlEX-Android v0.17.4
Fix path to licenses.xml in gradle publishing code. More of the bork from license gathering migration.
pdf2htmlEX-Android v0.17.3
Fixed (read: Workarounded) the #4 issue.
Based on upstream pdf2htmlEX - v0.17.0-poppler-0.68.0-ubuntu-18.10
pdf2htmlEX-Android v0.17.2
Version = 0.17.2
pdf2htmlEX-Android v0.17.1
Version = 0.17.1 . Last build failed to deploy, need a new Release on…
pdf2htmlEX-Android v0.17.0
Include tarballs in source.jar, not in separate .tar
pdf2htmlEX 0.15.1 Android JNI
libpdf2htmlEX delivered as a shared library which can be used in Android App through JNI.
pdf2htmlEX-release.tar contains all needed files to be included in Android App.
pdf2htmlEX-debug.tar contains libraries with debug symbols.
libpdf2htmlEX requires Android API 16 (Jelly Bean) or newer.
Android-sample-app requires Android API 19 (KitKat) or newer due to the usage of Storage Access Framework. SAF is not a requirement of libpdf2htmlEX, only a requirement of the current implementation of sample-app.
Install procedure for libpdf2hmlEX consists of extracting JNI library (libpdf2htmlEX.so) and asset files (css, et. cetera).
tar --extract --file pdf2htmlEX-release.tar --directory=android-sample-app/app/src/main jniLibs assets
jniLibs/pdf2htmlEX.cmake defines imported target, which can be used in other CMake targets.
Example usage (from android-sample-app/src/main/cpp/CMakeLists.txt):
include(${CMAKE_SOURCE_DIR}/../jniLibs/pdf2htmlEX.cmake)
target_link_libraries(native-lib pdf2htmlEX)
libpdf2htmlEX contains no JNI specific code. JNI layer is implemented in android-sample-app/src/main/cpp/native-lib.cpp
Android-16 MinSize builds
Min API level: 16
armeabi-v7a is upx packed, other ABI binaries are not compressed.
HOWTO deploy:
tar -xf release-armeabi-v7a-pdf2htmlEX.tar
adb push ./built /data/local/tmp/
# If tarball was extracted on windows, need to chmod pdf2htmlEX binary
adb shell chmod 755 /data/local/tmp/built/bin/pdf2htmlEX
adb shell /data/local/tmp/built/bin/pdf2htmlEX --data-dir /data/local/tmp/built/share/pdf2htmlEX --tmp-dir /data/local/tmp/built /data/local/tmp/built/sample_pdfs/fontfile3_opentype.pdf /data/local/tmp/fontfile3_opentype.html
adb pull /data/local/tmp/fontfile3_opentype.html
Android-16 MinSize upx packed builds
Min API level: 16
Contains upx ( https://upx.github.io/ ) packed binaries
HOWTO deploy:
tar -xf release-armeabi-v7a-pdf2htmlEX.tar
adb push ./built /data/local/tmp/
# If tarball was extracted on windows, need to chmod pdf2htmlEX binary
adb shell chmod 755 /data/local/tmp/built/bin/pdf2htmlEX
adb shell /data/local/tmp/built/bin/pdf2htmlEX --data-dir /data/local/tmp/built/share/pdf2htmlEX --tmp-dir /data/local/tmp/built /data/local/tmp/built/sample_pdfs/fontfile3_opentype.pdf /data/local/tmp/fontfile3_opentype.html
adb pull /data/local/tmp/fontfile3_opentype.html
Android-16 MinSize upx packed builds
Min API level: 16
Contains upx ( https://upx.github.io/ ) packed binaries
HOWTO deploy:
tar -xf release-armeabi-v7a-pdf2htmlEX.tar
adb push ./built /data/local/tmp/
# If tarball was extracted on windows, need to chmod pdf2htmlEX binary
adb shell chmod 755 /data/local/tmp/built/bin/pdf2htmlEX
adb shell /data/local/tmp/built/bin/pdf2htmlEX --data-dir /data/local/tmp/built/share/pdf2htmlEX --tmp-dir /data/local/tmp/built /data/local/tmp/built/sample_pdfs/fontfile3_opentype.pdf /data/local/tmp/fontfile3_opentype.html
adb pull /data/local/tmp/fontfile3_opentype.html
Android-16 MinSize builds
Min API level: 16
HOWTO deploy:
tar -xf release-armeabi-v7a-pdf2htmlEX.tar
adb push ./built /data/local/tmp/
# If tarball was extracted on windows, need to chmod pdf2htmlEX binary
adb shell chmod 755 /data/local/tmp/built/bin/pdf2htmlEX
adb shell /data/local/tmp/built/bin/pdf2htmlEX --data-dir /data/local/tmp/built/share/pdf2htmlEX --tmp-dir /data/local/tmp/built /data/local/tmp/built/sample_pdfs/fontfile3_opentype.pdf /data/local/tmp/fontfile3_opentype.html
adb pull /data/local/tmp/fontfile3_opentype.html