Surface Duo Blog

Surface Duo at Microsoft Build
Surface Duo at Microsoft Build
Hello Microsoft Surface Duo developers! Today at Microsoft Build we shared a session covering how to take advantage of the dual screen device, Surface Duo using Xamarin and C#. You can watch the recording below: Video: Microsoft Build 2020 on YouTube Existing Android™ apps run without modification on the Surface Duo, but there...
Get Started with Flutter on Surface Duo
Get Started with Flutter on Surface Duo
Hello Flutter developers! Today we are going to get you started with our Surface Duo SDK for Android so that you can adapt your existing applications for dual-screens and the hinge. The sample code demonstrates how Android developers can add the Surface Duo SDK to a project and then access the screen and hinge APIs. Our ultimate goal is ...
Build React Native apps for Microsoft Surface Duo
Build React Native apps for Microsoft Surface Duo
Hello, React Native for Android developers! In previous blog posts we've shown how app developers can build dual-screen apps using Java and Kotlin, Xamarin and C#, and games with Unity. Today's post is about how JavaScript and TypeScript developers can also target the Surface Duo using React Native. Earlier this year, Kiki Saintonge and ...
Pen Events on the Surface Duo
Pen Events on the Surface Duo
The Surface family of devices is known for great touch support, including pen input, and the Microsoft Surface Duo will be no different. By default, pen events are treated the same as a finger touch or mouse move, but you can detect and handle pen input differently, with a wider range of data such as pressure and orientation. Some pens also ha
Dual-screen games with Unity for Android
Dual-screen games with Unity for Android
Hello Android game developers! Today we've published a Unity sample that incorporates our dual-screen SDK for Android so that you can adapt games for dual-screens and the hinge. The sample code demonstrates how to access the screen and hinge APIs that we provide Android developers, but from C# in Unity. The screenshot below shows a Unity ...
Orientation, Spanning and Insets
Orientation, Spanning and Insets
Hello Microsoft Surface Duo Developers! Until recently, mobile devices all had one thing in common: a single screen. While applications had to support multiple screen sizes, recently manufacturers got creative and introduced new foldable, dual-screen devices, Google added support for multi-windowing on Android. Now applications need to ...
Introducing dual-screen layouts for Android
Introducing dual-screen layouts for Android
Today we are releasing a preview of our first Android dual-screen layout control for Java and Kotlin developers. The new control and associated helpers will enable you to build dynamic and responsive apps that take advantage of the Microsoft Surface Duo and its two screens. We look forward to see what you create with it!
Bring your Xamarin apps to Surface Duo
Bring your Xamarin apps to Surface Duo
Xamarin developers can build and test dual-screen apps for the Surface Duo, using the available emulator and SDKs available via NuGet. The hinge angle and display mask can be queried to adapt your screen layouts, and there is a TwoPaneView Xamarin.Forms control that helps build responsive app designs that work on all device types.