Chapter 10. Using sensors

This chapter covers

  • Understanding Sensor API design
  • Interpreting sensor data
  • Using sensors in the emulator
  • Moving with the motion sensor

You can build cool applications by combining sensors with other features of the phone. Applications may respond to a user shaking the device by randomly selecting an object or clearing the screen. Games can use the device’s movement as an input mechanism, turning the whole phone into a game controller. Another class of applications augments the real world with computer-generated information. Augmented reality apps can show you the location of friends nearby in relation to your current location. Astronomy applications determine the position of your device and identify the stars ...

Get Windows Phone 8 in Action 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.