tonyfd / apdfviewer Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/apdfviewer
License: GNU General Public License v2.0
Automatically exported from code.google.com/p/apdfviewer
License: GNU General Public License v2.0
I have compiled and launched the PDF viewer. My Android Simulator Device API
version is 8 (Android 2.2) .
As soon as it is launched it is showing only 4 buttons. It is not showing any
thing else.. I wanted to see some pdf document , But I could not see any file
selection tool. Please help me how I can view my pdf document..?
Is there any special thing to add the code ?
Attachments :
1. ScreenShot of Emulator Device that launched PDFViewer.
2. Logfile
3. Console output information on running.
Original issue reported on code.google.com by [email protected]
on 13 Aug 2010 at 10:00
Attachments:
ll
Original issue reported on code.google.com by [email protected]
on 6 Dec 2012 at 2:42
Attachments:
I have compiled it for Android-3.0 (Motorola XOOM tablet). When I try to run
the application I have got crash in skia library. It says that it is crashing
in SkPath. Did anyone try running this application in android-3.0 ?
Please tell me if anyone did.
Thank you.
Original issue reported on code.google.com by [email protected]
on 6 Jul 2011 at 12:55
报错信息如下:
poppler_jni.so): Cannot load library: link_image[2033]: failed to link
libpoppler_jni.so
I/dalvikvm(29707):
W/System.err(29707): java.lang.UnsatisfiedLinkError: Library poppler_jni not
found
W/System.err(29707): at java.lang.Runtime.loadLibrary(Runtime.java:461)
W/System.err(29707): at java.lang.System.loadLibrary(System.java:557)
W/System.err(29707): at
com.googlecode.apdfviewer.PDFDocument.<clinit>(PDFDocument.java:105)
W/System.err(29707): at
com.googlecode.apdfviewer.PDFView.openUri(PDFView.java:272)
W/System.err(29707): at com.googlecode.apdfviewer.PDFViewerActivity.onCreate(
Original issue reported on code.google.com by jiessiedyh
on 26 Oct 2010 at 1:53
I thought I'd call attention to the fact that this project is Apache-licensed,
even though it's using poppler which is GPL - this is a violation of poppler's
license, and your application should also be GPL-licensed to comply.
See details here: http://cgit.freedesktop.org/poppler/poppler/tree/README
This should be a simple change, so please address ASAP.
Thanks
Original issue reported on code.google.com by [email protected]
on 4 Jul 2011 at 7:47
What steps will reproduce the problem?
1. Open PDF data that this poppler program does not have font.
2.
3.
What is the expected output? What do you see instead?
I want to view all character code in PDF data.
What version of the product are you using? On what operating system?
I use 2 systems.
1. PDFViewer1.0-snapshot.apk in android 1.6(donut).
2. PDFViewer-android-2.x.apk in android 2.1(eclair)
Please provide any additional information below.
In the web page below url, I see the sentence.
How can I do extract the poppler-data?
sentence:
"Some PDF file may need the poppler-data, you can extract the poppler-data to a
sdcard, and rename the extracted folder to “poppler-data”. "
url:
http://www.google.co.jp/url?q=http://www.cuteandroid.com/open-source-android-app
s-for-developers-apdfviewer-a-pdf-file-viewer-for-android-platform&sa=U&ei=T3zmT
OmmApGOvQPzlsHCCA&ved=
Original issue reported on code.google.com by [email protected]
on 19 Nov 2010 at 2:13
Attached LogCat file...
Do check it .. Is there any need to load poppler externally??
Original issue reported on code.google.com by [email protected]
on 30 Nov 2009 at 6:54
Attachments:
What steps will reproduce the problem?
1. Install Oracle VM and Ubuntu 12.04. Install jdk 6 and other packages.
2. Install android OS sources and this library. Put library into packages/apps
3. Try to compile it.
What is the expected output? What do you see instead?
I see same errors:
Fake:
out/target/product/generic/obj/FAKE/charger_res_images_intermediates/charger_res
_images-timestamp Symlink:
out/target/product/generic/system/vendor/firmware/hdcp.keys ->
/factory/hdcp.keys Fake:
out/target/product/generic/obj/FAKE/validate_framework_keymaps_intermediates/val
idate_framework_keymaps-timestamp make: * No rule to make target
out/target/product/generic/obj/lib/libcorecg.so', needed
byout/target/product/generic/obj/SHARED_LIBRARIES/libpoppler_jni_intermediates/L
INKED/libpoppler_jni.so'. Stop.
What version of the product are you using? On what operating system?
JDK 6. Ubuntu 12.04
Please provide any additional information below.
I put library sources in packages/apps android sources. To comile use commands:
$ lunch full-eng
and
$ make j4
library in android-source/packages/apps/android-1.6
Original issue reported on code.google.com by [email protected]
on 17 Nov 2012 at 12:05
在SD卡里放了'poppler-data', 打开PDF文件之后屏幕一片空白,
最后退回到文件管理
器, 想知道是否对于PDF文件有特定要求?
是否只能打开某些PDF文件?
Original issue reported on code.google.com by [email protected]
on 30 Jan 2010 at 5:53
hi all, poppler version in apdfviewer is 0.12.0, it is very old, and i am
upgrate poppler-0.16.7, and i builded suscessfull, but when i run then it cant
show pdf
this is my source code:
Original issue reported on code.google.com by [email protected]
on 5 Aug 2011 at 9:15
Attachments:
Any help please? Tutorial maybe...
Thanks.
Original issue reported on code.google.com by [email protected]
on 20 Oct 2010 at 2:51
Is there any sample code to view a pdf file? I got an empty screen when I
compile the latest source code. So I add a new main activity. And add the
following code when I click a button to open a pdf in my sdcard:
// open pdfviewactivity
File dir = Environment.getExternalStorageDirectory();
File yourFile = new File(dir, "book.pdf");
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.fromFile(yourFile));
startActivity(intent);
Unfortunately it crashes. The error message is:
05-16 13:13:36.652: E/AndroidRuntime(12364): FATAL EXCEPTION: main
05-16 13:13:36.652: E/AndroidRuntime(12364):
android.content.ActivityNotFoundException: No Activity found to handle Intent {
act=android.intent.action.VIEW dat=file:///mnt/sdcard/book.pdf }
My androidmanifest.xml is:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.googlecode.apdfviewer" >
<application android:label="@string/app_name" >
<activity
android:name="com.googlecode.apdfviewer.PDFViewerActivity"
android:label="PDFViewer"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" />
<data android:scheme="content" />
<data android:mimeType="application/pdf" />
</intent-filter>
</activity>
<activity
android:name="com.googlecode.apdfviewer.MainActivity"
android:label="@string/title_activity_main" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
Any clue? Thanks.
Original issue reported on code.google.com by [email protected]
on 16 May 2013 at 1:22
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
when i run the project.apk is installing successfully but not opening in
emulator
What version of the product are you using? On what operating system?
using Android 2.2 , windows
Please provide any additional information below.
where to give our own pdf files and where it will load from??
Original issue reported on code.google.com by [email protected]
on 24 Jul 2012 at 11:46
I can't find the way to handle Local Asset file using this project.
Can we ?
Original issue reported on code.google.com by [email protected]
on 20 Nov 2009 at 10:26
Hello
I try to write a piece of code by using JNI, which convert poppler library into
java libary. I just can't work out covert Qimage into jobject. Could you give
me a hit? thanks
Original issue reported on code.google.com by [email protected]
on 27 Sep 2010 at 11:04
What steps will reproduce the problem?
1. Open pdf file from (AndExplore)
What is the expected output? What do you see instead?
Cannot display pdffile.Only display black screen after that process is died
What version of the product are you using? On what operating system?
Android 2.2
Original issue reported on code.google.com by [email protected]
on 7 Oct 2011 at 3:58
D/dalvikvm( 7318): Trying to load lib
/data/data/com.googlecode.apdfviewer/lib/libpoppler_jni.so 0x47e88f20
I/dalvikvm( 7318): Unable to
dlopen(/data/data/com.googlecode.apdfviewer/lib/libpoppler_jni.so): Cannot load
library: link_image[1995]: failed to link libpoppler_jni.so
I/dalvikvm( 7318):
W/System.err( 7318): java.lang.UnsatisfiedLinkError: Library poppler_jni not
found
W/System.err( 7318): at java.lang.Runtime.loadLibrary(Runtime.java:461)
W/System.err( 7318): at java.lang.System.loadLibrary(System.java:557)
W/System.err( 7318): at
com.googlecode.apdfviewer.PDFDocument.<clinit>(PDFDocument.java:105)
W/System.err( 7318): at
com.googlecode.apdfviewer.PDFView.openUri(PDFView.java:272)
W/System.err( 7318): at
com.googlecode.apdfviewer.PDFViewerActivity.onCreate(PDFViewerActivity.java:74)
W/System.err( 7318): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
W/System.err( 7318): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
W/System.err( 7318): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
W/System.err( 7318): at
android.app.ActivityThread.access$2300(ActivityThread.java:125)
W/System.err( 7318): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
W/System.err( 7318): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 7318): at android.os.Looper.loop(Looper.java:123)
W/System.err( 7318): at
android.app.ActivityThread.main(ActivityThread.java:4627)
W/System.err( 7318): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 7318): at java.lang.reflect.Method.invoke(Method.java:521)
W/System.err( 7318): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
W/System.err( 7318): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
W/System.err( 7318): at dalvik.system.NativeStart.main(Native Method)
W/dalvikvm( 7318): No implementation found for native
Lcom/googlecode/apdfviewer/PDFDocument;.native_init
(Ljava/io/FileDescriptor;Ljava/lang/String;Ljava/lang/String;)I
D/AndroidRuntime( 7318): Shutting down VM
W/dalvikvm( 7318): threadid=1: thread exiting with uncaught exception
(group=0x4001d7d0)
E/AndroidRuntime( 7318): FATAL EXCEPTION: main
E/AndroidRuntime( 7318): java.lang.UnsatisfiedLinkError: native_init
E/AndroidRuntime( 7318): at
com.googlecode.apdfviewer.PDFDocument.native_init(Native Method)
E/AndroidRuntime( 7318): at
com.googlecode.apdfviewer.PDFDocument.<init>(PDFDocument.java:41)
E/AndroidRuntime( 7318): at
com.googlecode.apdfviewer.PDFView.openUri(PDFView.java:272)
E/AndroidRuntime( 7318): at
com.googlecode.apdfviewer.PDFViewerActivity.onCreate(PDFViewerActivity.java:74)
E/AndroidRuntime( 7318): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 7318): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
E/AndroidRuntime( 7318): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime( 7318): at
android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime( 7318): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroidRuntime( 7318): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7318): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 7318): at
android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 7318): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 7318): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 7318): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
E/AndroidRuntime( 7318): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime( 7318): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 7318): *** KLAATU --1
E/AndroidRuntime( 7318): java.lang.UnsatisfiedLinkError: native_init
E/AndroidRuntime( 7318): at
com.googlecode.apdfviewer.PDFDocument.native_init(Native Method)
E/AndroidRuntime( 7318): at
com.googlecode.apdfviewer.PDFDocument.<init>(PDFDocument.java:41)
E/AndroidRuntime( 7318): at
com.googlecode.apdfviewer.PDFView.openUri(PDFView.java:272)
E/AndroidRuntime( 7318): at
com.googlecode.apdfviewer.PDFViewerActivity.onCreate(PDFViewerActivity.java:74)
E/AndroidRuntime( 7318): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 7318): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
E/AndroidRuntime( 7318): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime( 7318): at
android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime( 7318): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroidRuntime( 7318): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7318): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 7318): at
android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 7318): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 7318): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 7318): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
E/AndroidRuntime( 7318): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime( 7318): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 2504): Force finishing activity
com.googlecode.apdfviewer/.PDFViewerActivity
I/ ( 2504): dumpmesg > "/data/log/dumpstate_app_error.log"
I/dumpstate( 7326): begin
D/VoldCmdListener( 2378): asec list
I/dumpstate( 7326): done
W/ActivityManager( 2504): Activity pause timeout for HistoryRecord{47f2c590
com.googlecode.apdfviewer/.PDFViewerActivity}
I/MyFiles ( 4613): ## onResume : registerReceiver
I/Myfiles ( 4613): fileDataMgr.getCurrentDirectory().lastModified() :
1308643662000
I/Myfiles ( 4613): fileDataMgr.getCurrentDirectory() : /mnt/sdcard/download
D/MyFiles ( 4613): getSdSerial() sd state = removed
I/MyFiles ( 4613): Current External SD Serial = null
I/selectcolor( 4613): Treeview getView position=11
W/PowerManagerService( 2504): Timer 0x7->0x3|0x1
I/PowerManagerService( 2504): Ulight 7->3|0
D/PowerManagerService( 2504): led option is always on
I/PowerManagerService( 2504): Ulight 3->7|0
D/PowerManagerService( 2504): led option is always on
V/WindowManager( 2504): Delivering toWindow{47df2ad8 Sorry! paused=false}
V/WindowManager( 2504): Delivering toWindow{47df2ad8 Sorry! paused=false}
E/AndroidRuntime( 7318): *** KLAATU --2
E/AndroidRuntime( 7318): java.lang.UnsatisfiedLinkError: native_init
E/AndroidRuntime( 7318): at
com.googlecode.apdfviewer.PDFDocument.native_init(Native Method)
E/AndroidRuntime( 7318): at
com.googlecode.apdfviewer.PDFDocument.<init>(PDFDocument.java:41)
E/AndroidRuntime( 7318): at
com.googlecode.apdfviewer.PDFView.openUri(PDFView.java:272)
E/AndroidRuntime( 7318): at
com.googlecode.apdfviewer.PDFViewerActivity.onCreate(PDFViewerActivity.java:74)
E/AndroidRuntime( 7318): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 7318): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
E/AndroidRuntime( 7318): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime( 7318): at
android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime( 7318): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroidRuntime( 7318): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 7318): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 7318): at
android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 7318): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 7318): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 7318): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
E/AndroidRuntime( 7318): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime( 7318): at dalvik.system.NativeStart.main(Native Method)
W/InputManagerService( 2504): Window already focused, ignoring focus gain of:
com.android.internal.view.IInputMethodClient$Stub$Proxy@47f5cc60
E/AndroidRuntime( 7318): *** KLAATU --4
E/AndroidRuntime( 7318): java.lang.UnsatisfiedLinkError: native_init
E/AndroidRuntime( 7318): at
com.googlecode.apdfviewer.PDFDocument.native_init(Native Method)
E/AndroidRuntime( 7318): at
com.googlecode.apdfviewer.PDFDocument.<init>(PDFDocument.java:41)
E/AndroidRuntime( 7318): at
com.googlecode.apdfviewer.PDFView.openUri(PDFView.java:272)
E/AndroidRuntime( 7318): at
com.googlecode.apdfviewer.PDFViewerActivity.onCreate(PDFViewerActivity.java:74)
E/AndroidRuntime( 7318): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 7318): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
E/AndroidRuntime( 7318): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
Original issue reported on code.google.com by [email protected]
on 22 Jun 2011 at 8:47
Attachments:
What steps will reproduce the problem?
1.I have install the NDK 5 and also run the test project when i
Compile project the show the many error of file not found mostly for utils and skia.
What is the expected output? What do you see instead?
As i search the internet and find out the most best open source lib for android is apdfviewer,can please write the step which lib is need for build new project that will be help-full for newbies
What version of the product are you using? On what operating system?
I am running on Window 7 with Android 2.2,2.3 and ndk 5.
Thank you very much
Original issue reported on code.google.com by [email protected]
on 2 May 2011 at 1:58
hi all, can you talk me about poppler version in apdfandroid ???
Original issue reported on code.google.com by [email protected]
on 3 Aug 2011 at 8:35
hi, I am wondering is there anyway to show password protected PDF?
is it possible to do upgrade without touching poppler part?
tnx a lot for support.
Original issue reported on code.google.com by cakmak.jagor
on 6 Mar 2012 at 9:40
The file size is not in limit? I guess
Original issue reported on code.google.com by [email protected]
on 19 Nov 2009 at 8:45
hi all, when i use apdfviewer read my pdf file:
http://www.mediafire.com/?rzmheo6ebu5i6hn
it was error font:
[IMG]http://cC2.upanh.com/25.552.32717221.5Bl0/newissueapdfviewerapdfviewerisapd
ffileviewerforandroidplatform.png[/IMG]
can you help me fix it
Original issue reported on code.google.com by [email protected]
on 26 Jul 2011 at 5:01
$ $ANDROID_NDK_ROOT/ndk-build
Compile++ thumb : poppler_jni <= PDFDocument.cc
StaticLibrary : libstdc++.a
SharedLibrary : libpoppler_jni.so
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function
native_init(_JNIEnv*, _jobject*, _jobject*, _jstring*,
_jstring*):jni/PDFDocument.cc:235: error: undefined reference to
'FileStream::FileStream(__sFILE*, unsigned int, int, unsigned int, Object*)'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function
native_init(_JNIEnv*, _jobject*, _jobject*, _jstring*,
_jstring*):jni/PDFDocument.cc:240: error: undefined reference to
'PDFDoc::PDFDoc(BaseStream*, GooString*, GooString*, void*)'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function
drawPageSlice(_JNIEnv*, _jobject*, _jobject*, int, int, int, int,
int):jni/PDFDocument.cc:210: error: undefined reference to
'AndroidOutputDev::AndroidOutputDev(SkCanvas*, XRef*)'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function
drawPageSlice(_JNIEnv*, _jobject*, _jobject*, int, int, int, int,
int):jni/PDFDocument.cc:218: error: undefined reference to
'PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, int, int, int,
int, int, int, int, int (*)(void*), void*, int (*)(Annot*, void*), void*)'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function
drawPageSlice(_JNIEnv*, _jobject*, _jobject*, int, int, int, int,
int):jni/PDFDocument.cc:218: error: undefined reference to
'AndroidOutputDev::~AndroidOutputDev()'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function
drawPages(_JNIEnv*, _jobject*, _jobject*, int, int):jni/PDFDocument.cc:186:
error: undefined reference to 'AndroidOutputDev::AndroidOutputDev(SkCanvas*,
XRef*)'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function
drawPages(_JNIEnv*, _jobject*, _jobject*, int, int):jni/PDFDocument.cc:194:
error: undefined reference to 'PDFDoc::displayPages(OutputDev*, int, int,
double, double, int, int, int, int, int (*)(void*), void*, int (*)(Annot*,
void*), void*)'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function
drawPages(_JNIEnv*, _jobject*, _jobject*, int, int):jni/PDFDocument.cc:194:
error: undefined reference to 'AndroidOutputDev::~AndroidOutputDev()'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function
drawPage(_JNIEnv*, _jobject*, _jobject*, int):jni/PDFDocument.cc:160: error:
undefined reference to 'AndroidOutputDev::AndroidOutputDev(SkCanvas*, XRef*)'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function
drawPage(_JNIEnv*, _jobject*, _jobject*, int):jni/PDFDocument.cc:170: error:
undefined reference to 'PDFDoc::displayPage(OutputDev*, int, double, double,
int, int, int, int, int (*)(void*), void*, int (*)(Annot*, void*), void*)'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function
drawPage(_JNIEnv*, _jobject*, _jobject*, int):jni/PDFDocument.cc:170: error:
undefined reference to 'AndroidOutputDev::~AndroidOutputDev()'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function
native_class_init(_JNIEnv*, _jclass*):jni/PDFDocument.cc:262: error: undefined
reference to 'GlobalParams::GlobalParams(char const*)'
e:/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin
/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.e
xe: ./obj/local/armeabi/objs/poppler_jni/PDFDocument.o: in function
native_class_init(_JNIEnv*, _jclass*):jni/PDFDocument.cc:264: error: undefined
reference to 'globalParams'
collect2: ld returned 1 exit status
/cygdrive/e/ndk/android-ndk-r8c/build/core/build-binary.mk:390: recipe for
target `obj/local/armeabi/libpoppler_jni.so' failed
make: *** [obj/local/armeabi/libpoppler_jni.so] Error 1
Original issue reported on code.google.com by [email protected]
on 28 Apr 2013 at 3:55
hi all,
I want build apdfviewer for android 2.2, and i was hear about this comment:
APDFViewer depends on some internal libraries of android, so it cannot be built
by using NDK. To build the project properly, you should get android source code
and put APDFViewer's source into packages/apps to build it. thus, i was
download android os source code in
http://vietandroid.com/redirect-to/?redirect=http%3A%2F%2Frgruet.free.fr%2Fpubli
c%2Fandroid-2.2-froyo-src.zip
can you help me find packages/apps directory in android OS src ???
Original issue reported on code.google.com by [email protected]
on 21 Jul 2011 at 2:37
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.