Regarding the new PDF library wrapper by @DonManfred
Hi, I still get the ontap issue - if I tap the pdf, I get the error below with the sample code (no change)
Any idea? This looks like a bug to me.
Also, do you possibly know how get to know when the user performed a zoom action?
Like a rendering event ? There is one function called "addOnRenderListener", which could probably do that, but none of the provided events are called
Also not for the addOnDrawListener ..
From the PDFAndroidViewer original code I think the ondrawlistener should be added to the wrapper to implement the behavior
Thank you
Marco
Hi, I still get the ontap issue - if I tap the pdf, I get the error below with the sample code (no change)
B4X:
java.lang.Exception: Sub pdfium_ontap was not found.
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:202)
at anywheresoftware.b4a.BA$2.run(BA.java:370)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6806)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Any idea? This looks like a bug to me.
Also, do you possibly know how get to know when the user performed a zoom action?
Like a rendering event ? There is one function called "addOnRenderListener", which could probably do that, but none of the provided events are called
Also not for the addOnDrawListener ..
From the PDFAndroidViewer original code I think the ondrawlistener should be added to the wrapper to implement the behavior
Thank you
Marco