How to Capture Photo in Windows Phone Store App ?

Below is a sample code snippet demonstrating how to capture photo in Windows Phone Store App programmatically using C#.

How to Capture Photo in Windows Phone Store App ?

Windows.Media.Capture.MediaCapture  medCap = new Windows.Media.Capture.MediaCapture();
await medCap.InitializeAsync(); 

Also note that you need to add the camera capabilities in the manifest file for the photo capture to work.

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Leave a Reply


x

Interesting BlogPosts to read

Download - Pokemon Go for for Windows 10 (Third Party app)
Pokemon Go is one of the popular AR games for android and iOS devices and now , the game is made ava...
Open Wordpad from command line in Windows
You can use the command "Write" from command line in Windows to open the WordPad application.D:\>...
Popular cross-platform (android and iOS) to-do list app
In this blog post, we will cover some of the popular to-do list app that is available on different p...