1. It could have been Integer instead of Int. Eventually I preferred Int as it is shorter and it matches the Java Int type (all types match their Java types).
2.
B4X:
Sub Globals
Type lezingType (IDID As String, trajectnr As String, ..)
Dim lezing As lezingType
Dim lezing2 As lezingType
3. There are several folders related to any application. They are all available with the File object.
These are good suggestions. Not sure what will make it to version 1.0 though.
It is possible to load several layout files. However the previous loaded views will not be removed.
There are several things you can do. First you can create another activity and then switch to the second activity (with StartActivity keyword).
You can also do something like:
B4X:
Sub Globals
Dim pnlSplash As Panel
End Sub
Sub Activity_Create(FirstTime As Boolean)
pnlSplash.Initialize("")
Activity.AddView(pnlSplash, 0, 0, 100%x, 100%y)
pnlSplash.LoadLayout("frmSplash") 'load the layout to the panel
End Sub
Sub Button1_Click
pnlSplash.Visible = False
Activity.LoadLayout("frmHoofdMenu")
End Sub