-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Windows Application Development Cookbook
By :
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.
To step through this recipe, you only need the automatically generated project.
To prepare an example that allows a user to take an image from the camera, using the built-in user interface, and save it as .jpg file, perform the following steps:
Package.appxmanifest file in the Solution Explorer window, choosing the Capabilities tab, and selecting the Webcam checkbox.