O'Reilly logo

Beginning Windows® Phone 7 Application Development: Building Windows® Phone Applications Using Silverlight® and XNA® by Robert Fonseca-Ensor, Karli Watson, Nick Lecrenski

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

THE WINDOWS PHONE 7 HARDWARE SPECIFICATION

Along with the Windows Phone 7 operating system, Microsoft has also released a minimum hardware specification that devices must meet. This hardware specification makes it a lot easier for you as a developer because you know in advance what capabilities are available to you, regardless of the device manufacturer. It also means that you can write code that uses the application programming interfaces (APIs) that the operating system supplies rather than having to hook into device-specific hardware drivers. This means that the techniques you learn in this chapter apply to all Windows Phone 7 devices.

Among other features, all Windows Phone 7 devices must support the following:

  • A multitouch screen
  • A GPS for location services
  • An accelerometer
  • A compass
  • A light sensor
  • A proximity sensor
  • A camera
  • Start, Search, and Back hardware buttons

In this and the following chapters, you'll look at several of these features and learn some ways to use them. Several of the hardware features, including the accelerometer, fall under the general description of “sensor.” This doesn't necessarily mean that they have a lot in common other than the most general of features, but hopefully Microsoft will provide some kind of generic framework. At the time of writing, not all sensors are available in the Windows Phone 7 SDK — the compass, light, and proximity sensors being notable omissions.

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