ganeshMalliga / tibar

Automatically exported from code.google.com/p/tibar
0 stars 0 forks source link

Turning on the LED flash #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is more of a feature request than an issue, but wasn't sure where else to 
put it.  Also, let me say, thank you so much for this project, very handy for 
an application of ours.  So, on with it:

If I'm doing a "ZBarReaderViewController" type implementation, 
"showsCameraControls" doesn't seem to have any affect.  So I can't turn on the 
flash from the standard UI interface.  And through Titanium, I can't trigger 
it.  For instance, Ti.Media.cameraFlashMode = Ti.Media.CAMERA_FLASH_ON; does 
nothing.  I've even tried to run it from a setTimeout so it gets called once 
TiBar.scan() is doing it's thing and the camera is on.

So my request is for some way to enable the flash so barcode scanning can be on 
in low light.  Thanks!

Original issue reported on code.google.com by robert.reinhard%bkwld.com@gtempaccount.com on 15 Sep 2010 at 12:15

GoogleCodeExporter commented 8 years ago

Original comment by lukasz.r...@gmail.com on 27 Jan 2011 at 3:47

GoogleCodeExporter commented 8 years ago
The zbar 1.1.1+ sdk's have flash mode control, however the 0.4.2 tibar uses 
zbar 1.1.0 which doesnt have the control ability.

Original comment by codewise...@gmail.com on 17 Mar 2012 at 9:27