sabrinalua / apv Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/apv
License: GNU General Public License v3.0
Automatically exported from code.google.com/p/apv
License: GNU General Public License v3.0
What steps will reproduce the problem?
1. I am not able to create so file after download the apv project, mupdf
pre-compile code, and mupdf thirdparty library files.
2. $ ndk-build
Compile thumb : pdfview2 <= pdfview2.c
In file included from
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:7:
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.h:10:18: error: fitz.h: No such file or directory
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.h:11:19: error: mupdf.h: No such file or directory
In file included from
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:7:
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.h:18: error: expected specifier-qualifier-list before 'pdf_xref'
In file included from
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:7:
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.h:47: error: expected declaration specifiers or '...' before
'fz_bbox'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c: In function 'Java_cx_hell_android_pdfview_PDF_getPageCount':
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:90: error: 'pdf_t' has no member named 'xref'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c: In function 'Java_cx_hell_android_pdfview_PDF_freeMemory':
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:218: error: 'pdf_t' has no member named 'fileno'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:218: error: 'pdf_t' has no member named 'fileno'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c: In function 'Java_cx_hell_android_pdfview_PDF_find':
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:233: error: 'pdf_page' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:233: error: (Each undeclared identifier is reported only once
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:233: error: for each function it appears in.)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:233: error: 'page' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:234: error: 'fz_text_span' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:234: error: 'text_span' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:234: error: 'ln' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:235: error: 'fz_device' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:235: error: 'dev' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:238: error: 'fz_error' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:238: error: expected ';' before 'error'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:253: error: 'error' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:253: error: 'pdf_t' has no member named 'xref'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:253: error: 'fz_identity' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:285: error: 'fz_bbox' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:285: error: expected ';' before 'charbox'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:295: error: 'charbox' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:296: error: too many arguments to function 'convert_box_pdf_to_apv'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c: In function 'create_pdf_t':
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:551: error: 'pdf_t' has no member named 'xref'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:552: error: 'pdf_t' has no member named 'outline'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:553: error: 'pdf_t' has no member named 'fileno'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:554: error: 'pdf_t' has no member named 'pages'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:555: error: 'pdf_t' has no member named 'glyph_cache'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c: In function 'parse_pdf_file':
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:615: error: 'fz_error' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:615: error: expected ';' before 'error'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:617: error: 'fz_stream' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:617: error: 'file' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:624: error: 'O_BINARY' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:624: error: 'O_RDONLY' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:629: error: 'pdf_t' has no member named 'fileno'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:630: error: 'pdf_t' has no member named 'fileno'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:634: error: 'error' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:634: error: 'pdf_t' has no member named 'xref'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:635: error: 'pdf_t' has no member named 'xref'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:648: error: 'pdf_t' has no member named 'xref'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:650: error: 'pdf_t' has no member named 'xref'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:663: error: 'pdf_t' has no member named 'outline'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:663: error: 'pdf_t' has no member named 'xref'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:665: error: 'pdf_t' has no member named 'xref'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:674: error: 'pdf_t' has no member named 'xref'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c: At top level:
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:690: error: expected ')' before '*' token
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:713: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c: In function 'get_page_image_bitmap':
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:780: error: 'fz_matrix' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:780: error: expected ';' before 'ctm'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:782: error: 'fz_rect' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:782: error: expected ';' before 'bbox'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:783: error: 'fz_error' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:783: error: expected ';' before 'error'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:784: error: 'pdf_page' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:784: error: 'page' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:785: error: 'fz_pixmap' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:785: error: 'image' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:787: error: 'fz_device' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:787: error: 'dev' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:793: error: 'pdf_t' has no member named 'glyph_cache'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:794: error: 'pdf_t' has no member named 'glyph_cache'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:795: error: 'pdf_t' has no member named 'glyph_cache'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:808: error: 'ctm' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:808: error: 'fz_identity' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:813: error: 'bbox' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:832: error: 'fz_device_rgb' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:837: error: 'pdf_t' has no member named 'glyph_cache'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:838: error: 'error' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:838: error: 'pdf_t' has no member named 'xref'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c: In function 'get_page_size':
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:904: error: 'fz_error' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:904: error: expected ';' before 'error'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:905: error: 'fz_obj' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:905: error: 'pageobj' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:906: error: 'sizeobj' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:907: error: 'fz_rect' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:907: error: expected ';' before 'bbox'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:908: error: 'rotateobj' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:911: error: 'pdf_t' has no member named 'xref'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:919: error: 'bbox' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c: At top level:
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:994: error: expected declaration specifiers or '...' before
'fz_bbox'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c: In function 'convert_box_pdf_to_apv':
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:995: error: 'fz_error' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:995: error: expected ';' before 'error'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:996: error: 'fz_obj' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:996: error: 'pageobj' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:997: error: 'rotateobj' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:998: error: 'sizeobj' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:999: error: 'fz_rect' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:999: error: expected ';' before 'page_bbox'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:1000: error: expected ';' before 'param_bbox'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:1005: error: 'bbox' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:1008: error: 'param_bbox' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:1013: error: 'pdf_t' has no member named 'xref'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:1017: error: 'page_bbox' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:1028: error: 'fz_matrix' undeclared (first use in this function)
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:1028: error: expected ';' before 'm'
C:/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/jni/pdfview
2/pdfview2.c:1029: error: 'm' undeclared (first use in this function)
make: ***
[/cygdrive/c/Users/localization1/workspace/jackiecream-pdfview-android/pdfview/o
bj/local/armeabi/objs/pdfview2/pdfview2.o] Error 1
What is the expected output? What do you see instead?
A working so file
What version of the product are you using? On what operating system?
cygwin, eclipse, apv cloned the current version
Please provide any additional information below.
Can someone please advise how should I fix this problem? Thanks.
Original issue reported on code.google.com by [email protected]
on 6 Jun 2011 at 6:47
What steps will reproduce the problem?
I have an Anroid Tablet without market access, and I'm not the only one:
http://groups.google.com/group/android-pdf-viewer/browse_thread/thread/b0d8059ce
64b9ffa
I'm not able to download Android PDF Viewer
What is the expected output? What do you see instead?
A download of the .apk file on this page.
Original issue reported on code.google.com by [email protected]
on 8 Jun 2010 at 6:07
When viewing files with the a comfortable zoom level, a screen might turn out
to be just a bit too small. Displaying files in full-screen mode would make
things better. The status bar is quite useless anyway, when reading PDFs.
Original issue reported on code.google.com by prash.n.rao
on 18 Jan 2011 at 5:51
What steps will reproduce the problem?
1. Open the market app
2. Search for cx.hell.android.pdfview
3. No result found
What is the expected output? What do you see instead?
The application is found
What version of the product are you using? On what operating system?
Android 1.6
Please provide any additional information below.
Perhaps is a problem with QVGA screens?
Original issue reported on code.google.com by [email protected]
on 23 Nov 2010 at 1:39
Just tried to open a password protected PDF file, and the pdf viewer just
crashed (Force Close error). It would be great if this supported protected
documents, or at the very least it shouldn't crash when attempting to open
one. Great program otherwise, though.
Original issue reported on code.google.com by maciel310
on 21 Apr 2010 at 10:04
What steps will reproduce the problem?
1. i am getting errors when i am trying to generate .so file and the error
is
build/prebuilt/linux-x86/arm-eabi-4.2.1/bin/../lib/gcc/arm-
eabi/4.2.1/../../../../arm-eabi/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
The above one is the error .
please can you send the solution of how to rectify this error
Waiting for your solution
Thanking you
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 22 Apr 2010 at 6:01
Hi,
sorry if i post it here.
I attach the italian translation of the app and description in the Market.
Bye,
Diego Pierotto
Original issue reported on code.google.com by [email protected]
on 8 Feb 2010 at 10:24
Attachments:
hi all,
I have same problem, I copied all source code of apv. I faced this issue when I
tried to open the .pdf file using emulator.
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load pdfview: findLibrary
returned null
03-28 12:56:43.402: ERROR/AndroidRuntime(472): at
java.lang.Runtime.loadLibrary(Runtime.java:429)
03-28 12:56:43.402: ERROR/AndroidRuntime(472): at
java.lang.System.loadLibrary(System.java:554)
03-28 12:56:43.402: ERROR/AndroidRuntime(472): at
cx.hell.android.pdfview.PDF.<clinit>(PDF.java:15)
can any one give me the solution.
Original issue reported on code.google.com by [email protected]
on 28 Mar 2011 at 9:14
What steps will reproduce the problem?
1. open JasperServer-User-Guide.pdf
2. search for a string that can't be found in pdf file
3. apv crashes because of excessive memory usage
What is the expected output? What do you see instead?
apv doesn't find anything, without crashing
Original issue reported on code.google.com by mpietrzak
on 20 Apr 2010 at 6:51
Attachments:
What steps will reproduce the problem?
1. Device is Coby Mid7015
2.
3.
What is the expected output? What do you see instead? Need some way to delete
pdf files
What version of the product are you using? On what operating system? Pdf
viewer/Maciej Pietrzak
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 20 Jan 2011 at 12:09
the error message:
/home/ianc/Downloads/android-ndk-r4/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/
../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: skipping incompatible
/home/ianc/apv/pdfview/jni/pdfview2/lib/libfreetype.a when searching for
-lfreetype
/home/ianc/Downloads/android-ndk-r4/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/
../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
make: *** [/home/ianc/apv/pdfview/bin/ndk/local/armeabi/libpdfview2.so] Error 1
the android-gcc-setup.sh
# adjust paths below and then run
# . ./android-gcc-setup.sh
# to setup build environment
export NDK=/home/ianc/android-ndk-r4
ANDROID_VERSION=3
LIBDIR=$NDK/build/platforms/android-$ANDROID_VERSION/arch-arm/usr/lib
export CFLAGS="-march=armv5te -mtune=xscale"
export CC=$NDK/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin/arm-eabi-gcc
export
CPPFLAGS=-I$NDK/build/platforms/android-$ANDROID_VERSION/arch-arm/usr/include
export LDFLAGS="-L$LIBDIR -nostdlib -ldl -lc -lz $LIBDIR/crtbegin_static.o"
the os is Ubuntu
i have tried many times, would anyone kindly give a hand?thanks a lot.
qq:896479183
Original issue reported on code.google.com by [email protected]
on 6 Aug 2010 at 1:33
I use APV to read pdf files on an 7" android tablet (running), in portrait
mode. The zoom function in APV allows me to maximize the viewing area, but I
would have to adjust the placement of the text each time I scroll up or down
the page. This becomes tedious very quickly. If we can have a horizontal
scroll lock then the problem will go away.
Better yet: can we have two separate horizontal scroll locks -- one for the
odd-numbered pages, and one for the even-numbered pages?
MANY THANKS!
Original issue reported on code.google.com by [email protected]
on 26 Sep 2010 at 5:17
Please add a feature to lock the app in landscape mode(like the web browser).
Thank you!
Original issue reported on code.google.com by [email protected]
on 27 Jan 2010 at 10:43
Occasionally, and unpredictably, the zoom changes when I return to a file.
Original issue reported on code.google.com by arpruss
on 31 Jul 2011 at 10:34
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 15 Jul 2011 at 5:24
Opening too large file will cause exception of out of memory.
I think the reason is to load all data into memory.
Original issue reported on code.google.com by [email protected]
on 6 Jan 2010 at 3:32
What steps will reproduce the problem?
1. Open the program
What is the expected output? What do you see instead?
The folder presented in the firs screen of the program are in random order
and not in alphabetical order.
What version of the product are you using? On what operating system?
0.2.5
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 28 Feb 2010 at 11:17
What steps will reproduce the problem?
1. load 2-396.pdf on android (attached)
2. Use apv to view
3. got error: couldn't render page 0
What is the expected output? What do you see instead?
The file contains CJK content. If requested glyph not available,
at least empty characters should be shown.
What version of the product are you using? On what operating system?
Current latest version on site. Tried on phone and emulator (2.2).
Please provide any additional information below.
I/mupdf ( 334): + pdf_fontfile.c:159: loadsystemcidfont(): no builtin CJK fon
t file
I/mupdf ( 334): | pdf_font.c:891: pdf_loadfontdescriptor(): cannot load font
descriptor (753 0 R)
I/mupdf ( 334): | pdf_font.c:794: loadcidfont(): cannot load cid font (755 0
R)
I/mupdf ( 334): | pdf_font.c:824: loadtype0(): cannot load descendant font
(755 0 R)
I/mupdf ( 334): | pdf_font.c:979: pdf_loadfont(): cannot load font (757 0 R)
I/mupdf ( 334): | pdf_interpret.c:837: pdf_runkeyword(): cannot load font
(757 0 R)
I/mupdf ( 334): | pdf_interpret.c:1459: pdf_runcsifile(): cannot run keyword
Original issue reported on code.google.com by [email protected]
on 1 Jan 2011 at 11:07
Attachments:
What steps will reproduce the problem?
1. Install Android PDF Viewer
2. Open a PDF document
What is the expected output? What do you see instead?
The output should be a quick display of the PDF document; but it's very slow
and takes a lot of time to be completely displayed.
What version of the product are you using? On what operating system?
The version is 0.2.8 on Android 2.2
Please provide any additional information below.
The performance on Android 2.1 was perfect.
Original issue reported on code.google.com by [email protected]
on 23 Dec 2010 at 9:35
APV is usually fast, and sometimes slow on some PDF files.
It may be related to jpeg decompression.
Maybe some options in libjpeg can be activated to speed up APV (or add an arm
optimized idct)
Original issue reported on code.google.com by [email protected]
on 23 Nov 2010 at 10:13
There seem to be lots of mupdf files missing in the repository.
Original issue reported on code.google.com by arpruss
on 19 Jul 2011 at 3:16
Hi,
I've translate strings.xml PDF Viewer to catalan (ca language code), please add
it.
Thanks
Original issue reported on code.google.com by [email protected]
on 16 Jul 2010 at 8:19
Attachments:
What steps will reproduce the problem?
1. open attached file calf1.01a.pdf (originally attached to issue 3 by
myth2loki)
2. apv shows message box saying that page couldn't have been rendered
What is the expected output? What do you see instead?
apv displays pdf file correctly
Original issue reported on code.google.com by mpietrzak
on 20 Apr 2010 at 7:10
Attachments:
What steps will reproduce the problem?
1. Open a A4 document in landscape display mode
2. zoom in, the whole content (not the document page width) should fit the
display width
What is the expected output? What do you see instead?
on mobile devices with small displays, i expect to set up the zoom level so
i can see as much content as possible.
At the moment i have to use fixed zoom levels which don't match all of my
documents. In one zoom level the viewed page fit almost twice in display
width, the next zoom level is as big i have to scroll horizontally to see
the rest of the page.
Possibly, the zoom factor can be reduced with increased zoom level or use a
slider for set up the zoom level instead of "+" / "-" buttons.
What version of the product are you using? On what operating system?
version 202 @ Android 1.6 (from Android Market, jan.04 2010, version says
0.2.0)
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 4 Jan 2010 at 8:02
Feature request.
I would like the application to record the last location in each book and
automatically open to that location when the book is reopened. Without
bookmarks, this would be great.
If I have 3 books I'm switching reading between, I want to be able to open
the book and be on the page I left it at.
I would echo the other issue of switching between landscape and portrait
layouts. However, I thought fixing it as I mentioned might work as a mode
change fix as well.
I really appreciate the last update which greatly improved the stability.
Great job!
-Mark E.
Original issue reported on code.google.com by [email protected]
on 29 Jan 2010 at 2:42
What steps will reproduce the problem?
could you provide me the process of creating .so file
I am using ubuntu os
Waiting for your solution
Thanking you
Original issue reported on code.google.com by [email protected]
on 21 Apr 2010 at 12:45
Last day, I could use only one hand to read a PDF and I thought about a
killer feature:
- a moderate tilt forward or backward, could scroll down and up
- a moderate tilt to the left or right, could move the page left or right
Original issue reported on code.google.com by [email protected]
on 28 Mar 2010 at 6:54
One of the handiest things about the browser on Android is that as you drag
vertically or horizontally, it locks the drag direction temporarily, so the
display doesn't jiggle left and right. It would be really nice if apv did that.
Original issue reported on code.google.com by arpruss
on 19 Jul 2011 at 3:18
Most android apps takes double click as a zoom in. Please consider
implementing this action.
Thank you!
Original issue reported on code.google.com by [email protected]
on 27 Jan 2010 at 10:44
What steps will reproduce the problem?
1. i am getting the following errors
In function `parse_pdf_file':
apps/pdfview2/project/jni/pdfview2.c:415: undefined reference to
`pdf_loadxref_fileno'
apps/pdfview2/project/jni/pdfview2.c:418: undefined reference to
`pdf_repairxref_fileno'
out/apps/pdfview2//libmupdf.a(ftinit.o):(.data.rel.ro+0x14): undefined
reference to `pfr_driver_class'
out/apps/pdfview2//libmupdf.a(ftinit.o):(.data.rel.ro+0x18): undefined
reference to `t42_driver_class'
out/apps/pdfview2//libmupdf.a(ftinit.o):(.data.rel.ro+0x1c): undefined
reference to `winfnt_driver_class'
out/apps/pdfview2//libmupdf.a(ftinit.o):(.data.rel.ro+0x20): undefined
reference to `pcf_driver_class'
out/apps/pdfview2//libmupdf.a(ftinit.o):(.data.rel.ro+0x44): undefined
reference to `bdf_driver_class'
out/apps/pdfview2//libmupdf.a(pdf_font.o): In function `loadcidfont':
apps/pdfview2/project/jni/mupdf/mupdf/pdf_font.c:712: undefined reference
to `pdf_loadtounicode'
out/apps/pdfview2//libmupdf.a(pdf_font.o): In function `loadsimplefont':
apps/pdfview2/project/jni/mupdf/mupdf/pdf_font.c:489: undefined reference
to `pdf_loadtounicode'
out/apps/pdfview2//libmupdf.a(pdf_type3.o): In function
`pdf_loadtype3font':
apps/pdfview2/project/jni/mupdf/mupdf/pdf_type3.c:136: undefined reference
to `pdf_loadtounicode'
out/apps/pdfview2//libmupdf.a(pdf_fontfile.o): In function
`pdf_loadstoredfont':
apps/pdfview2/project/jni/mupdf-overlay/mupdf/pdf_fontfile.c:119: undefined
reference to `pdf_getfontfile'
collect2: ld returned 1 exit status
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 21 Apr 2010 at 12:34
On Samsung Galaxy Tab APV uses inly half of the display. APV shows up correctly
but dont scale to full display size so that there is a big black border around
it.
Original issue reported on code.google.com by [email protected]
on 9 Feb 2011 at 11:41
What steps will reproduce the problem?
1. Open document
2. try to rotate page ...
What is the expected output? What do you see instead?
i expect to be able to rotate the document orientation, e.g. because some
pages of a dokument have a different orientation (very often: spare part
plans) or the user change his viewing position (lying in bed)
What version of the product are you using? On what operating system?
version 202 @ Android 1.6 (from Android Market, jan.04 2010, version says
0.2.0)
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 4 Jan 2010 at 8:13
I think Section 6d of the GPL3 may need a little more than just having a
repository with the source code. I think it may require that the project post
the precise source code matching each binary release (e.g., a full tarball of
the source for each binary), or at least have a tag in the repository for each
release and clear instructions on how to get the code with that tag.
Original issue reported on code.google.com by arpruss
on 19 Jul 2011 at 4:18
In the 'about' section, we need a space after the dot which is after
apv.googlecode.com.
Right after this we should read 'a user' instead of 'an user'.
Thanks.
Original issue reported on code.google.com by [email protected]
on 2 Mar 2010 at 7:40
This is a simple patch to show the current page on the "go to page" dialog.
I've also set the InputType to TYPE_CLASS_NUMBER
Original issue reported on code.google.com by [email protected]
on 14 Apr 2010 at 9:25
Attachments:
What steps will reproduce the problem?
1. Create a two-page document from Excel (2003) printed to PDF using Adobe
Acrobat v. 7 in landscape mode
2. Save the document on the desktop
3. Transfer the PDF file to the Android device and display with PDF Viewer
What is the expected output? What do you see instead?
It should display as a landscape page.
It displays as portrait pages with the right side of the original page cut
off. This is not the case when viewing the same file with Documents to Go.
What version of the product are you using? On what operating system?
Version 0.2.5 on Android OS 1.6 updated on 02/10/2010.
Please provide any additional information below.
T-Mobile (original) My Touch 3G
Original issue reported on code.google.com by [email protected]
on 12 Feb 2010 at 3:34
Fling scrolling would be nice for large files.
Original issue reported on code.google.com by arpruss
on 1 Aug 2011 at 1:31
What steps will reproduce the problem?
1. Open a file with all pages created in landscape mode
2. ALL Pages only load a portion equivalent to a page in portrait mode
3.
What is the expected output? What do you see instead?
full view of page in landscape view (even in phone portrait orientation)
What version of the product are you using? On what operating system?
PDF Viewer version 0.2.5 on Android 2.0 custom ROM (Kagudroid 1.1.3
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 2 Mar 2010 at 8:59
I completed the Italian translation in strings.xml and fixed some problem in
XML that stopped me from compiling with SDK 2.3.
Attached there is the diff patch against the last HG version.
Original issue reported on code.google.com by [email protected]
on 17 Feb 2011 at 10:44
Attachments:
In the 'about' section, we need a space after the dot which is after
apv.googlecode.com.
Right after this we should read 'a user' instead of 'an user'.
Thanks.
Original issue reported on code.google.com by [email protected]
on 2 Mar 2010 at 7:41
What steps will reproduce the problem?
1. unable to generate libpdfview2.so file
2. getting errors in pdf_unicode.c
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
using on ubuntu
Any suggestions for generating .so file
Waiting for your answer
Thanking you
Original issue reported on code.google.com by [email protected]
on 21 Apr 2010 at 9:53
(First of all, fantastic work, this is the best PDF viewer for Android, and
it's fantastic, plus I love open source software. Great job!)
The issue seems to be that tiles should be stored to the SDCard. I often
open large PDFs for reference, and each time, all the tiles have to be
re-rendered. Why both? I want to have a .apv folder on my sdcard which
stores all of the rendered tiles for quick viewing next time I open the PDF.
Ta
Rich
Original issue reported on code.google.com by [email protected]
on 1 Apr 2010 at 2:58
We could implement onLowMemory() in OpenFileActivity and then do some things to
tighten APV's belt:
- turn off renderAhead in PagesView
- reduce tile cache size in PDFPagesProvider to 3mb (we could make the default size be bigger then, like 5-6mb?)
- set maximum age to 1 on pdf->xref->store
What do people think?
Original issue reported on code.google.com by arpruss
on 1 Aug 2011 at 3:26
What steps will reproduce the problem?
1. Read lots of PDF files
2. See other programs being killed and RSS of apv > 120MB
What is the expected output? What do you see instead?
Memory usage should stay at 50MB
Please use labels and text to provide additional information.
I've started to look at memory allocations with DDMS. And in
PagesView.java, making "Rect r1" static for rectsintersect() helps: each
time the GC is run, only 50 objects are removed instead of 200+.
Do you think it's safe to make r1 static ?
Original issue reported on code.google.com by [email protected]
on 30 Apr 2010 at 6:03
Being able to define bookmarks in pdf files would be cool
Original issue reported on code.google.com by [email protected]
on 28 Mar 2010 at 6:50
Attached files can be opened and previewed with Gmail using the program,
but there is no way to save them on the sdcard. A saving feature would
solve this.
Original issue reported on code.google.com by [email protected]
on 17 Feb 2010 at 6:24
PDF files with large content would be difficult to navigate to the desire page
for viewing. It would be very nice if a simple TOC navigation (page level) or
hyperlinks is supported.
Original issue reported on code.google.com by [email protected]
on 6 Mar 2011 at 9:21
It would be nice to have a "white on black" mode for better reading in the
dark.
Original issue reported on code.google.com by [email protected]
on 27 Mar 2010 at 8:10
Opening the attached PDF causes a force close in version 0.2.7.
The Log Collector gives the following:
05-19 11:29:20.276 E/AndroidRuntime(12684): java.lang.RuntimeException:
Unable to start activity
ComponentInfo{cx.hell.android.pdfview/cx.hell.android.pdfview.OpenFileActi
vity}: java.lang.RuntimeException: failed to load pdf file
05-19 11:29:20.276 E/AndroidRuntime(12684): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2492)
05-19 11:29:20.276 E/AndroidRuntime(12684): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2508)
05-19 11:29:20.276 E/AndroidRuntime(12684): at
android.app.ActivityThread.access$2200(ActivityThread.java:118)
05-19 11:29:20.276 E/AndroidRuntime(12684): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1862)
05-19 11:29:20.276 E/AndroidRuntime(12684): at
android.os.Handler.dispatchMessage(Handler.java:99)
05-19 11:29:20.276 E/AndroidRuntime(12684): at
android.os.Looper.loop(Looper.java:123)
05-19 11:29:20.276 E/AndroidRuntime(12684): at
android.app.ActivityThread.main(ActivityThread.java:4358)
05-19 11:29:20.276 E/AndroidRuntime(12684): at
java.lang.reflect.Method.invokeNative(Native Method)
05-19 11:29:20.276 E/AndroidRuntime(12684): at
java.lang.reflect.Method.invoke(Method.java:521)
05-19 11:29:20.276 E/AndroidRuntime(12684): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java
:791)
05-19 11:29:20.276 E/AndroidRuntime(12684): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
05-19 11:29:20.276 E/AndroidRuntime(12684): at
dalvik.system.NativeStart.main(Native Method)
05-19 11:29:20.276 E/AndroidRuntime(12684): Caused by:
java.lang.RuntimeException: failed to load pdf file
05-19 11:29:20.276 E/AndroidRuntime(12684): at
cx.hell.android.pdfview.PDFPagesProvider.getPageCount(PDFPagesProvider.jav
a:366)
05-19 11:29:20.276 E/AndroidRuntime(12684): at
cx.hell.android.pdfview.PDFPagesProvider.getPageSizes(PDFPagesProvider.jav
a:376)
05-19 11:29:20.276 E/AndroidRuntime(12684): at
cx.hell.android.lib.pagesview.PagesView.setPagesProvider(PagesView.java:27
6)
05-19 11:29:20.276 E/AndroidRuntime(12684): at
cx.hell.android.pdfview.OpenFileActivity.onCreate(OpenFileActivity.java:10
1)
05-19 11:29:20.276 E/AndroidRuntime(12684): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123
)
05-19 11:29:20.276 E/AndroidRuntime(12684): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2455)
05-19 11:29:20.276 E/AndroidRuntime(12684): ... 11 more
"The attached PDF is broken" would of course be a valid response, but my
PC viewers have so much as shown a diagnostic message.
Original issue reported on code.google.com by [email protected]
on 19 May 2010 at 12:39
Attachments:
I think it'd be great to have a feature to view only the text of a PDF file.
Wrapping, formatting, etc, would be even better. Some Android devices (like
mine) don't have very big screens, and it's kind of a pain to have to first
zoom in enough to be able to see the text, then to have to pan left-to-right
and then down just to be able to read the file.
The code here may or may not help (it's for an app which is supposed to do just
this, but doesn't work for me and apparently for many others):
http://code.google.com/p/txtreaderpdf/
Thanks.
Original issue reported on code.google.com by [email protected]
on 27 Aug 2010 at 4:12
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.