Surface Duo Blog

Hover-ink over dual-screens

Hello Android developers, This week we’re releasing the alpha4 version of our pen SDK preview. The pen SDK is intended to help developers add drawing capabilities to their Android apps, accepting input using touch or pen (including pen features like the eraser tip). The latest open-source SDK code and sample app are ...

New Android pen and ink control preview

Hello Android developers, In a previous post, we shared code to handle pen events including pressure, orientation, and button presses on the pen. Today’s post introduces a preview of a new pen and inking control that you can easily add to your Android apps to get pen (and touch) support without a lot of custom code. (image...

Developing for Microsoft Surface Duo accessories

Hello Surface Duo developers, Microsoft recently announced new Surface devices and accessories, so this week we’re looking at some of the accessories that work with Surface Duo and how you can accommodate them in your apps. Microsoft Surface Pens The Surface Slim Pen and Surface Pen both work great with the Surface Duo, ...

Noteworthy new Surface Duo app sample

Hello Microsoft Surface Duo developers, Parker and I are just about to finish up our internship on the Surface Duo Developer Experience team and we’ve had a great time! Throughout the past 12 weeks, we’ve worked on building sample apps, contributing to documentation, supporting internal and external customers, and just learning a lot ...

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