Friday, December 30, 2011

ESRI ArcGIS and websockets (XSockets) with Microsoft Kinect Beta 2 SDK

Connected the dots... combined yesterdays ArcGIS and kinect demo with my earlier ArcGIS and web sockets demo:





Merging these together makes it possible to update the extent of the ArcGIS API for JavaScript clients by making gestures in-front of the kinect device that is connected to the ArcGIS API for WPF application, the communication between the clients are made through web sockets and for that I've used XSockets:

Thursday, December 29, 2011

Using Kinect and ArcGIS for WPF

Integrated Kinect SDK Beta 2 with ArcGIS for WPF 2.3 to see how it's possible to control an application for map viewing using the kinect sensors.

Tested gesture detection using KinectToolbox and Microsoft Speech Platform SDK.

Made two demos, one panning using gesture detection:



The other demo using my voice to control panning and zooming:







Saturday, December 17, 2011

Silent installer using Nullsoft Scriptable Install System (NSIS)

When making installers it's important to make it possible to run the installer silently. This is a requirement if you want to include your installer in another installer. I've inherited some installers on my new job, these were made in Nullsoft Scriptable Install System (NSIS). We have a requirement to include several application installers into a package to make the installation easier for the end users, so I've looked into what needs to be done in NSIS to make the installers silent.

It turns out to be quite easy, see the chapter on silent installer/uninstaller in the documentation, all MessageBoxes in the script has the possibility to have a /SD parameter where you can set the default return value if the installer is running in silent mode /S. To reduce cluttering the start menu with uninstaller links it's possible to use the IfSilent statement to jump over the creation of uninstall links.

Friday, December 09, 2011

Testing WebSocket support in ASP.Net 4.5

I've followed the descriptions in Paul Batum blog post Getting started with WebSockets in the Windows 8 developer preview  to test websockets in ASP.Net 4.5. Notice that you can use the Express version of Microsoft Visual Studio 2011 to run the WebSockets samples. Also see the Building real-time web apps with WebSockets using IIS, ASP.NET and WCF session from the Build conference. The samples seems to working correctly, so I will try to port my XSocket with Esri ArcGIS for JavaScript demo to ASP.Net.