You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
procedure TmdCamera.jButton1Click(Sender: TObject);
begin
jCustomCamera1.TakePicture();
end;
Seems it keep trying to check if the photo focused or not before taking a photo. When I move the phone to different direction, camera will refocus and I can capture the picture. But, if it think the camera is not focused, it won't capture the picture, I keep pressing the button and nothing happens.
I tried jCustomCamera1.AutoFocusOnShot := True;, still the same. Can I force it to take the picture no matter what even it's not focused?
Also, it will make app crashed if I keep the app running and phone got idle for a long time. If I show again the jForm from long idle time that contains jCustomCamera, it will crashed. Also, if I locking the screen while keep opening the jForm that contain jCustomCamera, it will crashed again after I unlocked the phone.
Tested on:
Xiaomi Note 7
Sony Xperia XZ1
Sony Xperia XZ2 Compact
WhatsApp.Video.2022-12-31.at.16.15.04.1.mp4
The text was updated successfully, but these errors were encountered:
Code:
Seems it keep trying to check if the photo focused or not before taking a photo. When I move the phone to different direction, camera will refocus and I can capture the picture. But, if it think the camera is not focused, it won't capture the picture, I keep pressing the button and nothing happens.
I tried
jCustomCamera1.AutoFocusOnShot := True;
, still the same. Can I force it to take the picture no matter what even it's not focused?Also, it will make app crashed if I keep the app running and phone got idle for a long time. If I show again the jForm from long idle time that contains jCustomCamera, it will crashed. Also, if I locking the screen while keep opening the jForm that contain jCustomCamera, it will crashed again after I unlocked the phone.
Tested on:
WhatsApp.Video.2022-12-31.at.16.15.04.1.mp4
The text was updated successfully, but these errors were encountered: