The error you get is in the native camera driver. Add a one second delay until you reenable the camera. It seems to fix this issue.
You can create these subs:
B4X:
Sub TakePicture
ProgressDialogShow2("Saving image...", False)
disableCameraTimer.Enabled = True
CamEx.TakePicture
End Sub
Sub DisableCameraTimer_Tick
disableCameraTimer.Enabled = False
ProgressDialogHide
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.