Welcome to the Windows Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 1 of 1
  1. eltodesc's Avatar
    Member

    Posts
    1 Posts
       #1  
    I need the ability to retain the PhotoCamera initialization state throughout the life of my application. I am attempting to do this within a static class. Within this class, I create a public static instance of the PhotoCamera object as well as a public static instance of a VideoBrush and set the brush's source as the camera. This all happens within my static constructor (so only once). Now, when I navigate to my camera preview page (that contains a canvas object to display the real-time video stream) I set the canvas's background to the static instance of my VideoBrush. This works the very first time I navigate to my camera preview page but does no longer displays video on any subsequent visits. The camera appears to still be working (as I can save off frames) but the video stream never gets shown within my canvas. My goal is to avoid the multi-second initialization delay each time the camera get initialized whenever I navigate to my camera preview page. How can I accomplish this????? Thanks for your help.

Similar Threads

  1. MS sucks at keeping track of installed/bought apps
    By kalldrexx in forum Windows Phone 7
    Replies: 14
    Last Post: 04-25-2011, 10:06 PM
  2. Sombody convince me to keep my Surround!
    By KrGow in forum HTC Surround
    Replies: 6
    Last Post: 02-21-2011, 12:05 AM
  3. Keep Hitting Samsung Focus Power Button
    By DotNetRob in forum Samsung Focus
    Replies: 0
    Last Post: 12-15-2010, 08:38 AM

Posting Permissions