summaryrefslogtreecommitdiff
path: root/platform/android/example/README
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-03-30 17:50:36 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-03-31 13:00:41 +0200
commitf8b35b0fe546c9f34626155f19dafe16a8f82829 (patch)
treeceb16a90ea3dcdb5a3adad6da58c11fb8e54f522 /platform/android/example/README
parentd68576c3785572c1f5d41f83015b8fe6bbcbe9e8 (diff)
downloadmupdf-f8b35b0fe546c9f34626155f19dafe16a8f82829.tar.xz
android: Add new example viewer.
Thanks to Fred Ross-Perry.
Diffstat (limited to 'platform/android/example/README')
-rw-r--r--platform/android/example/README12
1 files changed, 12 insertions, 0 deletions
diff --git a/platform/android/example/README b/platform/android/example/README
new file mode 100644
index 00000000..9a2acc77
--- /dev/null
+++ b/platform/android/example/README
@@ -0,0 +1,12 @@
+This is a very basic example viewer using the new JNI classes.
+
+The build system is a bit incomplete.
+
+You need gradle 2.10 (exactly!).
+
+Copy the libmupdf_java.so file from the original viewer build:
+ $ cd ../viewer && ndk-build
+ $ cp ../viewer/libs/armeabi-v7a/libmupdf_java.so mupdf/libs/armeabi-v7a/libmupdf_java.so
+
+Build and install on device:
+ $ gradle-2.10 installArmDebug