O'Reilly logo

Windows 8 App Projects - XAML and C# Edition by Nico Vermeir

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 9

image

Sensors

Sensors are a very important part of mobile applications, both on phones and tablets, and other form factors. They provide an alternative means of input or interaction with the device. There are a wide range of sensors in existence, and they provide a wide range of functions, from measuring the temperature to determining your location to knowing at what angle you’re holding the device.

As developers, we have access to API functions that can read the sensor information. That way we can retrieve data relative to the user’s position or build a game that is controlled by tilting the device and so forth. The possibilities are almost ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required