Hi,
I am not able to switch on flashlight when scanning the barcode.
Is it problem of my device or an function of automagic?
Barcode
Moderator: Martin
Re: Barcode
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
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
-
- Posts: 90
- Joined: 12 Feb 2016 03:23
Re: Barcode
Hi Martin,
I added sleep but then also it was not able to open barcode scanner.
I added sleep but then also it was not able to open barcode scanner.
Re: Barcode
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
Could you share the flow so I can try to reproduce?
Regards,
Martin
-
- Posts: 90
- Joined: 12 Feb 2016 03:23
Re: Barcode
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
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
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
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