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

Error Tips #83

Closed 372235 closed 5 years ago

372235 commented 5 years ago

No good reproduction case provided.

Originally posted by @Spelt in https://github.com/Spelt/ZXing.Delphi/issues/79#issuecomment-466779958

When I turn on the camera and return to ZXingAPP, There was a mistake.Android device version6.01,the mistake only in AdvancedTestApp,other test is OK. like This: https://github.com/372235/error/blob/master/webwxgetmsgimg.jpg?raw=true Error Tips: Java.langRuntimeException: getParameters failed(empty parameters)

entratel commented 5 years ago

I've the same trouble on an android 7 device, using delphi Rio 10.3.1, with the FMXTestApp. When the start camera button is pushed the enclosed error is issued. IMG_20190406_120435 Launching the FMXAdvancedTestApp doesn't start. I see only the splashscreen.

Spelt commented 5 years ago

Probably the new Android security feature.

Does the camera demo from Embarcadero work?

Op 6 apr. 2019 om 12:09 heeft entratel notifications@github.com het volgende geschreven:

I've the same trouble on an android 7 device, using delphi Rio 10.3.1, using the FMXTestApp. When the start camera button is pushed the enclosed error is issued.

Launching the FMXAdvancedTestApp doesn't start. I see only the splashscreen.

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

entratel commented 5 years ago

Permissions have been setted. Yes the camera demo from Embarcadero is working.

372235 commented 5 years ago

when camera not close it will be happened, when camera change (front to back)or(back to front) is working.the Error vanished. It seems that the thread has not ended.

entratel commented 5 years ago

I've tested further on other devices with different android versions. On Android 5 and 9 it's running well, the error is issued on android 7 on a device with a low resolution camera.

Spelt commented 5 years ago

Too vague.