Capture Photo, Record Video in Windows Phone Application

This article shows how to capture photos, access the camera preview buffer, and recording video through front and back cameras, the camera APIs and the associated manifest capabilities.

http://msdn.microsoft.com/en-us/magazine/hh708750.aspx