One Windows? How does that work... and WTF is a Universal App?

Microsoft's strategy is to make Store apps popular. Good luck with that


Analysis “Whether it’s building a game, or a line of business application, there’ll be one way to write a universal application that targets the entire product family,” said Microsoft Executive VP Terry Myerson, announcing Windows 10 yesterday.

One Windows: Windows 10 will be delivered on multiple device types

One Windows: Windows 10 will be delivered on multiple device types

Windows 10, Myerson said, will embrace devices of every type, from tiny embedded systems to PCs with 80-inch screens.

Developers will rightly be sceptical. Microsoft is notorious for introducing new APIs and frameworks (the building blocks of applications) and deprecating old ones, including numerous database APIs and game development with XNA.

Silverlight, an app platform that worked in web pages and on the desktop, was for a time frenetically developed by Microsoft and adopted for Windows Phone 7, but abandoned in favour of a platform introduced with Windows 8, called the Windows Runtime. That's also known as Metro or as the runtime for Windows Store apps.

Windows 10 everywhere does not mean that the operating system will have the same features and user interface on every kind of device.

“We’re not talking about one UI to rule them all,” said Myerson. The core of the OS may be the same, but there will be different APIs and features according to the device type. Microsoft’s idea though is that the Windows Runtime will be included on all them, to unify its platforms, and that developers will be able to write universal apps that run everywhere.

But what is a universal app? The term describes a project type in Visual Studio, Microsoft’s primary development tool and is documented here.

A universal app has multiple targets, each with its own code. There is also a shared code area. When you build the app, Visual Studio combines the shared code with the target-specific code, creating an executable for each target.

Creating a Universal App in Visual Studio

Creating a Universal App in Visual Studio


Other stories you might like

  • Why should I pay for that security option? Hijacking only happens to planes

    But if I give him my bank details, I'll be rich!

    On Call Friday is here. We'd suggest an adult beverage or two to celebrate, but only if you BYOB. While you fill your suitcase, may we present an episode of On Call in which a reader saves his boss from a dunking.

    Our tale comes from a reader Regomised as "Ed" and is set earlier this century. Ed was working as a developer in a biotech lab. He rarely spoke to the director, but did speak to the director's personal assistant a lot.

    This PA was very much a jack of all trades (and master of... well, you get the drift). HR? He was in charge of that. Ops? That too. Anything technical? Of course. Heck, even though the firm had its very own bean counter, one had to go through the PA to get anything paid or budgets approved.

    Continue reading
  • UK, Australia, to build 'network of liberty that will deter cyber attacks before they happen'

    Enhanced 'Cyber and Critical Technology Partnership' will transport crime to harsh penal regime on the other side of the world

    The United Kingdom and Australia have signed a Cyber and Critical Technology Partnership that will, among other things, transport criminals to a harsh penal regime on the other side of the world.

    Australian foreign minister Marise Payne and UK foreign secretary Liz Truss yesterday inked the document in Sydney but haven't revealed the text of the pact.

    What we do know is that the two nations have pledged to "Increase deterrence by raising the costs for hostile state activity in cyberspace – including through strategic co-ordination of our cyber sanctions regimes." That's code for both nations adopting the same deterrents and punishments for online malfeasance so that malfeasants can't shop jurisdictions to find more lenient penalties.

    Continue reading
  • Japan's Supreme Court rules cryptojacking scripts are not malware

    Coinhive-slinger wins on appeal

    A man found guilty of using the Coinhive cryptojacking script to mine Monero on users' PCs while they browsed the web has been cleared by Japan's Supreme Court on the grounds that crypto mining software is not malware.

    Tokyo High Court ruled against the defendant, 34-year-old Seiya Moroi, on charges of keeping electromagnetic records of an unjust program. That unjust program was Coinhive, a "cryptojacking" script that mines for Monero by pinching some CPU cycles when users visit a web page that includes the code. Moroi ran the code on his website.

    Coinhive has been blocked by malware and antivirus vendors as it slows down other processes, increases utility bills, and creates wear and tear on your device. But in many ways Coinhive's Javascript code acts no differently to advertisements.

    Continue reading

Biting the hand that feeds IT © 1998–2022