Skip to content

JestingHierophant/mupdf-viewer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MuPDFViewer for Phonegap/Cordova (Android)

PDF integration plugin and example for Cordova/Phonegap 3.0

Requirements

Installed and configured adt (http://developer.android.com/sdk/installing/bundle.html) and ndk (http://developer.android.com/tools/sdk/ndk/index.html)

How to compile MuPDF Shared Object

Compile to use your own package

Copy the jni directory to the root of your project and alter lines 19 and 20 to match your own package name and run ndk-build from the directory jni

Compile using the example package

Copy the jni directory and src files from the example. Goto the jni directory and run ndk-build

Common pitfalls

Shared objects like MuPDF.so do not run on x86 envinoments! Always test on an emulator based on ARM or a real life device. So, not on a Intel based emulator.

About

PDF integration plugin and example for Cordova/Phonegap 3.0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 92.0%
  • Makefile 6.7%
  • Java 0.7%
  • JavaScript 0.5%
  • Shell 0.1%
  • C++ 0.0%