|
-
Jan 30th, 2012, 11:36 AM
#1
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!
-
Jan 31st, 2012, 08:30 AM
#2
Fanatic Member
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.
Last edited by TDQWERTY; Jan 31st, 2012 at 09:17 AM.
-
Jan 31st, 2012, 10:27 AM
#3
Frenzied Member
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
-
Jan 31st, 2012, 10:30 AM
#4
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!
-
Jan 31st, 2012, 10:32 AM
#5
Re: Controlling Camera Flash in WP 7.5
 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!
-
Feb 1st, 2012, 03:00 AM
#6
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
-
Feb 1st, 2012, 04:19 PM
#7
Fanatic Member
Re: Controlling Camera Flash in WP 7.5
As you mentioned Windows Phone, here's something to play with.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|