HI, I use this code to divert the focus function but on some devices, but I have a crash !
Is there another solution?
Is there another solution?
B4X:
Try
If camera1.GetSupportedFocusModes.IndexOf("auto") > -1 Then
camera1.FocusAndTakePicture
Else
camera1.TakePicture
End If
Catch
Log(LastException)
End Try