cgogolin / penandpdf Goto Github PK
View Code? Open in Web Editor NEWPen&PDF is a PDF viewer and annotation app for Android built on top of MuPDF.
License: GNU Affero General Public License v3.0
Pen&PDF is a PDF viewer and annotation app for Android built on top of MuPDF.
License: GNU Affero General Public License v3.0
I encounter saving error from time to time.
The procedure to save the file seems to go well, no error, but when trying to close the document, I am prompted with a «save?» dialog box asking to save the changes, as if the document wasn't previously saved. Answering Yes (save) or No (close without saving) has the same result : reopening the document shows no annotations.
This error is not systematic according to the file. However, i would occurs or not with similar pdf source (coming from the same editor). I don't see a pattern in thoses files.
Thanks!
(reading on tablet Acer Iconia A3-A20, Android 4.4.2)
A feature that could be interesting would be to be able to change the size and/or relocate notes taking with the pen. To avoid interference while writing, it could be activated somehow.
I don't know whether I or anyone will use it much, but I have just realized that it would be nice sometimes. At least, to move notes.
F-Droid is a store of FOSS apps for Android. As your app is licensed under GPL v3, could you list your app in F-Droid database? Thank you very much!
I am using a Galaxy Note 8.0 with an S-Pen and Pen&Pdf. When using the S-Pen only to first point to a text and then highlight a text two annotations are generated:
If I do the same with selecting the text with the finger and then using the S-Pen to extend the highlighting as needed, as expected only one highlighting annotation is generated.
I'm interested in your app but fail to understand the following:
Why does this app require full network access, exactly?
Thanks for your work first.
I've two annotations: 1. A option to scroll the document vertical would be nice.
2. A full view mode that only shows the document without the status bar from android and without the toolbar from the pdf reader.
Thanks and greetings to cologne ;)
Edit: I discovered, that a full view mode already exist. Sorry for that. So i can only add small notice. An automatic full view mode would be nice. But its really a "nice-to-have" extra. Not essential.
Would you mind making the .apk
available here at Github (e.g. attaching it to releases/
), so folks without playstore get a chance to grab it? I'd offer to serve it via my repo then (updates included as long as you provide the APKs). Thanks in advance!
I am trying to build the source code in Android Studio and it keeps throwing the *** No rule to make target for ../pdf-js.c needed by pdf-js.o . Stop.
I am having a hard time trying to fix this. How do I exactly run this source code?
Full Error:
Build command failed.
Error while executing process C:\Users\SITF01\AppData\Local\Android\Sdk\ndk\21.0.6113669\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=C:\Users\SITF01\Desktop\ndk-samples\kotlin-app\SITFPDFApp\app\src\main\cpp\jni\Android.mk NDK_APPLICATION_MK=C:\Users\SITF01\Desktop\ndk-samples\kotlin-app\SITFPDFApp\app\src\main\cpp\jni\Application.mk APP_ABI=arm64-v8a NDK_ALL_ABIS=arm64-v8a NDK_DEBUG=1 APP_PLATFORM=android-22 NDK_OUT=C:/Users/SITF01/Desktop/ndk-samples/kotlin-app/SITFPDFApp/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=C:\Users\SITF01\Desktop\ndk-samples\kotlin-app\SITFPDFApp\app\build\intermediates\ndkBuild\debug\lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
Android NDK: WARNING:C:\Users\SITF01\Desktop\ndk-samples\kotlin-app\SITFPDFApp\app\src\main\cpp\jni\Android.mk:mupdfcore: LOCAL_LDLIBS is always ignored for static libraries
md "C:\Users\SITF01\Desktop\ndk-samples\kotlin-app\SITFPDFApp\app\build\intermediates\ndkBuild\debug\lib\arm64-v8a" >NUL 2>NUL || rem
C:/Users/SITF01/AppData/Local/Android/Sdk/ndk/21.0.6113669/build//../prebuilt/windows-x86_64/bin/echo.exe [arm64-v8a] "Gdbserver ": "[aarch64-linux-android] C:\Users\SITF01\Desktop\ndk-samples\kotlin-app\SITFPDFApp\app\build\intermediates\ndkBuild\debug\lib/arm64-v8a/gdbserver"
copy /b/y "C:\Users\SITF01\AppData\Local\Android\Sdk\ndk\21.0.6113669\build\..\prebuilt\android-arm64\gdbserver\gdbserver" "C:\Users\SITF01\Desktop\ndk-samples\kotlin-app\SITFPDFApp\app\build\intermediates\ndkBuild\debug\lib\arm64-v8a\gdbserver" > NUL
C:/Users/SITF01/AppData/Local/Android/Sdk/ndk/21.0.6113669/build//../prebuilt/windows-x86_64/bin/echo.exe [arm64-v8a] "Gdbsetup ": "C:\Users\SITF01\Desktop\ndk-samples\kotlin-app\SITFPDFApp\app\build\intermediates\ndkBuild\debug\lib/arm64-v8a/gdb.setup"
C:/Users/SITF01/AppData/Local/Android/Sdk/ndk/21.0.6113669/build//../prebuilt/windows-x86_64/bin/echo.exe "set solib-search-path C:/Users/SITF01/Desktop/ndk-samples/kotlin-app/SITFPDFApp/app/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a" > C:\Users\SITF01\Desktop\ndk-samples\kotlin-app\SITFPDFApp\app\build\intermediates\ndkBuild\debug\lib/arm64-v8a/gdb.setup
C:/Users/SITF01/AppData/Local/Android/Sdk/ndk/21.0.6113669/build//../prebuilt/windows-x86_64/bin/echo.exe "directory C:/Users/SITF01/AppData/Local/Android/Sdk/ndk/21.0.6113669/build//../toolchains/llvm/prebuilt/windows-x86_64/sysroot jni/andprof ../../include ../../source/fitz ../../source/pdf C:/Users/SITF01/Desktop/ndk-samples/kotlin-app/SITFPDFApp/app/src/main/cpp/jni ../../thirdparty/jbig2dec ../../thirdparty/openjpeg/libopenjpeg ../../thirdparty/jpeg ../../thirdparty/mujs ../../thirdparty/zlib ../../thirdparty/freetype/include ../../source/xps ../../source/cbz ../../source/img ../../source/tiff ../../scripts/freetype ../../scripts/jpeg ../../scripts/openjpeg ../../generated ../../resources" >> C:\Users\SITF01\Desktop\ndk-samples\kotlin-app\SITFPDFApp\app\build\intermediates\ndkBuild\debug\lib/arm64-v8a/gdb.setup
md "C:\Users\SITF01\Desktop\ndk-samples\kotlin-app\SITFPDFApp\app\build\intermediates\ndkBuild\debug\obj\local\arm64-v8a\objs\mupdf" >NUL 2>NUL || rem
C:/Users/SITF01/AppData/Local/Android/Sdk/ndk/21.0.6113669/build//../prebuilt/windows-x86_64/bin/echo.exe [arm64-v8a] "Compile ": "mupdf <= mupdf.c"
C:/Users/SITF01/AppData/Local/Android/Sdk/ndk/21.0.6113669/build//../toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -MMD -MP -MF C:/Users/SITF01/Desktop/ndk-samples/kotlin-app/SITFPDFApp/app/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a/objs/mupdf/mupdf.o.d -target aarch64-none-linux-android22 -fdata-sections -ffunction-sections -fstack-protector-strong -funwind-tables -no-canonical-prefixes --sysroot C:/Users/SITF01/AppData/Local/Android/Sdk/ndk/21.0.6113669/build//../toolchains/llvm/prebuilt/windows-x86_64/sysroot -g -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -D_FORTIFY_SOURCE=2 -fpic -O2 -DNDEBUG -Ijni/andprof -I../../include -I../../source/fitz -I../../source/pdf -IC:/Users/SITF01/Desktop/ndk-samples/kotlin-app/SITFPDFApp/app/src/main/cpp/jni -DANDROID -Wformat -Werror=format-security -c C:/Users/SITF01/Desktop/ndk-samples/kotlin-app/SITFPDFApp/app/src/main/cpp/jni/mupdf.c -o C:/Users/SITF01/Desktop/ndk-samples/kotlin-app/SITFPDFApp/app/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a/objs/mupdf/mupdf.o
md "C:\Users\SITF01\Desktop\ndk-samples\kotlin-app\SITFPDFApp\app\build\intermediates\ndkBuild\debug\obj\local\arm64-v8a" >NUL 2>NUL || rem
make: *** No rule to make target 'C:/Users/SITF01/Desktop/ndk-samples/kotlin-app/SITFPDFApp/app/src/main/cpp/jni/../../../source/pdf/js/pdf-js.c', needed by 'C:/Users/SITF01/Desktop/ndk-samples/kotlin-app/SITFPDFApp/app/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a/objs/mupdfcore///__/source/pdf/js/pdf-js.o'. Stop.
It would be nice to have an easier way to change colors of the pen from the ActionBar.
unable to found generated header files i generated folder.
Due to limitations in the used version of MuPDF, Pen&PDF cannot correctly decode/encode strings in various form widgets (text fields, multiple choice widgets, ...) and and passwords (for protected pdfs). There is no easy way to work around this. Hopefully a future version of MuPDF will improve in this respect.
When a document is shared after it was saved under a new name the document is shared under the old name. This is probably because the share action provider is not correctly updated/recreated.
When reviewing a PDF with serveral people it is very comvenient that with each annotation the name of the reviewer is displayed. Therefore probably a setting of an author name would be needed in Pen&Pdf.
Great tool by the way
If you have arm64-v8a so file kindly provide it.
It would be nice to have the option to invert colors when showing a document. It is more pleasant to read with a black background on an LCD screen.
Thanks!
Renato.
Please i would like to know what ide you used in creating the project, i converted to android studio because eclipse was giving bugs and i was getting a runtime error throwing unsatified exception, something about the MUpdfcore.java
Thanks a lot @cgogolin for developing this useful app!
As it is no longer actively maintained, I wonder if you or anyone else knows some good alternatives (that are ideally available on f-droid)?
I couldn't get why the app uses internet permission. Is it possible to remove the permission?
Would it be possible to add a custom additional page instead of an all empty page ? Would be very nice to have a page with lines for notes, or a grid for calculations or a sketch. Or a music sheet ... You get the idea.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.