Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Cross-Platform-Entwicklung (https://www.delphipraxis.net/91-cross-platform-entwicklung/)
-   -   Delphi Android - BarCode error (https://www.delphipraxis.net/189254-android-barcode-error.html)

danten 23. Mai 2016 09:45

Android - BarCode error
 
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.


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:51 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz