Pages Menu
TwitterRssFacebook
Categories Menu

Posted by on 4th October, 2010

Swype for mobile devices…

Swype for mobile devices…

I have had a Nexus One cellphone for a while and with so many applications available, it is usually a common topic to ask what the best application for an Android device is. The same is true with many iPhone users trying to brag about how cool their phone is compared to an Android. When that happens, I mention Swype. Unlike many apps that are cool, I have yet to see something as truly revolutionizing as Swype, not just for mobile devices, but for all keyboard entry enabled devices. Swype is an alternative virtual keyboard, that instead of recognizing single letters (it can do that too, by the way), it recognizes a shape drawn over the letters that make up a word. It then compares the trajectory of the shape within its library and guesses the word for you. We have had many alternative pointing devices in the last 20 years…however, keyboard devices have stayed relatively pretty much the same, other than a slight variation in shape. Imagine a...

Read More

Posted by on 12th February, 2010

Silverlight Validation & Tooltip Styles…

Silverlight Validation & Tooltip Styles…

Silverlight 3 comes with built-in validation for many of the input controls. Setting them up is fairly easy and they are styled well enough that you could use them right out of the box. If you would like to know how to set it up and also would like to customize the look and feel of the fields and validation message, this short tutorial will explain how to do just that. Silverlight...

Read More

Posted by on 18th January, 2010

Wavelength to Colors

Wavelength to Colors

I did a short experiment several years back on Wavelengths and colors. I was working for Beckman Coulter on their latest Flow Cytometer, which involved working with dozens of lasers of different wavelengths. These lasers would be reflected and filtered to obtain different wavelengths and this needed to be displayed to the user in an intuitive UI. Back then, I wrote a little Windows application that would convert the wavelength to RGB colors, for my reference. I figured I could take the same approach and make it a Silverlight application and here it is… As you can see from the code I am using a PolyBezierSegment and modifying the location of the three points of each wave when the trackbar slider is moved. The corresponding wavelength in nano meters corresponds to the actual color of the light wavelength. The watermarked curves mark the margins of the visible spectrum. Go ahead and move the slider below: mainpage.xaml.cs using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using...

Read More