Showing results for April 2020 - Surface Duo Blog

Apr 30, 2020
3
0

Build React Native apps for Microsoft Surface Duo

Craig Dunn
Craig Dunn

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

Surface DuoDual Screen DevelopmentJavaScript
Apr 23, 2020
1
0

Pen Events on the Surface Duo

Meir Ben Itay
Meir Ben Itay

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

Surface DuoAndroid developerPen
Apr 16, 2020
0
0

Dual-screen games with Unity for Android

Craig Dunn
Craig Dunn

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

Surface DuoSurface Duo SDKUnity
Apr 9, 2020
0
0

Introducing SurfaceDuoLayout Designer Preview for Android Studio Developers

Guy Merin
Guy Merin

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

Surface DuoDual Screen DevelopmentSurface Duo SDK
Apr 2, 2020
0
0

Orientation, Spanning and Insets

Meir Ben Itay
Meir Ben Itay

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

OrientationSpanInset