This article provides guidance and best practices for adapting your apps for the hardware features of Nokia Lumia phones running Windows Phone 8, especially focusing on the several hardware sensors that are sometimes not available on low end models. Besides providing techniques on how to deal with the missing features and varying hardware characteristics, to make sure that your apps will run smoothly across all the devices of the Windows Phone 8 portfolio, some UX aspects are also discussed.
Though focus is on Lumia Windows Phone 8 device portfolio, a few references are made to Lumia Windows Phone 7 devices as well.
The Nokia Lumia 520 does not have all of the hardware features found on most Lumia Windows Phone 8 devices, including: front camera, flash for main/back camera, gyroscope, magnetometer (compass), and NFC. As a result, there are some apps which need to replace or drop functionality, and others which cannot function at all.
When a particular sensor is essential to the operation of the application, you can opt-out (prevent installation of the app on the device) by specifying the sensor's hardware ID as a requirement in the app's manifest file. If the app can still function without the sensor, then you can make run-time checks to disable (hide) the functionality on less capable devices, or even better, provide some alternative functionality.
Difference on Lumia Windows Phone 8 hardware capabilities
|Sensor||HW requirement||Lumia 520 / 521||Lumia 620 / 720||Lumia 810 / 822||Lumia 920 / 920T / 925 / 928|
|Flash for the Main/Back Camera||No||Yes||Yes||Yes|
|SD Card slot||Yes||Yes||Yes||No|
Though most apps will run just fine on Nokia Lumia 520, here are some examples of typical use cases that would be challenging or impossible:
Subtopics in this section:
Last updated 20 October 2013