Surface Duo Blog

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 An
Introducing SurfaceDuoLayout Designer Preview for Android Studio Developers
Introducing SurfaceDuoLayout Designer Preview for Android Studio Developers
Hello Android dual-screen developers! In the March 26th blog post, we introduced the Dual Screen Layout. Figure 1: Single-screen and dual-screen layouts using SurfaceDuoLayout When using the SurfaceDuoLayout, you can implement dual-screen behavior by either using layouts or by listening for screen change events and manipulating fr
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 dyn
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.
Bring your app to Surface Duo – Step 3
Bring your app to Surface Duo – Step 3
Hello Surface Duo developers! In our Feb 6th blog post, we shared 3 steps to bring your app to Microsoft Surface Duo, followed by a post on step 1 and how to test your app and step 2 highlighting incremental changes to make to your app Figure 1: Steps to bring your app to Microsoft Surface Duo 1: Steps to bring your app to Microsoft Su
Bring your app to Surface Duo – Step 2
Bring your app to Surface Duo – Step 2
This blogpost details Step 2 in the journey to bring your app to Surface Duo.
These will cover App resizing, Drag and drop support, how to launch intents in the adjacent screen, Multi instance/Activities support, Widgets and Pen support


Bring your app to Surface Duo – Step 1
Bring your app to Surface Duo – Step 1
Hello Developers! We’re excited to post another devblog for developers considering dual screen devices as a new form factor that can enhance your application’s user experience. In this post, we’re focusing on application compatibility testing. As you know, the Microsoft Surface Duo has two screens and those screens are slightly dif
The Surface Duo SDK Preview is getting an update – Feb 20,2020
The Surface Duo SDK Preview is getting an update – Feb 20,2020
Hello Dual Screen developers! We are proud to be part of this growing community and excited to share with you the latest on the #SurfaceDuo SDK front in these devblogs. Don’t forget to read our previous editions for additional Dev goodies, and let us know (feedback links below) on what else you would like us to cover. For today’s