From bc7dd5e109c4f001982be9dcb7b5e80d35bd5b28 Mon Sep 17 00:00:00 2001 From: fred ross-perry Date: Thu, 14 Jul 2016 16:21:48 -0700 Subject: android example - VERY brief build instructions. --- platform/android/example/Readme.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 platform/android/example/Readme.txt (limited to 'platform/android') 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 -- cgit v1.2.3