The Dew Review – Intel Next Generation Ultrabook™ with Windows 8: Playing with Sensors

My ‘Initial Impressions’ review of the Next Generation Intel Ultrabook is available here:

The Dew Review – Intel Next Generation Ultrabook™ with Windows 8: Initial Impressions

Now that I have had a couple of weeks to install some Windows Store apps, various development tools, and generally put the Ultrabook through its paces, I want to provide an update.

General Use

As I said in the last review, this is preview hardware from Intel. This model will never hit retails shelves and was built so developers like myself could take advantage of the sensor and touch technology that will soon be available in most tablets and Ultrabooks.

That said, this is still a machine I could use for my every day development. It’s faster than the other development PCs I use, and has been very stable. That is a testament to both Intel’s hardware and Windows 8. I won’t turn this into a Windows 8 review, but I disagree with anyone who wants to call it Microsoft’s next Vista.

I have not found any games that make good use of all the sensors in this Ultrabook. I am hoping there will be some released before writing my final review. The GPS works great with Maps app included in Windows 8. I’m sure it won’t be long before Garmin, Google and Nokia all have their own map apps in the Windows Store.

Development

As I said, developing on Intel’s Ultrabook is a dream. As I do with most notebooks, I connected my external mouse and keyboard to enhance the experience. I am not a big fan of using mobile keyboards and touchpads for extended development sessions. Windows 8 works great with the Microsoft Touch Mouse I bought last year.

So far I have used Visual Studio 2010, Visual Studio 2012, Microsoft WebMatrix, Expression Blend and JetBrains WebStorm on the Ultrabook. They all run smoothly with no hangs or stutters. I have been using ReSharper in VS2010 and Telerik JustCode in VS2012 because I know that a plugin-free Visual Studio instance does not provide a real-world test of performance.

Sensor Fun

I created a Windows Store app with C# and XAML to explore the sensor API available to WinRT developers in Visual Studio 2012. It is a simple app called Sensor Fun.

Sensor Fun

The Windows contains eight TextBoxes. One for each sensor’s events that I capture.

  • Accelerometer
  • Accelerometer Shaken
  • Compass
  • Gyrometer
  • Inclinometer
  • Light Sensor
  • Orientation
  • Simple Orientation

When a sensor event fires, the data captured is appended to the text in the corresponding TextBox. It also writes all the results out to a log file in Isolated Storage. Here is a code sample from one of the event handlers.

private void accelerometer_ReadingChanged(Accelerometer sender,
                                          AccelerometerReadingChangedEventArgs args)
{
    coreDispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
    {
        string text = String.Format("{0} / {1} / {2} - {3}rn", 
                                    args.Reading.AccelerationX, 
                                    args.Reading.AccelerationY, 
                                    args.Reading.AccelerationZ, 
                                    args.Reading.Timestamp);
        Utilities.Logger.LogData(text);
        AccelerometerText += text;
    });
}

Each sensor has a ReadingChanged event that returns the current data in a Reading object. You can find the details of each sensor’s Reading data on MSDN.

I found the API very intuitive and it works great with all of the advanced sensors on this Ultrabook. Now I just need that million-download idea to build my next app.  Smile

If you want to download the source code for Sensor Fun, you can get it here.

The Next Review

In a couple of months, I will return with my final thoughts and recommendations. During that time, I hope to try out a few more apps and games that make use of the sensor capabilities of the Ultrabook. I will also continue to investigate the options they provide developers, perhaps through sensor API available to C++ developers.

If you have any ideas or thoughts about what you would like to see in my final review, please leave a comment.

Thanks!

 

Disclosure of Material Connection: I received one or more of the products or services mentioned above for free in the hope that I would mention it on my blog. Regardless, I only recommend products or services I use personally and believe my readers will enjoy. I am disclosing this in accordance with the Federal Trade Commission’s 16 CFR, Part 255: “Guides Concerning the Use of Endorsements and Testimonials in Advertising.”

 

Dew Drop – September 25, 2012 (#1,408)

Top Links

 

Web Development

 

XAML

 

Miscellaneous .NET

 

Design / Methodology / Testing

 

Other Mobile Platforms

 

Podcasts / Screencasts / Videos

 

Community / Events

 

Database

 

PowerShell

 

Miscellaneous

 

More Link Collections

 

The Geek Shelf

 

Mastodon
github.com/alvinashcraft