PhotoFunVersion: 1.0.0 DescriptionThis hands-on-lab walks you through the new camera APIs in the Windows Phone "Mango" release. You will learn how to capture and preview the live camera stream, integrate with the hardware buttons, and even how to apply effects to the live stream. OverviewPer the common chassis specification required by Microsoft, all Windows Phone devices must have a 5 MegaPixel camera (or better). In the Windows Phone 7.0 release, the only way for an application to interact programmatically with the camera was to use the CameraCaptureTask chooser. An application could use this chooser to take a snapshot with the built-in camera application The new Windows Phone Codenamed “Mango” release allows for much better integration with the camera. There is a new Microsoft.Devices.PhotoCamera class that provides fine-grained control of the camera and enables your application to get direct access to the camera’s controls and the raw frames. This lab shows how easy it is to leverage the PhotoCamera API to capture the live camera feed and manipulate it while still providing a preview to the user. The lab also shows how to access some of the other camera controls, including the camera button. ObjectivesThis lab will show you how to:
PrerequisitesThe following prerequisites will help you gain the most from this hands-on lab:
Lab StructureThis lab includes a single exercise with the following tasks:
Estimated completion timeCompleting this lab should take between 15 to 30 minutes. |