summaryrefslogtreecommitdiff
path: root/platform/android/example/README
diff options
context:
space:
mode:
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