DISPLAYING CAMERA OUTPUT TO FULL SCREEN IN WINDOWS PHONE

Sometimes we might need to display the camera output as full screen on our windows phone but due to the difference between aspect ratio of the camera output and the phone screen, this poses as a slight challenge. The first problem is that the mapped camera output is rotated vertically. The second problem is the aspect ratio. Code The following code shows how to solve this: Xaml CSharp The code-behind is a watered down version of setting up a camera. (There are checks to see if camera is supported, etc.)  Explanation  Ensure the Canvas you are mapping the camera’s video…

Leave A Comment

Cart