Hello,
how can I set zoom, by pinch zoom in/out?
how can I set zoom, by pinch zoom in/out?
Dim bmp As Bitmap
bmp = pdfv.getPageBitmap(1, 1.0, 0, 0, 0, 100, 100)
Clicking the downloadlink in Post #1?How can I download the library?
Sub dd_Complete(Job As HttpJob)
Log("Job completed: " & Job.Success)
Dim o As OutputStream
o = File.OpenOutput(File.DirDefaultExternal, "l.bal", False)
File.Copy2(Job.GetInputStream, o)
o.Close
If Job.Success = True Then
Activity.LoadLayout("Layout2")
Dim pdfView As PDFViewer
pdfView.init
Activity.AddView(pdfView,0,0,-1,-1)
pdfView.getpdf(File.DirRootExternal&"/l.bal")
End If
Job.Release
End Sub
When I try to open a file which is downloaded with webview, I receive an error below,
Installing file.
PackageAdded: package:app.taksim
** Service (starter) Create **
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Service (downloadservice) Create **
** Service (downloadservice) Start **
** Service (httputils2service) Create **
** Service (httputils2service) Start **
Job completed: true
java.lang.UnsatisfiedLinkError: dlopen failed: library "/data/data/app.taksim/files/libpdfview2.so" not found
at java.lang.Runtime.load(Runtime.java:333)
at java.lang.System.load(System.java:512)
at ice.pdfviewer.pdfviewerwrapper.init(pdfviewerwrapper.java:109)
at app.taksim.main._dd_complete(main.java:469)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:702)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:339)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:246)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:134)
at anywheresoftware.b4a.BA$2.run(BA.java:328)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5602)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
The codes are;
B4X:Sub dd_Complete(Job As HttpJob) Log("Job completed: " & Job.Success) Dim o As OutputStream o = File.OpenOutput(File.DirDefaultExternal, "l.bal", False) File.Copy2(Job.GetInputStream, o) o.Close If Job.Success = True Then Activity.LoadLayout("Layout2") Dim pdfView As PDFViewer pdfView.init Activity.AddView(pdfView,0,0,-1,-1) pdfView.getpdf(File.DirRootExternal&"/l.bal") End If Job.Release End Sub
What sould I do?
As long as i don´t get a OK from icefairy i don´t share this version as it is based on reverse engineering and i´ll only use it for private use...Where can I download corrected library?
you can share itAs long as i don´t get a OK from icefairy i don´t share this version as it is based on reverse engineering and i´ll only use it for private use...