I want to take a picture when the PanelCamera is visible. But I can not initialize camera. When I press on the BtnCamera, program crashes. How can I sole this problem? My codes are given below;
Code:
Sub BtnCamera_Click
PanelMain.Visible = False
PanelCamera.Visible = True
btnTakePicture.Enabled = False
camera.Initialize(PanelCamera, "Camera")
End Sub
Sub Camera_Ready (Success As Boolean)
If Success Then
camera.StartPreview
btnTakePicture.Enabled = True...
from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2819yO6
via IFTTT
Aucun commentaire:
Enregistrer un commentaire