Thema: Delphi Android - BarCode error

Einzelnen Beitrag anzeigen

danten

Registriert seit: 19. Feb 2012
Ort: Czech Republic, Prag
126 Beiträge
 
Delphi 10.1 Berlin Architect
 
#1

Android - BarCode error

  Alt 23. Mai 2016, 09:45
Delphi XE10 - Seattle
Hi, I'm trying to run the BarCode Reader according to the DEMO code and setting up auto focus.
Returns me an error:
java.lang.RuntimeException: setParameters failed

It happens after you add the code:
CameraComponent1.FocusMode := FMX.Media.TFocusMode.ContinuousAutoFocus;

https://github.com/Spelt/ZXing.Delph...ster/README.md
Zitat:
In Delphi 10 Seattle it is necessary to setting the Focusmode to TFocusMode.ContinuousAutoFocus. Perhaps its necessary in earlier versions too.
Thank you for your help.
Daniel

Geändert von danten (23. Mai 2016 um 09:49 Uhr)
  Mit Zitat antworten Zitat