Surface Duo Blog

Hinge Angle on Microsoft Surface Duo

Hello Surface Duo developers! In our previous blog post, we mentioned how to adjust the hinge angle in the Surface Duo emulator. Today we are going to present some ideas about how to take advantage of this unique behavior of the Surface Duo device. As we discussed in How to Bring Your Android Apps to Surface Duo, your Android...

Surface Duo testing tips & tricks

Hello Microsoft Surface Duo developers, Today’s post contains some tips to help automate the Surface Duo emulator for testing. Use the latest emulator Tip number one: install the latest emulator from Microsoft Developer Center to ensure you have all our latest fixes, feature enhancements, and performance improvements. The Surface Duo ...

Dual-screen web experiences preview

In previous posts, we’ve talked about building Android apps for Microsoft Surface Duo using Kotlin & Java, C# with Xamarin, React Native, Unity, and Flutter. Microsoft is also working hard to bring new capabilities to the web so that websites and embedded web experiences can also adapt to the Surface Duo and other dual-screen devices...

Microsoft Surface Duo dev resources recap

Hello Surface Duo developers! Given the recent events that are unfolding across the globe, we have decided to give this week’s blog a lower profile so you can focus on the well being of your local communities and families. Please be safe and we look forward to sharing lots of exciting announcements in the coming weeks. In the meantime...

Resource configuration for Microsoft Surface Duo

Hello Android dual-screen developers! As we mentioned in a previous blog post, enhancing your app for dual-screen devices is easily done by following this three step process: (image) Figure 1. Three steps to get your app ready for dual-screen devices Today we are going to provide some additional useful tips for embracing new features...

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...

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

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 ...

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. (image) 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 ...