Barcode Scanner Flashlight

Hi,

is there a way that when you open the barcode scanner, the flashlight turns on automatically?

I already know the option with the volume buttons.

Thanks in advance!

When barcode scanner open(or clicked) just set flashlight to on.

Set flashlight off, in the when barcode after scan block

1 Like

Yes use this extension by one and only @Taifun
https://puravidaapps.com/flashlight.php

Here is blocks :-

Thank you but this does’t work.

When I copy your blocks exactly, the scanner opens and the flashlight activates but it doesn’t last a second until it automatically deactivates again.

How you got camera permission :point_down:t2: This Like ?
android.permission.CAMERA

1 Like

I have already tried with the code. Unfortunately it does not work either.

According to the settings, the app has the camera permission.

1 Like

Yes cause after scan flashlight is set to off. If you do not want flashlight to turn off at that point try to delete that block.Flashlight should be stay on

image

Even without the block it happens…

Sorry…

You cannot use blocks it seems for flashlight to ON .

3 Likes

Okay, not ideal. Thanks anyway.

1 Like

Nothing clicked by mistake and posted here

1 Like

@AlexAT have you tried this extension instead ?!

image

he can use scanner given in the aix

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.