Page 1 of 1

Barcode

Posted: 29 Dec 2016 14:33
by Ankit Bindal
Hi,
I am not able to switch on flashlight when scanning the barcode.
Is it problem of my device or an function of automagic?

Re: Barcode

Posted: 30 Dec 2016 20:36
by Martin
Hi,

Scanning the barcode uses the camera and the flash is also a component of the camera so the device might not be able to switch between the two functions fast enough. Adding a sleep of a second or two between the barcode scanning and the flashlight action might help.

Regards,
Martin

Re: Barcode

Posted: 31 Dec 2016 02:49
by Ankit Bindal
Hi Martin,
I added sleep but then also it was not able to open barcode scanner.

Re: Barcode

Posted: 17 Jan 2017 07:42
by Ankit Bindal
??

Re: Barcode

Posted: 17 Jan 2017 19:52
by Martin
When you say 'not able to open barcode scanner' does the action Scan Barcode fail with an error or are you using an external barcode scanner?
Could you share the flow so I can try to reproduce?

Regards,
Martin

Re: Barcode

Posted: 18 Jan 2017 07:29
by Ankit Bindal
Hi,
I am using the barcode scanner of automagic itself.
After turning on the flashlight , it is not able to launch barcode scanner.
http://automagic4android.com/flow.php?i ... d3e81f7bd0

Re: Barcode

Posted: 20 Jan 2017 20:32
by Martin
Hi,

You can not use the Flashlight and the barcode scanner at the same time. The flashlight action already occupies the camera so the barcode scanner will not work or will turn off the flashlight (probably depends on Android version).
I could add some options to the barcode scanner action to define whether the scanner should use the flashlight or not.

Regards,
Martin

Re: Barcode

Posted: 21 Jan 2017 09:53
by Ankit Bindal
Thanks Martin for your help....