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

Taking an image from a camera

A lot of people use smartphones to take high-quality photos. Of course, they can be taken not only using a built-in application, but also with additional ones. In this recipe, you will learn how to add such a feature to your application.

As an example, you will prepare a page with a Take a picture! button. After clicking on it, the process of taking a photo from a camera will be started, using the built-in user interface. When a photo is taken, it will be saved to the Album directory and presented on the page.

Getting ready

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

How to do it...

To prepare an example that allows a user to take an image from the camera, using the built-in user interface, ...

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