Spelt / ZXing.Delphi

ZXing Barcode Scanning object Pascal Library for Delphi VCL and Delphi Firemonkey
Apache License 2.0
471 stars 206 forks source link

Issue on reacquiring camera access in Android #85

Closed keelea closed 5 years ago

keelea commented 5 years ago

This issue looks to be present only in the advancedTestApp. When the user minimizes the app thereby invoking StopCapture in the EnteredBackground event, there seems to be a 1 minute window where the camera can be started again after bringing the app out of the background and back into focus. After 1 minute it throws an exception:

java.lang.RuntimeException: getParameters failed (empty parameters)

iwan-c-sugeng commented 5 years ago

I've just read your problem, see my comment, it has the same problem and i found the solution

Spelt commented 5 years ago

Thanx guys!

I’ll try to update it this weekend.

Op 13 aug. 2019 om 16:44 heeft dmx78 notifications@github.com het volgende geschreven:

I've just read your problem, see my comment, it has the same problem and i found the solution

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.