Android-MuPDF
Android-MuPDF copied to clipboard
I'm using this library for my project. Where can I get the source code for this particular version of the MuPDF u r using.Please help me
@joniks Hi joniks. I'm using your library because it displays two pages in landscape which exactly fits my requirement. But I'm facing seroius memory problems now. So can you please help me finding the source code for this version so that I can make changes in .c files and can build it again.
@joniks, In fact, I have built the new source code from the MuPDF website and when I try to replace the new .so files with your .so files MuPDF is not building. So I think you got my issue. Thanks
Project .so files builded from: http://git.ghostscript.com/?p=mupdf.git;a=tree;h=a0a9ce485579352ce9c3c4568c07e56b7029a8c8;hb=a0a9ce485579352ce9c3c4568c07e56b7029a8c8
@joniks Thank you for reply. Can you guide me how to download and setup this. It is confusing
Building info here: http://mupdf.com/docs/how-to-build-mupdf-for-android
@joniks , I know how to build this but my question is after building the new version and when I replaced new .so files with the .so files in your library it's not working.
Small shange before building required:
diff --git a/platform/android/viewer/jni/mupdf.c b/platform/android/viewer/jni/mupdf.c index 5e04ff8..5d8b7d3 100644 --- a/platform/android/viewer/jni/mupdf.c +++ b/platform/android/viewer/jni/mupdf.c @@ -15,8 +15,8 @@ #include "mupdf/fitz.h" #include "mupdf/pdf.h"
-#define JNI_FN(A) Java_com_artifex_mupdfdemo_ ## A -#define PACKAGENAME "com/artifex/mupdfdemo" +#define JNI_FN(A) Java_com_artifex_mupdflib_ ## A +#define PACKAGENAME "com/artifex/mupdflib"
#define LOG_TAG "libmupdf" #define LOGI(...) android_log_print(ANDROID_LOG_INFO,LOG_TAG,__VA_ARGS)
@joniks , thank u so much.
how can i copy text from pdf ?
Text copying functionality purposely has been removed from this library.
@joniks , Hi Joniks, I faced the x86 not supported crash. So could you be kind to provide me the jni source code? And I cloned the MuPdf project, there is no jni code inside for privacy reason I think.