Forum: Cross-Platform-Entwicklung
Delphi
by danten,
6. Mär 2018
Ok, I got it solved.
procedure TFormMain.ButtonTakePictureClick(Sender: TObject);
begin
ACamera.FocusMode := foAuto;
ACamera.AutoFocus; // call onAutoFocus
end;
Forum: Cross-Platform-Entwicklung
Delphi
by danten,
6. Mär 2018
Thank you,
please write your code.
I use object photography, I do not use QRcode scanning.
I use:
procedure TFormMain.ButtonTakePictureClick(Sender: TObject);
begin
ACamera.FocusMode := foAuto;
ACamera.TakePicture;
end;
Forum: Cross-Platform-Entwicklung
Delphi
by danten,
6. Mär 2018
Hello,
are you using an Android Camera component from Winsoft?
I need to advise how to use AutoFocus mode when shooting.
When I click the button to automatically focus the camera on the media and focus it, it saves the photo in the ACamera.TakePicture procedure.
It will surely be set in onAutoFocusMove.
Thanks for the help.