title: PhotoCapture device does not show anything
body: <p>I use the following code to take the snap using the PhotoCaptureDevice option in Windows Phone 8.</p>
  
  <pre><code>if (PhotoCaptureDevice.AvailableSensorLocations.Contains(CameraSensorLocation.Back) ||
                  PhotoCaptureDevice.AvailableSensorLocations.Contains(CameraSensorLocation.Front))
              {
                  // Initialize the camera, when available.
                  if (PhotoCaptureDevice.AvailableSensorLocations.Contains(CameraSensorLocation.Back))
                  {
                      // Use the back camera.
                      System.Collections.Generic.IReadOnlyList&lt;Windows.Foundation.Size&gt; SupportedResolutions =
                          PhotoCaptureDevice.GetAvailableCaptureResolutions(CameraSensorLocation.Back);
                      Windows.Foundation.Size res = SupportedResolutions[0];
                      d = await PhotoCaptureDevice.OpenAsync(CameraSensorLocation.Back, res);
                  }
                  else
                  {
                      // Otherwise, use the front camera.
                      System.Collections.Generic.IReadOnlyList&lt;Windows.Foundation.Size&gt; SupportedResolutions =
                          PhotoCaptureDevice.GetAvailableCaptureResolutions(CameraSensorLocation.Front);
                      Windows.Foundation.Size res = SupportedResolutions[0];
                      d = await PhotoCaptureDevice.OpenAsync(CameraSensorLocation.Front, res);
                  }
  
                  await d.SetPreviewResolutionAsync(new Windows.Foundation.Size(640, 480));
                  await d.SetCaptureResolutionAsync(new Windows.Foundation.Size(640, 480));
  
                  d.SetProperty(KnownCameraGeneralProperties.EncodeWithOrientation,
                                d.SensorLocation == CameraSensorLocation.Back ?
                                d.SensorRotationInDegrees : -d.SensorRotationInDegrees);
  
                  _device = d;
              }
  </code></pre>
  
  <p>Finally i set this device to the Source of the Video brush. But i come from the dormant state when the application goes to this state by press and hold of back key, it shows the empty page and does not display any camera. Could you please anyone help me on this ?</p>