I'm editing the Camera2 project https://www.b4x.com/android/forum/threads/camera2-still-images-and-videos.83920/ which is made up of 3 "elements" :
- Main
- B4XMainPage
- CamEx2.
I would need to launch the CaptureVideo sub (which is in B4XMainPage) from Main.
Precisely here :
I don't know B4XPages well yet so I can't get what I want.
Any help will be appreciated
- Main
- B4XMainPage
- CamEx2.
I would need to launch the CaptureVideo sub (which is in B4XMainPage) from Main.
Precisely here :
B4X:
Sub Activity_KeyPress (KeyCode As Int) As Boolean
If KeyCode=24 Then
Log ("CAPTURE VIDEO")
' ?????????????????????
End If
'Return B4XPages.Delegate.Activity_KeyPress(KeyCode)
End Sub
Any help will be appreciated