Barcode

Post your questions and help other users.

Moderator: Martin

Post Reply
Ankit Bindal
Posts: 90
Joined: 12 Feb 2016 03:23

Barcode

Post by Ankit Bindal » 29 Dec 2016 14:33

Hi,
I am not able to switch on flashlight when scanning the barcode.
Is it problem of my device or an function of automagic?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Barcode

Post by Martin » 30 Dec 2016 20:36

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

Ankit Bindal
Posts: 90
Joined: 12 Feb 2016 03:23

Re: Barcode

Post by Ankit Bindal » 31 Dec 2016 02:49

Hi Martin,
I added sleep but then also it was not able to open barcode scanner.

Ankit Bindal
Posts: 90
Joined: 12 Feb 2016 03:23

Re: Barcode

Post by Ankit Bindal » 17 Jan 2017 07:42

??

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Barcode

Post by Martin » 17 Jan 2017 19:52

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

Ankit Bindal
Posts: 90
Joined: 12 Feb 2016 03:23

Re: Barcode

Post by Ankit Bindal » 18 Jan 2017 07:29

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

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Barcode

Post by Martin » 20 Jan 2017 20:32

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

Ankit Bindal
Posts: 90
Joined: 12 Feb 2016 03:23

Re: Barcode

Post by Ankit Bindal » 21 Jan 2017 09:53

Thanks Martin for your help....

Post Reply