CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Peter's Gekko

public Blog MyNotepad : Imho { }

Debugging Tablet PC applications

A tablet PC is fun, writing apps for a tablet is even more fun. But it took me some time to find out the easiest way to do that. You can write tablet apps on every PC which has the SDK installed but tablet specific features such as text recognition only work on a tablet. A tablet PC is powerfull enough to run Visual Studio but a pen is not the ideal device to enter code. The keyboard and screen real estate of my desktop are a nicer coding environment.

Instead of strapping in my tablet with cables for an external monitor and keyboard I now use two machines in sync to build the app. Both work on the same project, the desktop shares the directory of the tablet-project on the local network, the tablet opens the project from this network directory. Visual Studio will keep the two instances in sync. Every time you change a file on one of the machines it pops up a dialog.

Click yes to continue.

There is a security issue when opening the project over the network. VS will warn you for that.

As the tablet assemblies wrap up unmanaged code security will hit harder when you share that over the network. Make sure the Microsoft.Ink assembly is installed on both machines and that the project references it using a relative local directory. Then you will have a very good debugging "experience". Your desktop to hammer in code and your tablet to strikeout the bugs.

Peter  


Published Nov 15 2004, 08:48 AM by pvanooijen
Filed under:

Check out Devlicio.us!