yuriy-budiyev / code-scanner

Code scanner library for Android, based on ZXing
MIT License
1.09k stars 266 forks source link

How to enable and disable flash light with flash icon? #181

Open eWardsSourav opened 1 year ago

eWardsSourav commented 1 year ago

I am trying to control flash light with its inbuild function{ codeScanner.setFlashEnabled(true); and codeScanner.setFlashEnabled(false);} but its not working . please help me . Can any one tell me how to access that flash icon and set onclicklistner .

trotterellone commented 1 year ago

Hello, same problem. Did you solve?

Sandeepomanakuttan commented 1 year ago

Android 33 can't turn of and turn on flash light how it fix

trotterellone commented 1 year ago

Ok so? Is it impossible or what?

bahadirerdemm commented 1 year ago

@Sandeepomanakuttan , @eWardsSourav, @trotterellone did you find a solution?

trotterellone commented 1 year ago

@Sandeepomanakuttan , @eWardsSourav, @trotterellone did you find a solution?

I changed library

PhaserEditor2D commented 1 year ago

@trotterellone to what library?

trotterellone commented 1 year ago

https://github.com/journeyapps/zxing-android-embedded/tree/master/zxing-android-embedded/src/com/journeyapps/barcodescanner

Il giorno gio 8 giu 2023 alle ore 16:06 Phaser Editor 2D < @.***> ha scritto:

@trotterellone https://github.com/trotterellone to what library?

— Reply to this email directly, view it on GitHub https://github.com/yuriy-budiyev/code-scanner/issues/181#issuecomment-1582641356, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4KRFP6BRT7765ZYWFEUSLXKHL63ANCNFSM6AAAAAAVOJ6OH4 . You are receiving this because you were mentioned.Message ID: @.***>