This project is read-only.

WP8 Camera Lens app problem

Dec 11, 2013 at 4:35 PM

I'm using GART in a app that already has a video bush on the page and has already loaded the camera.

I only want the WorldView element from GART on the page, but when I run a ARDisplay.StartService() I get an aggregate exception error, basically saying the camera is already in use.

Even though I don't define the GART video brush in XAML, it's seams it is trying to create one.

What should I do??
Dec 13, 2013 at 3:15 AM
You have two choices.

1) Set ARDisplay.CameraEnabled to False. This will cause GART to not try to use the camera at all when starting and stopping services.

2) Let GART manage of the camera and use the ARDisplay.PhotoCamera property to get access to it and use it on your screen.