Microsoft has invited Android developers to build or enhance apps for dual-screen devices, especially the company’s Surface Duo systems.
Following the September 22 introduction of Surface Duo 2, Microsoft issued a bulletin advising developers to use Jetpack Window Manager, currently in a beta stage, to adapt applications for dual-screen, foldable, and large-screen devices.
Jetpack Window Manager provides a standard API to work with foldable devices and includes two important classes: DisplayFeature, which finds disruptions in the continuous flat-screen surface such as hinges or folds, and FoldingFeature, which offers information about the state of the folding part of the device.