PDF-View - Show PDF files in your own app

DonManfred

Expert
Licensed User
Longtime User
Thank you for your donation :)
 

scsjc

Well-Known Member
Licensed User
Longtime User
I dont have such old devices. The lib should work from android 2.3 if i can trust the info here.
Maybe it is another part of the example i wrote which does not work on your device. Sorry, i dont know.

I test your Lib is a very good !!! exactly i need. work perfectly on Lolipop samsung s5
but i test older (2.3 samsung gt-s6500) changing code, not work, hangup at pdf.initialize
i past a code, if you have a time to find the fault
really thanks!!!!!


main_activity_create (java line: 331)
java.lang.NoSuchFieldError: android.os.AsyncTask.THREAD_POOL_EXECUTOR
at com.joanzapata.pdfview.PDFView.load(PDFView.java:233)
at com.joanzapata.pdfview.PDFView.load(PDFView.java:213)
at com.joanzapata.pdfview.PDFView.access$800(PDFView.java:64)
at com.joanzapata.pdfview.PDFView$Configurator.load(PDFView.java:978)
at de.donmanfred.pdfViewwrapper.Initialize(pdfViewwrapper.java:63)
at b4a.example.pdfview.main._activity_create(main.java:331)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:187)
at b4a.example.pdfview.main.afterFirstLayout(main.java:100)
at b4a.example.pdfview.main.access$100(main.java:17)
at b4a.example.pdfview.main$WaitForLayout.run(main.java:78)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3768)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:878)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)
at dalvik.system.NativeStart.main(Native Method)
 

DonManfred

Expert
Licensed User
Longtime User

BarryW

Active Member
Licensed User
Longtime User
can we edit the pdf file in here? just like adding circle or square or drawing a line and also inserting a text?

i would like to pay if you can do that...

Tnx... i like ur lib dude...
 

scsjc

Well-Known Member
Licensed User
Longtime User
Hello Don Manfred, really nice library. I have a question. ... is possible save current page to image? ???

Thanks for your time & work.
 

kozbot

Member
Licensed User
Longtime User
Is it possible to open a pdf from a website instead of having all the pdfs in the app itself?
 

njtaz76

New Member
Licensed User
Longtime User
Hi, I was wondering if there is something to be done in order for hyperlinks to work? I installed the example apk and hyperlinks don't seem to work.

Any ideas? Thank you!
 

ykucuk

Well-Known Member
Licensed User
Longtime User
I think that i found some bug in this library.


If u try change pdf file while previous pdf not load completed yet it crash and close to app


I cant handle this error with try catch


Please look attach file
 

Attachments

  • Screen Shot 2015-09-03 at 21.39.18.png
    Screen Shot 2015-09-03 at 21.39.18.png
    78.6 KB · Views: 358

DonManfred

Expert
Licensed User
Longtime User
Please look attach file
Looks like the error occurs in the native .so Library.

The Library is based on this .so
Joan has written the java-library which wraps the .so library.
I´ve written the wrapper which wraps the java-library written by Joan.

I´ll investigate the issue and try to find a workaround but looks like i will not be able to change this
 

dibesw

Active Member
Licensed User
Longtime User
HI,
please I am in error because I did not understand this error:

b4a13.jpg


what is missing?
 

dibesw

Active Member
Licensed User
Longtime User
Is your project (My version b4a is 3.50)
 

Attachments

  • pdf.zip
    198.8 KB · Views: 456
Last edited:
Top