O'Reilly logo

Windows Application Development Cookbook by Marcin Jamro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Recording a movie from a camera

Similarly to taking a photo from a camera, it is possible to record a movie and save it on a device. Due to the availability of the CameraCaptureUI class, the same as was used in the previous recipe, you can add the movie recording feature to your application in a really easy way. You will learn how to do it while reading this recipe.

As an example, you will create a page with the Record a movie! button. After clicking on it, the process of recording a movie will be started. When the movie is ready, it will be saved to the Movies directory and played on the page using the MediaElement control.

Getting ready

To step through this recipe, you only need the automatically generated project.

How to do it...

To prepare an example ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required