locked
Camera overlay in Windows RT Xaml C#

    Question

  • Hi,

    I'm pretty new to Windows Store App development. Working on my first app and i need to show the camera feed and capture a photo inside of my page. But the below code seems to open the camera on a new page.

    CameraCaptureUI dialog = new CameraCaptureUI();
    Size aspectRatio = new Size(16, 9);
    dialog.PhotoSettings.CroppedAspectRatio = aspectRatio;
    
    StorageFile file = await dialog.CaptureFileAsync(CameraCaptureUIMode.PhotoOrVideo);

    is there any way where i can open the camera on the same page itself? Like inside of a <Frame> tag?

    Also i want to display a transparent PNG image & some UI controls on top of the Camera feed. How can i do this?


    Monday, April 7, 2014 6:46 AM

Answers

All replies