- VERSION 5.03.20

- Se agregó que ponga el segmento en cliente al "appear", porque antes etsaba solo en el "create".
- Se puso un try/catch en "Foto" en "SetPictureSize" porque a veces mabdaba error al voltearvel celular.
This commit is contained in:
2025-03-24 10:08:53 -06:00
parent f44c7ed35e
commit 48c0a9294c
8 changed files with 63 additions and 49 deletions

View File

@@ -168,7 +168,12 @@ Sub btnTakePicture_Click
Dim ps As CameraSize
ps.Width =640'480 '1280
ps.Height =480'360 '960
camEx.SetPictureSize(ps.Width, ps.Height)
camEx.CommitParameters
camEx.TakePicture
Try
camEx.SetPictureSize(ps.Width, ps.Height)
camEx.CommitParameters
camEx.TakePicture
Catch
camEx.Release
B4XPages.ShowPage("CheckList")
End Try
End Sub