Unorthodox devices, such as Microsoft’s Surface Duo, need extensive support from third-party developers so that users can enjoy all the features and capabilities of a new form-factor. To make optimizing apps for Surface Duo easier and provide a better understanding of how apps work on Surface Duo, Microsoft offers an emulator in which developers can test apps and see them in action without owning a device. A couple of days ago, Microsoft released a new Surface Duo Emulator version with new app samples.
Surface Duo Samples Kit contains a set of mini-apps that demonstrate Duo’s capabilities in different scenarios. Developers can use these samples to implement similar features in their apps. All the examples are open-source and available on GitHub.
Here are the new examples that join existing ones, such as Dual View, Drag and Drop, Hinge Angle, List Detail, Two Page, Extended Canvas, etc.
- Widget. This sample shows how to implement a widget with settings UI on the second screen.
- TwoNote. TwoNote is a simple notetaking app with different features, such as dual-screen patterns, drag and drop support, and inking, etc.
- Ptoto Editor. With this simple Photo Editor, one can learn how to create an app with a companion pane. Also, it provides more information about implementing drag and drop support in apps for Surface Duo.
- Source Editor. This mini-app shows how to use Surface Duo to edit code on the first screen and have a live preview of it on the second screen.
In addition to the new samples, Microsoft updated the Surface Duo SDK and Design Kit. The Surface Duo SDK has got several fixes and improvements, while the Design Kit has received new device frame assets.
Read more about all the changes in the latest Surface Duo emulator on the official Microsoft blog.