Hour 9. Working with Location and Hardware Sensors

What You’ll Learn This Hour:

• Declaring app capabilities

• Using the hardware sensors built in to Windows 8

• Using the location sensors

• Implementing the motion/orientation sensors

• Reading acceleration data

• Creating a compass

• Using the inclinometer

• Using the gyrometer

• Obtaining the device rotation information from the orientation sensors

During this hour, we look at how to declare the capabilities of the app package manifest. We also explore what how to utilize the hardware sensors available on many Windows 8 devices.

With Windows 8, we can easily take advantage of sensors that ship with all Windows 8 tablets and convertibles (devices that can convert into a tablet-type device). ...

Get Sams Teach Yourself Windows® 8 Apps with JavaScript and HTML5 in 24 Hours 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.