Controlling Camera Flash in WP 7.5
Does anyone know how to control the camera's flash in Windows Phone 7.5?
I understand the use of FlashMode to confirm flash is turned on so that it can be used, but I want to be able to control turning the flash on and turning it off, not just setting it to be used when a picture is captured.
Is there a "turn flash on now" method?
Brad!
Re: Controlling Camera Flash in WP 7.5
Just could find this and this
Edit: check this link here, you might have the solution..sorry, couldn't test it.
Re: Controlling Camera Flash in WP 7.5
Hi,
people have done it in flashlight applications, but I think they do it by constantly turning the camera on and off, although looking at Zune for flashlight apps, that appears to be cured
Re: Controlling Camera Flash in WP 7.5
I hadn't seen those solutions, but then I was looking for Windows Phone code rather than Windows Mobile code. I'll have to play with the code at the links you gave and see if it can be applied within WP.
Brad!
Re: Controlling Camera Flash in WP 7.5
Quote:
Originally Posted by
petevick
Hi,
people have done it in flashlight applications, but I think they do it by constantly turning the camera on and off, although looking at Zune for flashlight apps, that appears to be cured
Part of what I want to do is mimic a flashlight app. It seemed like something that should have been very easy to do. It likely is, but I've not seen code to do it. I debated doing the camera on and off, but that seemed like a goofy work around. It really seems like it should be simple to turn on and off the LED.... :)
Thanks,
Brad!
Re: Controlling Camera Flash in WP 7.5
Hello,
As far as I was aware, hardware vendors have access to this. i.e. the HTC Flashlight application can control the LED directly, but other non vendor applications need to rely on the old make the screen white trick to make a flashlight.
Gary
Re: Controlling Camera Flash in WP 7.5
As you mentioned Windows Phone, here's something to play with.