adaptive code

About this tag
Adaptive code in Windows 10 UWP apps allows developers to target multiple device families with a single codebase while still leveraging unique hardware features. By partitioning the API surface into device families, you can write conditional logic that activates platform-specific capabilities only when available. This approach simplifies cross-device development for Windows 10, enabling apps to run on PCs, tablets, phones, and other Windows devices without separate builds. The tag covers techniques for implementing adaptive code within the Universal Windows Platform, including best practices for handling varying screen sizes, input methods, and hardware capabilities.
  1. Introduction to UWP and device families

    Windows 10 introduces the Universal Windows Platform, and with it a new way to partition the API surface. APIs are grouped into "device families", and that means you can support a huge range of devices with just one app. Even better, you can still light up the unique features of each of those...