Hi !not yet
Is possible to read text in page?
Hi,
is there any chance of someone creating a wrapper for the MuPDF library / API (http://www.mupdf.com/)? ...
Dim Result As List
Result.Initialize
Result.Clear
Dim pc As Int=0
pc=pdfv.GetPageCount
For n=1 To pc
Result.Add(pdfv.findOnPage("my_search_string",n))
Next
Sorry tucan but I don't quote your thread, I'm just giving my thoughts about the library in my device (if it runs/calls)Sytek
findOnPage works to you ?
Sorry tucan but I don't quote your thread, I'm just giving my thoughts about the library in my device (if it runs/calls)
I will test the findonpage and let you know.
Regards!
PackageAdded: package:b4a.example
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
java.lang.UnsatisfiedLinkError: Native method not found: cx.hell.android.lib.pdf.PDF.findOnPage:(ILjava/lang/String;)Ljava/util/List;
at cx.hell.android.lib.pdf.PDF.findOnPage(Native Method)
at ice.pdfviewer.pdfviewerwrapper.findOnPage(pdfviewerwrapper.java:150)
at b4a.example.main._search(main.java:486)
at b4a.example.main._buttonsearch_click(main.java:410)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:174)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:162)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:158)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:66)
at android.view.View.performClick(View.java:4240)
at android.view.View$PerformClick.run(View.java:17726)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:150)
at android.app.ActivityThread.main(ActivityThread.java:5146)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Hi,
is there any chance of someone creating a wrapper for the MuPDF library / API (http://www.mupdf.com/)? We are in desperate need of a library to view PDF files but nothing seems to work 100%. Even this library (by icefairy333) kind-of works but is waaay to slow for bigger PDF files. Also you basically have no control over the view! I've played a bit with the example app using MuPDF and it works quite fast, allows for zoom & pan, allows for hot links etc ...
I would love to do it myself but it seems my abilities fall short when it comes to creating libraries for b4a! If the price is right we would even be willing to pay for a proper library + b4a wrapper! As long as it does what we need it to do! Basically display pdf files (fast & light) and allow control over a few things like page position, zoom level etc ...
We are busy writing an ebook reader application (free). Currently we support epub files but without pdf support the app would be useless :-(
And as a nice spinnoff, everyone using b4a would have a choice of libs for pdf files! ;-)
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?