Possible Duplicate:
Turning on camera flash LED in Android?
I need to turn on the flash LED in my app, and cannot find any simple methods. How would I go abouts doing this? I just need a sample code to turn on the LED. I do not want it to toggle.
Possible Duplicate:
Turning on camera flash LED in Android?
I need to turn on the flash LED in my app, and cannot find any simple methods. How would I go abouts doing this? I just need a sample code to turn on the LED. I do not want it to toggle.
The Camera parameters can be set to "Torch Mode", but as you probably know it might not work on all devices/OS versions.
Hope this question helps: Camera.Parameters.FLASH_MODE_TORCH replacement for Android 2.1