Building a Windows 8 Touch application with WinRT JavaScript and Html5

  Introduction With the introduction of WinRT (which replaces the Win32 API we are all use to), Microsoft has provided JavaScript programmers first class access to system libraries previously unavailable.  That is, because WinRT is available directly to JavaScript, device access (GPS, motion sensors, etc.) are all available directly to the application with no special security layer.  That said, WinRT also brings with it restrictions which a typical browser does not have.  Because it is possible with such tight access to the OS for applications to do harm, WinRT has a sophisticated security model in place to keep bad things from happening.  In addition, a WinRT app forces you application to behave nicely or it may not work.  For … Continue Reading

Source For Article “Building a Windows 8 Touch app with WinRT,JavaScript,HTML5” (From Microsoft MVP Award Program Blog Article)

On todays Microsoft MVP Blog, my article titled “Building a Windows 8 Touch Application with WinRT, JavaScript and HTML5” was published.  Basically,  Basically the project that is built in the article is used to view Tracks at Silicon Valley Code Camp (actually, last years tracks currently).  Inadvertently, the source was left out of the article, though there is a reference in the top that says the source is included in the article.  So, to make things complete, the source is right here in this post. Simply download the zip file below, then with Visual Studio 2012, you can build and run the application. Any questions, please post them and I will answer ASAP. Visual Studio 2012 Project   … Continue Reading

Passing Completion Functions With JavaScript (Windows 8 and XHR)

I recently did a post where I discovered a very cool trick done by the xamarin folks that had to do with executing an anonymous method in the call parameter list of a c# function call.  Basically, the idea was that you call some method to do something, then at the end of that method instead of immediately returning, you execute the dynamic function that was passed in.  That way, you can avoid all the gu involved with creating call back methods.  You can read about it here: So, as many of you know. I’m pretty good at getting c# to do what I want and finding tips like this is always a big surprise and fun to share.  So, … Continue Reading

Windows Desktop Class Versus Windows 8 Metro UI

I recently went to a big Microsoft Windows 8 developer event at the Mountain View Microsoft office and I heard for the first time a really good explanation for why Metro is, well the way Metro is.  One of the original UI architects spoke and made this argument that I’ve never heard before.  I’ll try to do my best to recall what he said with making too much up so here it goes. He said that with one of the first Metro UI builds that basically looks like the current Metro interface, Microsoft brought in a bunch of people for a study.  They asked them sit in front of a class Windows Desktop and do a bunch of stuff, then sit in front of a Metro interface and do some stuff.  In other words, basically here is what they were … Continue Reading


Get every new post delivered to your Inbox

Join other followers: