brownemint / Ti-Android-CameraView

MIT License
23 stars 15 forks source link

Flash/Torch method #13

Open rjcpereira opened 8 years ago

rjcpereira commented 8 years ago

I can't find the switchFlashlight() method. Can you please add the method for enable/disable the Torch light?

brownemint commented 8 years ago

I'm not surprised. The switchFlashlight() method has never been implemented in this module. I will look at adding it in the future, but for the moment, if you are just looking to use a torch, may I suggest Ti.Light

rjcpereira commented 8 years ago

The thing is that I need to have a embed camera and the torch always on. http://stackoverflow.com/questions/36896617/led-camera-always-on/37027649, When I use Ti.Light simultaneously with your module, the Ti.Light crashes the app saying that there are no camera permissions