At its Build 2014 developer conference today, Microsoft announced the concept of “Universal Windows Apps”: code that can run both as a desktop Windows app and on Windows phone devices. It sounds appealing for both developers and consumers, but the reality is a little messier than the vision.
Picture: Getty Images
The idea that Windows and Windows Phone should be able to run the same apps is hardly a new one: the fact that both use the same tiled ‘Modern’ interface made an attempt as such a move almost inevitable. The forthcoming release of Windows Phone 8.1 is supposed to bring that vision much closer to reality.
[related title=”BUILD 2014″ tag=”build-2014″ items=”9″]”With the Windows Phone 8.1 release, we’ve bought the new Windows runtime to phones,” David Treadwell, corporate VP of the operating systems group, said during the opening Build keynote. “Now you can use common code to produce apps across PCs, phones and tablets.”
The phrase “common code” reminds us that we’re not talking about a truly universal app, a point which Microsoft also emphasised in its blog announcement:
Universal projects allow developers to use approximately 90 percent of the same code, a single packaging system, and a common user interface to target apps for phones, tablets and PCs.
90 per cent of the same code is a welcome improvement on lower percentages, but the final 10 per cent could still prove to be painful for more complex apps. During the keynote, Kevin Gallo gave a demonstration of exporting existing Windows app code using Visual Studio 2013 Update 2 to produce a near-identical Windows Phone app. The basic export is simple enough; it’s the tweaking of elements to account for different screen sizes and input options that takes the time.
One big selling point for the universal approach is that it also applies at consumer level: if you purchase an app to run on your PC, it can also be available on your phone for no extra cost. A special symbol on the Windows Store will indicate apps which take that approach. In-app purchases can also be shared across apps on different form factors.
Developers aren’t forced to take this approach: if you want to, you can continue to sell different versions for phone/tablet and for PC. I suspect this won’t be popular though: it’s hard to justify charging separately for identical-looking apps, for starters.
Universal apps are a good idea, but there’s one big issue. A universal app will run on either the distant #3 mobile platform (Windows Phone), or on the dominant Windows computing platform. The latter is the bigger target, and yet the usage of Modern Windows apps (as distinct from the familiar Windows desktop workhorses) is still relatively low.
One way Microsoft is addressing this is by trying to make Modern apps more appealing to users who don’t have touch screens (the vast majority of them). The soon-to-arrive Windows 8.1 Update will allow Modern apps to be pinned to the Taskbar, and will add a title bar when they’re used with a mouse. A subsequent Windows update will also offer the option to run Modern apps in floating windows. Also promised in the future: the ability to shift universal apps to the Xbox as well.
When that happens, it will make building Modern apps more appealing for developers. But since we don’t have a timeframe for that change (it seems unlikely until 2015, when it might form part of the rumoured Threshold update), it’s not exactly clear that coders will be clamouring to make the switch just yet.
Disclosure: Angus Kidman travelled to San Francisco as a guest of Microsoft.