kinect drums

Whilst exploring the possibilities opened by the Kinect device I made a demo using the OpenNI framework http://www.openni.org/ with PrimeSense NITE components.   Kinect Drums As you can see from the video it allows tracking of multiple ‘players’. I started…

Read More

OpenNI + Kinect (getting set up on Windows)

    I have recently been hacking around with a kinect camera + OpenNI + PrimeSense NITE components and initially it was quite challenging to get the software bits and pieces installed correctly. I got it working but then needed…

Read More

WP7 UserControls

by Peter Daukintis Since silverlight 2 we have had the concept of the UserControl which provides a simple way to compose a re-usable part of our user interface. This allows multiple uses of the same ui across an application which…

Read More

Simple textbox validation wp7

Since wp7 is based on Silverlight 3 then input validation can be done (love or loathe it) via exceptions. Here’s a simple example… <Grid x:Name="ContentPanel" Grid.Row="1"> <Border x:Name="errorBorder" Background="Red" Opacity="0"></Border> <TextBox Margin="8" Text="{Binding MyText, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnExceptions=True}" BindingValidationError="ContentPanel_BindingValidationError"> <TextBox.InputScope> <InputScope>…

Read More

MS translator api text to speech WP7

I’ve been messing around around with the ms translator api (http://msdn.microsoft.com/en-us/library/ff512435.aspx) and thought I’d post my sample code. http://cid-4f1b7368284539e5.office.live.com/self.aspx/.Public/Wp7%20Speech%20To%20Text/TextToSpeech.zip A quick app that speaks with a localized French accent.

databinding BingMaps Control Wp7 MVVM

Ok, so a similar treatment for the Bing Maps control as for previous posts on the Pivot and Panorama controls. So starting out with a standard Windows Phone Application project… Straight into the xaml: <Maps:Map x:Name="map" Grid.Row="1"> <Maps:MapItemsControl ItemsSource="{Binding PushPins}">…

Read More

WCF Rest Service – WP7 Client

Here is a working project with an extremely simple WCF rest service and a Windows Phone 7 client application using WebClient.   WebHttpBinding Service + WP7 Client

Data Binding Panorama Control WP7 MVVM

by Peter Daukintis Ok, this is just a quick follow-up to a previous post Data Binding Pivot Control just as confirmation that this approach will work for the WP7 Panorama Control as well. Starting with the project from the previous…

Read More

WP7 looping selector

by Peter Daukintis After release of the RTM software tools for WP7 I was pleased to see the looping controls manifested as DatePicker and TimePicker since I was considering creating similar…These are built on top of the LoopingSelector control which…

Read More

Data Binding Pivot Control WP7 MVVM

by Peter Daukintis Ok, having had access to the official WP7 Pivot control in the RTM Tools for Windows Phone 7 for a few days I thought it was time to explore and particularly in it’s data binding capabilities. I…

Read More