Three new Microsoft Surface Code Samples - Microsoft PixelSense Blog - Site Home - MSDN Blogs

Three new Microsoft Surface Code Samples

  • Comments 5

Three full application samples have been available at code.msdn.microsoft.com for about 3 months now.
Posting this so that everyone knows of these invaluable resources.

Luis Cabrera
Platform Program Manager
Microsoft Surface

Microsoft® Surface® Live Stream Code Sample

Live Stream enables businesses to engage their customers face-to-face using the most recent and relevant Twitter™, Flickr®, and RSS newsfeeds. Community generated photos, tweets, and stories float across the Microsoft Surface display so that several people can touch and share interesting content with one another. People can flip the content over to generate a Microsoft Tag, and then use their phones to scan it and go straight to the source in their mobile web browser. From there they can further explore the content or jump into the conversation.

Surface administrators can quickly reveal a hidden status panel by placing down a tag on the screen. At a glance, the panel indicates service connectivity, adjusts flow speed and direction, controls the volume, and provides a very quick way to remove inappropriate content and accounts – all without having to leave the application or interrupt the experience.

This code sample is highly customizable and extensible. In minutes an administrator can quickly re-skin the interface and branding elements making it ready for deployment at any business or enterprise. With a little more time, Twitter, Flickr, and newsfeed integration can be expanded to other services or pointed directly at a new feed by extending it with custom code. Additionally, developers can use the code in any number of completely new or existing Surface applications.

Live Stream demonstrates an elegant, simplified, interface designed for touch from the ground up, and based on the Metro design language. It is a great reference for those interested in advanced touch application design.

 Download the Live Stream Code Sample –  http://code.msdn.microsoft.com/Surface-Live-Stream-Code-1b896177

Microsoft® Surface® Financial Services Code Sample

The Microsoft® Surface® Financial Services Sample Application shows retail bankers and customers working together exploring service options and wise monetary investments. Brochures and other objects interact with the screen to reveal customizable graphs, videos, and information specifically related to individual needs.

The release of the Microsoft Surface Financial Services Code Sample, based on the aforementioned sample application, helps developers build upon and customize these experiences. Developers can now use the code to finish their own banking application or use it to springboard completely new application experiences.

The code sample demonstrates how 360° multiuser interaction and object recognition, like tags and blob size, enhances peoples’ enjoyment and understanding of products and services. Developers creating retail, hospitality, entertainment, and education experiences may find this code sample especially useful. Assets for creating tokens and mailers used with the code sample are also provided.

Note: The code sample defaults to British pounds (GBP) and can be set to USD via configuration file.

Video of the Financial Services Code Sample can be viewed here: http://www.youtube.com/watch?v=tz6LlSShH2Y

Download the Financial Services Code Sample – http://code.msdn.microsoft.com/Surface-Financial-Code-12ab2499

Microsoft® Surface® Bluetooth Connect Code Sample 

This code sample can help to develop Microsoft® Surface® applications that can send content to Bluetooth equipped mobile devices that utilize the Object Exchange Protocol (OBEX) – without the need for a client-side application.

The sample demonstrates sharing pictures, contacts and ringtones to a Bluetooth enabled mobile phone; but the possibilities are endless. Use this sample to enhance assisted sales, gaming, education, and communication scenarios.

This code sample is designed for use with the Microsoft Surface 1.0 SP1 SDK and makes use of the .NET Bluetooth library binary file available from http://32feet.net/default.aspx – it is provided "as-is" and is not supported.

