diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-11-15 17:41:15 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-11-15 18:30:57 +0000 |
commit | 0c28c2aad6bfebf436c13a06db70413166d15d6d (patch) | |
tree | f19d3465c12b572ebb283cdb4748149e0adade07 /platform/android/example | |
parent | e84b0b0354a7ecf474600f55e1799d72affc2dfd (diff) | |
download | mupdf-0c28c2aad6bfebf436c13a06db70413166d15d6d.tar.xz |
Update JNI code to load 32 or 64 bit DLL as appropriate.
Make the JNI code detect whether it is running on a 32 or
64 bit machine, and change the name of the DLL appropriately.
Update Android Makefile to make mupdf_java32 instead of mupdf_java.
Update Java Makefile to make mupdf_java32 or mupdf_java64 based
on the system it is running on. This choice can be overruled by
defining BITS to be "32" or "64" before calling make.
Update Windows Solution to make mupdf_java32 or mupdf_java64 as
appropriate.
Diffstat (limited to 'platform/android/example')
-rw-r--r-- | platform/android/example/Readme.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/example/Readme.txt b/platform/android/example/Readme.txt index e87baf8a..7138ddcf 100644 --- a/platform/android/example/Readme.txt +++ b/platform/android/example/Readme.txt @@ -11,11 +11,11 @@ mupdf/platform/android/example - build instructions 4. copy the resulting .so file: mkdir -p ../example/mupdf/libs/armeabi-v7a - rm -f ../example/mupdf/libs/armeabi-v7a/libmupdf_java.so + rm -f ../example/mupdf/libs/armeabi-v7a/libmupdf_java32.so cp ./libs/armeabi-v7a/libmupdf_java.so ../example/mupdf/libs/armeabi-v7a/ 5. Open the example in Android Studio 6. build and run -If you modify C code, do steps 3, 4 and 6 as needed
\ No newline at end of file +If you modify C code, do steps 3, 4 and 6 as needed |