Android Question .

Erel

B4X founder
Staff member
Licensed User
Longtime User
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
 
Upvote 0
Top