microsoft-surface

MS Surface animating an SVI along a straight line

So I'm attempting to move a ScatterViewItem from 1 point to the another. I've tried using PointAnimation. However, after the animation completes I can't move the item from the To point. I can spin the item and scale it, but for some reason can not move it. It's a simple movement from 1 point to the next in a straight line. Should I ...

MS Surface drag & drop SurfaceListBoxItems

Hey guys I'm working on the Microsoft Surface Table and I'm attempting to drag an item from 1 SurfaceListBox to another and recognize which SurfaceListBoxItem the other SurfaceListBoxItem was dropped on top of. The SDK help as a great tutorial for dragging items from 1 SurfaceListBox to the next and just adding the content and removing ...

Using LibraryStacks in a ScatterView on Surface

We're trying to figure out how to drag an item from a LibraryStack container onto a ScatterView, like how the photo viewer sample applications work. Currently, the item just flies back into the LibraryStack after we drag it out. We can drag and drop items into other LibraryStacks or LibraryBars. Here's a sample of what we're trying: <...

3D globe rotation issues

Hi all, Im trying to get my 3D sphere to rotate when a user moves their mouse/finger over the sphere. I can get it to rotate no problems, but when I try to add inertia to the sphere using the Affine2DInertiaProcessor in the Surface SDK, I get jumping issues when I quickly flick the sphere, and I dont know why... Here is my initialisat...

ContactUp event not fired

In my surface application I have a SurfaceWindow with a SurfaceUserControl on. On the SurfaceUserControl I have a SurfaceButton but the ContactUp (and down) event is not fired. The ContactHoldGesture event is fired though. Any ideas? ...

Determining user intent in a multi-user, multi-touch application

I am developing a surface application (though the platform isn't really relevant) that needs to track usage statistics and produce data that can analyzed to answer several usage related questions. Specifically, I have a screen in my application that will display multiple pieces of content at once (ScatterView for the surface people). On...

Using scatterview as a region with Prism throws an exception

Hi all. I'm playin around with Surface and I'm trying to use a scatterview as a module region. <s:ScatterView cal:RegionManager.RegionName="{x:Static common:RegionNames.MainRegion}"></s:ScatterView> What happens is that when I run the app, a exception is thrown. With a litle reflection I got to the place where the exception occours: ...

ActivationHost for ElementMenu

I am creating dynamically ScatterView items using template: <s:ScatterView.ItemTemplate > <DataTemplate> <DockPanel LastChildFill="True" > <DockPanel.Background> <ImageBrush ImageSource="{Binding Type, Converter={StaticResource imgSelector}}" Stretch="Fill" /> ...

Surface development: Translate/Rotate/Scale items without ScatterView

Hi, Is it possible to transalte/rotate/scale items without a ScatterView? I want to manipulate items which can be on top of other elements like a button, list or a custom control which should be static . When I add them to a ScatterView, they all become ScatterViewItems which is not the desired effect. Thx! Maarten ...

How to calculate translate while zooming in WPF/Surface

I'm doing a surface app where I need to scale my scene (zoom) while the user scales with their fingers (i.e pinching) Currently I have it working ok, but the issue is that I need to zoom in on the center point between the users fingers. I have the point, but the maths behind the translation is hard to grasp. When I apply a ScaleTransf...

Disable Shadow on a ScatterViewItem on Microsoft Surface

Hello, I'm developing a program on Microsoft Surface. And I didn't succeed to make disable completely the shadow. Here is my problem : http://i61.servimg.com/u/f61/11/31/25/01/sans_t10.png Heres is the XAML code : <s:ScatterViewItem Height="130" x:Name="jetons1" Width="180" CanScale="False" BorderThickness="0" ShowsActiva...

"GeometryHitTestParameters' HitTestParameters are not supported on 'Viewport3DVisual" error from the new SDK?

I was part of a team that developed a Surface application during the summer. I was set to do some minor changes to this application now, but got errors that were not present last time the exact same code was ran. The error message is "GeometryHitTestParameters' HitTestParameters are not supported on 'Viewport3DVisual" and is complainin...

Rewriting a WPF application to Surface

I'm working on a WPF application, and I'm curious about what it would take to rewrite this application to a Surface application if we want to control it through multitouch some day. Is it likely that we can reuse big parts of our WPF application and transfer it smoothly to Surface, or is Surface completely different, and we probably ha...

Add a delay to OnContactDown events for Surface controls

We're using the Controls.PreviewContactDown, PreviewContactUp, and PreviewContactChanged events to capture tagged items being placed, removed, and moved on the Surface, which works great in the Simulator application that comes with the surface. On an actual Surface if you moved a tagged item too quickly the cameras actually lose focus ...

Rendering Microsoft Surface Identity Tags in Java for Android

I want to write an application for Android devices that interacts with the surface and I need to be able to have the Android device display Microsoft Surface Identity Tags. I was able to create a class to draw the Byte Tags using the Byte Tag documentation but all I could find for the Identity Tags was this MSDN documentation and it doe...

What is the difference between a plain WPF app and one that can run on Microsoft Surface?

Is there anything I need to add to my WPF application, so it can run on Microsoft Surface? Are there any samples with source code available? ...

Identifying mobile devices paired via bluetooth with a Microsoft Surface

I want to be able to pair the Microsoft Surface with multiple mobile devices via bluetooth and I want the Surface to know which device is which. So if I place two phones down, the Surface should be able to label them by device name. My initial thought was to have the phone display an Identity Tag that has encoded it's Bluetooth MAC add...

How to show multiple instances of Virtual Earth (Bing) maps in Surface app?

I need to include the Virtual Earth (Bing) map in my Surface application. I'm aware of the solution provided by InfoStrat. Unfortunately that solution allows only one instance of the map at a time. I understand it is a limitation of Bing 3D Maps. In my case I need multiple instances of the map to coexist in my Surface application. I'm no...

Calling two different animations from the same click event

Hi Stackoverflow, I'm currently working on a Surface application where I need to call two different animations when a button is tapped. How exactly should I be doing this? I'd like to do it declaratively if it's possible. Should I be using MultiTriggers for this, or? Thanks in advance! ...

Hello World Surface app doesn't work

I'm creating the "Hello World" demo app for Microsoft Surface. Here's the XAML: <s:SurfaceWindow x:Class="HelloWorld.SurfaceWindow1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="http://schemas.microsoft.com/surface/2008" Title="HelloWor...