Addo Well-Known Member Licensed User Longtime User Apr 17, 2018 #1 i am trying to create a live cam app using cameraEX i do Initialize the cam like following B4X: camera1.Initialize(campanel, frontCamera, Me, "camera") and i have tried to get the real time camimage at this event B4X: Sub camera_Preview(Prev() As Byte) Log(Prev.Length) End Sub but seems this event does not fire at all how to get the current camera data in real time ?
i am trying to create a live cam app using cameraEX i do Initialize the cam like following B4X: camera1.Initialize(campanel, frontCamera, Me, "camera") and i have tried to get the real time camimage at this event B4X: Sub camera_Preview(Prev() As Byte) Log(Prev.Length) End Sub but seems this event does not fire at all how to get the current camera data in real time ?
Erel B4X founder Staff member Licensed User Longtime User Apr 17, 2018 #2 The preview event is disabled by default. Search for Camera_Preview in CameraEx class and uncomment the sub. You should then add a sub named Camera1_Preview (Data() As Byte) to the main activity. Upvote 0
The preview event is disabled by default. Search for Camera_Preview in CameraEx class and uncomment the sub. You should then add a sub named Camera1_Preview (Data() As Byte) to the main activity.