B4X:
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("splash")
timer1.Initialize("timer1", 5000)
timer1.Enabled = True
myimage.Initialize(File.DirAssets, "DSCF2955.jpeg")...