Metro Nuggets

Bitesized tidbits for building Modern (Metro) apps.

Tag Archives: PhotoCamera

How and When To Set the FlashMode

For an app I’m writing at the moment, I needed to use the camera within the app, but I needed it to be able to focus without the flash turning on every time. I was using the PhotoCamera object within my app and I figured I could just set the FlashMode to be FlashMode.Off. The problem came when my View loaded up, it would throw an exception, every, single, time. Which was starting to get a bit annoying, so what to do?

Read more of this post