I'm trying to implement a search text or words in pdf file using this library:
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
Why to use the method FindOnPage the application stop and it returns this error in log ? There is a problem with the library? What am I doing wrong?
java.lang.UnsatisfiedLinkError: findOnPage
at cx.hell.android.lib.pdf.PDF.findOnPage(Native Method)
at ice.pdfviewer.pdfviewerwrapper.findOnPage(pdfviewerwrapper.java:150)
at b4a.example.main._btnprocurar_click(main.java:501)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:173)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:161)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:157)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:66)
at android.view.View.performClick(View.java:3511)
at android.view.View$PerformClick.run(View.java:14105)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4424)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)