XZing.Net example for universal apps

Jan 9, 2015 at 7:25 PM
Hi
I am developing an universal app to read QR codes and I need to use xzing.net, 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" 
               Margin="-56,-131,-64,131" 
               Height="800" 
               Width="600" 
               HorizontalAlignment="Center" 
               VerticalAlignment="Center"
               Tap="PreviewRect_Tap" Grid.Row="0" Grid.RowSpan="2">
        <Rectangle.Fill>
            <VideoBrush x:Name="_previewVideo">
                <VideoBrush.RelativeTransform>
                    <CompositeTransform  
                    x:Name="_previewTransform" CenterX=".5" CenterY=".5" />
                </VideoBrush.RelativeTransform>
            </VideoBrush>
        </Rectangle.Fill>
    </Rectangle>
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 -->
        <Canvas.Background>
            <VideoBrush x:Name="viewfinderBrush" />
        </Canvas.Background>

    </Canvas>
Jan 11, 2015 at 4:17 PM
Hi
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
Coordinator
Jan 14, 2015 at 8:45 PM