CHAPTER 8

image

Device Capabilities

Programming a phone is a unique experience compared with using any stationary computing device that has come before. The phone can interact with its environment by knowing where it is in space and its relation with the earth. If the phone is tilted, shaken, or stirred, the phone senses it. The phone is aware of its relation to magnetic north and even its coordinate position on the globe. You can access device capabilities including:

  • Querying the capabilities of the device itself.
  • Sensors that detect changes in the real world such as accelerometer, gyroscope, and compass.
  • The built-in microphone and camera.

Device ...

Get Pro Windows Phone App Development, Third Edition 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.