You can use bmp.WriteToStream or File.Copy("ContentDir", uri, ...)
Share file: https://www.b4x.com/android/forum/threads/class-fileprovider-share-files.97865/#content
And to create a pdf document:
1. Change the Scan method to:
Public Sub Scan As ResumableSub
Dim options As JavaObject...
Add this code to the class to center the image:
Public Sub CenterImage(ZoomLevel As Float)
pnlBackground.SetLayoutAnimated(0, 0, 0, mBase.Width, mBase.Height)
ZoomChanged(pnl.Width / 2, pnl.Height / 2, ZoomLevel)
End Sub
Pass 1 for no zoom.
It looks like a problem with JSTouchImageView library. It probably includes classes that are also inside a dependent jar.
Better to post it here: https://www.b4x.com/android/forum/threads/jstouchimageview-library-pinch-pan-zoom-image.73236/page-2#posts
You are seeing the system logs. It includes the output of all apps.
Change the scan method code to:
Public Sub Scan (Formats As List) As ResumableSub
Dim builder As JavaObject...
I don't know if it will help, but one way to debug such issues is to open the generated Arduino project with Arduino IDE and start removing things until you get it compiling.
I guess that the jdbc driver isn't compatible with Android. You will either need to use an older version, JDTS or as @aeric wrote a middleware. In the long run I assure you that switching to a middleware will worth your efforts.
jServer source code: https://github.com/AnywhereSoftware/B4J/tree/master/Libs_Server/src/anywheresoftware/b4j/object
And you don't really need it as minor versions are usually backward compatible.
Just update the XML file.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.