Turn on just the flash

adrianstanescu85

Active Member
Licensed User
Longtime User
Hello

I tried turning on the flash so that when scanning a barcode with b4aXZing at night the code would be visible. I tried using advanced camera but that requires turning on the camera inside a panel too.

What's the solution for turning on/off just the flash?

Thank you!
 

adrianstanescu85

Active Member
Licensed User
Longtime User
I'd rather not add views just to hide them, I was asking if there is a method to act just on the flash itself. If someone knows how to do this please share... Thank you!
 
Upvote 0

susu

Well-Known Member
Licensed User
Longtime User
I tried to combine CameraEx with Zxing scanner library but it failed because the camera was occupied by CameraEx. Anybody have a solution?
 
Upvote 0

jesustarre

Member
Licensed User
Longtime User
I've a Flashlight app and I hide de camera panel with a perfect user experience. This procedure is totally transparent for the user.
 
Last edited:
Upvote 0

adrianstanescu85

Active Member
Licensed User
Longtime User
I tried to combine CameraEx with Zxing scanner library but it failed because the camera was occupied by CameraEx. Anybody have a solution?

This is exactly why I was asking about turning on just the flash! Having another panel with the camera content on would not work when the Zxing scanner is already working since the camera is already on. This would be the requirement.
 
Upvote 0
Top