Video of a project based on the code sample is available here: http://www.youtube.com/watch?v=-gW7j32tqYA

 Download the Bluetooth Connect Code Sample –  http://code.msdn.microsoft.com/Surface-Bluetooth-Connect-570fa881

 

  • The links each go to code.msdn.com. They need to go to code.msdn.microsoft.com.

  • code.msdn.com redirects people to the right page in code.msdn.microsoft.com. :)

    Thanks!

    -Luis

  • code.msdn.com redirects people to the right page in code.msdn.microsoft.com. :)

    Thanks!

    -Luis

  • Hi all,

    I opened the Microsoft® Surface® Financial Services Code Sample project on (microsoft visual studio 2010 /microsoft surface2.0) but I am getting several missing references. I have managed to fix some errors but a lot of them remain. Could you please provide some insight? Are there some other libraries we need to download to make this work?

    The errors are as follows...............

    1)The type name 'ContentPropertyAttribute' could not be found. This type has been forwarded to assembly 'System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Consider adding a reference to that assembly.

    2) The type 'System.Windows.Markup.IQueryAmbient' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

    3) The type or namespace name 'Contact' could not be found (are you missing a using directive or an assembly reference?)

    4) The type or namespace name 'ContactEventArgs' could not be found (are you missing a using directive or an assembly reference?)

    5) Unable to find dependency ....\Surface2.0\22-02-2012\Microsoft® Surface® Financial Services Code Sample\C#\SurfaceBanking.Utilities\bin\Debug\SurfaceBanking.Utilities.dll' of project output 'Primary output from SurfaceBanking (Active)'

    6) The tag 'SurfaceUserControl' does not exist in XML namespace 'schemas.microsoft.com/.../2008&. Line 1 Position 23.

    7) The tag 'LoopingPanel' does not exist in XML namespace 'clr-namespace:SurfaceBanking.Utilities;assembly=SurfaceBanking.Utilities'. Line 45 Position 30.

    8) The tag 'ArcWarpDecorator' does not exist in XML namespace 'clr-namespace:SurfaceBanking.Utilities;assembly=SurfaceBanking.Utilities'. Line 5 Position 6.

    9) The tag 'SurfaceTrack' does not exist in XML namespace 'schemas.microsoft.com/.../2008&. Line 764 Position 18.

    10) Cannot find the Template Property 'IsActive' on the type 'Microsoft.Surface.Presentation.Controls.ScatterViewItem'. Line 45 Position 48.

    11) Unable to build project output group 'Content Files from SurfaceBanking (Active)'

    12) Unable to build project output group 'Content Files from SurfaceBanking (Active)'

    13) The target version of the .NET Framework in the project does not match the .NET Framework launch condition version '3.5 SP1 Client'. Update the version of the .NET Framework launch condition to match the target version of the.NET Framework in the Advanced Compile Options Dialog Box (VB) or the Application Page (C#, F#).

    14) The type or namespace name 'SurfaceUserControl' could not be found (are you missing a using directive or an assembly reference?)

    15) The name 'InitializeComponent' does not exist in the current context

    16) 'SurfaceBanking.Assist.AssistControl' does not contain a definition for 'Visibility' and no extension method 'Visibility' accepting a first argument of type 'SurfaceBanking.Assist.AssistControl' could be found (are you missing a using directive or an assembly reference?)

    17) The name 'FindResource' does not exist in the current context

    18) The name 'FindResource' does not exist in the current context

    19) The name 'FindResource' does not exist in the current context

    20) 'EasingMode' is an ambiguous reference between 'System.Windows.Media.Animation.EasingMode' and 'SurfaceBanking.Utilities.EasingMode'

    21) The best overloaded method match for 'SurfaceBanking.Utilities.WPFAnimationHelper.AnimateEasingEquation(System.Windows.DependencyObject, System.Windows.DependencyProperty, SurfaceBanking.Utilities.EasingFunction, double, int, System.EventHandler)' has some invalid arguments

    22) Argument 4: cannot convert from 'System.Windows.Media.Animation.EasingMode' to 'double'

    23) Argument 5: cannot convert from 'double' to 'int'

    24) Argument 6: cannot convert from 'int' to 'System.EventHandler'

    25) 'EasingMode' is an ambiguous reference between 'System.Windows.Media.Animation.EasingMode' and 'SurfaceBanking.Utilities.EasingMode'

    26) The best overloaded method match for 'SurfaceBanking.Utilities.WPFAnimationHelper.AnimateEasingEquation(System.Windows.DependencyObject, System.Windows.DependencyProperty, SurfaceBanking.Utilities.EasingFunction, double, int, System.EventHandler)' has some invalid arguments

    27) Argument 4: cannot convert from 'System.Windows.Media.Animation.EasingMode' to 'double'

    28) Argument 5: cannot convert from 'double' to 'int'

    29) Argument 6: cannot convert from 'int' to 'System.EventHandler'

    30) The name 'FindResource' does not exist in the current context

    31) 'EasingMode' is an ambiguous reference between 'System.Windows.Media.Animation.EasingMode' and 'SurfaceBanking.Utilities.EasingMode'

    32) The best overloaded method match for 'SurfaceBanking.Utilities.WPFAnimationHelper.AnimateEasingEquation(System.Windows.DependencyObject, System.Windows.DependencyProperty, SurfaceBanking.Utilities.EasingFunction, double, int, System.EventHandler)' has some invalid arguments

    33) Argument 4: cannot convert from 'System.Windows.Media.Animation.EasingMode' to 'double'

    33) Argument 5: cannot convert from 'double' to 'int'

    34) Argument 6: cannot convert from 'int' to 'System.EventHandler'

    35) 'EasingMode' is an ambiguous reference between 'System.Windows.Media.Animation.EasingMode' and 'SurfaceBanking.Utilities.EasingMode'

    37) The best overloaded method match for 'SurfaceBanking.Utilities.WPFAnimationHelper.AnimateEasingEquation(System.Windows.DependencyObject, System.Windows.DependencyProperty, SurfaceBanking.Utilities.EasingFunction, double, int, System.EventHandler)' has some invalid arguments

    38) Argument 4: cannot convert from 'System.Windows.Media.Animation.EasingMode' to 'double'

    39) Argument 5: cannot convert from 'double' to 'int'

    40) Argument 6: cannot convert from 'int' to 'System.EventHandler'

    41) The name 'FindResource' does not exist in the current context

    42) 'System.Windows.Visibility' is a 'type' but is used like a 'variable'

    43) The type or namespace name 'ContentProperty' could not be found (are you missing a using directive or an assembly reference?)

    44) The type or namespace name 'ContentPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)

  • hey i wanna know is there possible to use unity 3d on microsoft surface if it is then please tell me possible way !!

    thanks

Page 1 of 1 (5 items)
Leave a Comment
  • Please add 4 and 7 and type the answer here:
  • Post

Three new Microsoft Surface Code Samples