This project has moved and is read-only. For the latest updates, please go here.

XZing.Net example for universal apps

Jan 9, 2015 at 7:25 PM
I am developing an universal app to read QR codes and I need to use, time ago I found an example but it was for windows phone silverlight projects. I've try to use it in WindowsPhone app but I cant beacuse "VideoBrush" is not supported in WindowsPhone Apps, my XAML is this:
    <Rectangle x:Name="_previewRect" 
               Tap="PreviewRect_Tap" Grid.Row="0" Grid.RowSpan="2">
            <VideoBrush x:Name="_previewVideo">
                    x:Name="_previewTransform" CenterX=".5" CenterY=".5" />
What should I do? does anyone have an example ???

Thanks a lot!!!!
Jan 11, 2015 at 3:03 AM
Check the Windows Phone Basic Camera Sample (BasicCameraWP7) for Visual Studio for how to use the VideoBrush within Windows Phone apps. What you need to do should be clear after reviewing the sample code and XAML layout, a relevant portion of which is included below:
    <Canvas x:Name="viewfinderCanvas" Width="781" HorizontalAlignment="Left" Grid.ColumnSpan="2" >

        <!--Camera viewfinder -->
            <VideoBrush x:Name="viewfinderBrush" />

Jan 11, 2015 at 4:17 PM
The problem is " VideoBrush " doesn't have support for universal apps for wp8.1, VS2013 update 4
it works great in Silverlight apps for wp
What I need to know is how to replace it in a WindowsPhone 8.1 app, what to use?

thanks for any other tip
Jan 14, 2015 at 8:45 PM