This code.
B4X:
Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Dim CVS As B4XCanvas
Dim RPane As B4XView
Dim Xui As XUI
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
'MainForm.RootPane.LoadLayout("Layout1") 'Load the layout...
The new [B4X] ZoomImageView is a pleasant enrichment of the B4X views.
However, for a some use cases, after changing the zoom and position the new status should be saved so that it can be restored later.
In @SNOUHyhQs2's JSTouchImageView the values for "currentzoom" and "x" and "y" could be...
When using full screen mode with the following code in Activity_Create:
B4X:
Sub GetRealSize As LayoutValues
Dim lv As LayoutValues
Dim p As Phone
If p.SdkVersion >= 17 Then
Dim ctxt As JavaObject
ctxt.InitializeContext
Dim display As JavaObject =...
Easy to do with a simple set of points. Just draw a line from point 6 to 1
I am trying to figure out how to close (for example) this set of points to a polygon without intersection.
I am already testing that drawing a line from point 8 to point 1 will intersect a line.
Is there a generic...
Hello everyone :)
Am glad to announce that i was just finished from creating the most advanced POS (point of sales) application.
*The source code is for sale, if interested send me a private message.
*If you have the ability to work as a salesman am more than happy to discuss the commission and...