CameraCaptureUI Sample

This sample demonstrates how to use the Windows.Media.Capture.CameraCaptureUI API, which displays a full-screen UI for capturing photos or videos. The Camera Capture UI provides controls for switching from photo to video, a timer for taking time-dela...

72,146 times
Add to favorites
E-mail Twitter Digg Facebook
Sign in to ask a question

  • How do I capture a camera image in a Forms Application?
    1 Posts | Last post January 13, 2016
    • Are forms applications still supported?  In 3 months of trying to find solutions, I have not found anything for working with the generic USB camera imbedded in my tablet with a VB.Net forms application.  I don't plan on retooling and rewriting to XAML.
  • Is this supposed to still work with the current tools?
    2 Posts | Last post November 30, 2015
    • I am trying to run this in VS2015 on Win10, and the sample code is not able to capture either a photo or a video.
      The Win10 Camera application seems to open, then immediately close and the output of the sample program shows "No photo captured."
      I am trying different methods for a photo capture in and have not found a reliable solution.
    • I found the issue that would not let the code run.  (It's an embarrassing DEU {Duhm End User} issue. The code defaulted to an ARM target)
      Is there anyway to get the camera capture functionality in a forms application, or does this method only work in xaml?
  • How to make it work with Access-2013?
    1 Posts | Last post August 20, 2015
    • Is it possible to get this to run in MS Access? As 
      it is not finding the CameraCaptureUI class. Maybe a references issue?
  • where is the mvvm?
    1 Posts | Last post April 02, 2014
    • I understand is sample application for the mere purpose of showing how to handle taking pictures/videos but mvvm is such a crucial part of your whole push for WPF why in the world wouldnt you have sample code exclusively on mvvm? things like getting the ui thread even changed with 8.1 apps. If your sample code is crap most of your apps/submited apps will have terrible code. 
  • Security issue
    1 Posts | Last post January 09, 2014
    • When I run this sample from VS13 and try to capture video I get a message saying "This app needs permission to use your camera. You can change this in app settings". 
      How do I fix this?
      Thank you!
  • How can I do Multishot
    1 Posts | Last post November 29, 2012
    • How to get multishots with varying exposures?
      I want to implement HDR kind of functionality.
  • saving pictures from custom application using capture API
    1 Posts | Last post November 18, 2012
    • Is it possible to save pictures to camera roll from my own custom camera application which uses capture APIs ?
  • How to Customize the Camera Capture View?
    2 Posts | Last post April 24, 2012
    • is it possible to customize the camera capture screen. I want to add my own graphics in Camera Mode. and want to customize the camera Options...????????
    • The CameraCaptureUI API does not provide any customization for the capture screen. If you would like to add your own graphics, you will have to build your own UI and use media capture API's for the capture (
      For camera options customization, you can take a look at the Metro Style device app for camera sample (