summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorfred ross-perry <fredross-perry@Fred-Ross-Perrys-Computer.local>2016-07-14 16:21:48 -0700
committerfred ross-perry <fred.ross-perry@artifex.com>2016-07-15 10:09:03 -0700
commitbc7dd5e109c4f001982be9dcb7b5e80d35bd5b28 (patch)
treed34174792bef26b5f6cee9f5cb43d8846ad17db6 /platform/android
parent6fb868c1cdbae2864f1ad866f6c9422153dbd031 (diff)
downloadmupdf-bc7dd5e109c4f001982be9dcb7b5e80d35bd5b28.tar.xz
android example - VERY brief build instructions.
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/example/Readme.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/platform/android/example/Readme.txt b/platform/android/example/Readme.txt
new file mode 100644
index 00000000..e87baf8a
--- /dev/null
+++ b/platform/android/example/Readme.txt
@@ -0,0 +1,21 @@
+mupdf/platform/android/example - build instructions
+
+1. get the code and submodules
+
+2. make generate
+
+3. cd mupdf/platform/android/viewer
+
+3. build: ndk-build
+
+4. copy the resulting .so file:
+
+ mkdir -p ../example/mupdf/libs/armeabi-v7a
+ rm -f ../example/mupdf/libs/armeabi-v7a/libmupdf_java.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