Share via


Summary

Windows Phone has APIs to detect programmatically the hardware capabilities and device status. In this lab, you have used the:

  • Capability APIs in the Microsoft.Devices.Sensors namespace to detect if a Gyro, compass, accelerometer, and the combined motion sensors are supported
  • Microsoft.Phone.Info.DeviceStatus class to detect manufacturer capabilities and physical memory available to the device
  • DeviceNetworkInformation and NetworkInterface classes to detect network connectivity for the device

As you have learned, detecting capabilities requires just a few lines of code. Appropriately reacting to these capabilities is critical in order to create best-of-breed experiences for all users (regardless of the model or manufacturer of their devices).