Chapter 7

Sensors

WHAT’S IN THIS CHAPTER?

  • Introducing the Windows Sensor Platform
  • Implementing the 3-D accelerometer
  • Implementing the 3-D compass
  • Implementing the 3-D gyrometer
  • Implementing the 3-D inclinometer
  • Implementing the ambient light sensor
  • Implementing the orientation sensors

WROX.COM CODE DOWNLOAD FOR THIS CHAPTER

You can find the wrox.com code downloads for this chapter in code file 205709 C07.zip at www.wrox.com/remtitle.cgi?isbn=9781118205709. The code for this chapter is conveniently contained within a single Visual Studio 2012 solution with seven sample projects.

Our devices change every year, adding new capabilities, becoming thinner, lighter, and are also becoming “smarter” with sensors. There are thousands of practical scenarios, as well as real-life examples, of how sensors impact computing experiences every day. This chapter navigates the developer through a wealth of new APIs and features available within Windows 8 that enable your apps to become “smarter” with sensors.

WINDOWS SENSOR PLATFORM

As humans, we are equipped with biological sensors needed to perceive changes in the real world. The devices mankind has developed are just starting to catch up with those biological sensors. In the last few years, the industry has experienced an enormous growth in sensor technology, giving such devices the ability to sense touch, orientation, position changes and proximity, with more sensors being developed every day!

With the Windows Sensor Platform your apps are ...

Get Professional Windows 8 Programming: Application Development with C# and XAML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.