Feeds

Microsoft enlists Apache to help Windows devs build hybrid mobile apps

Cordova tools for Visual Studio can target Android, iOS

5 things you didn’t know about cloud backup

TechEd 2014 At its annual TechEd North America conference in Houston, Texas on Monday, Microsoft doubled down on its promise to help developers build cross-platform mobile apps by announcing preliminary support for creating HTML-based hybrid apps within Visual Studio.

The preview tools have been given the lofty-sounding name "Multi-Device Hybrid Apps for Visual Studio 2013 CTP," but Redmond is making no secret that they're actually based on Apache Cordova, the open source development toolkit that's also distributed by Adobe under the name PhoneGap.

The plugins turn Visual Studio 2013 into a complete IDE for Cordova development, including the usual special sauce you expect from Microsoft, such as IntelliSense and syntax highlighting for the HTML, CSS, and JavaScript that make up your apps.

An added wrinkle is that Redmond's tools optionally let you code in TypeScript, the Microsoft-developed superset of JavaScript that adds optional static typing and class-based object orientation (as opposed to JavaScript's less common prototype-based model) to make programs easier to maintain. TypeScript graduated to a first-class language in Microsoft's IDE with the final release of VS2013 Update 2, which also shipped on Monday.

The current toolkit provides blank Cordova app projects for both languages, and you can take your pick of third-party JavaScript frameworks with which to build your UIs.

For testing apps, Microsoft has integrated VS2013 with Apache Ripple, which lets you simulate mobile apps in a web browser without installing them on a device. You can even connect Ripple to the Visual Studio debugger to manage breakpoints.

There is also preliminary support for debugging apps running on devices or in emulators, but so far only for Android 4.4 "KitKat" and Windows Store apps. You can see console messages for apps running on earlier Android versions in the Output window, but currently there's no in-IDE support for debugging apps on iOS or (perplexingly) Windows Phone. Microsoft has provided another tool, however, that allows for limited iOS debugging capabilities in Safari on OS X.

This release marks the second time Redmond has turned to open source to help Windows devs create cross-platform mobile apps. The first was when it announced a broad partnership with Xamarin, makers of tools that take advantage of the open source Mono project to allow developers to write native apps for iOS and Android in C#.

While Xamarin's tools are pricey commercial products, however – the "Business Edition" that includes Visual Studio support retails for $999 – Microsoft's tools for hybrid apps are a free download, at least for now.

Unfortunately, to an extent you get what you pay for. As a pre-beta release, this Community Technology Preview release comes with a long list of known issues and limitations. Expect a bumpy ride without much direct support from Microsoft; Redmond advises users with questions about the tools to post them to the public developer Q&A forum StackOverflow. ®

Secure remote control for conventional and virtual desktops

More from The Register

next story
BBC: We're going to slip CODING into kids' TV
Pureed-carrot-in-ice cream C++ surprise
China: You, Microsoft. Office-Windows 'compatibility'. You have 20 days to explain
Told to cough up more details as antitrust probe goes deeper
Linux turns 23 and Linus Torvalds celebrates as only he can
No, not with swearing, but by controlling the release cycle
Scratched PC-dispatch patch patched, hatched in batch rematch
Windows security update fixed after triggering blue screens (and screams) of death
Windows 7 settles as Windows XP use finally starts to slip … a bit
And at the back of the field, Windows 8.1 is sprinting away from Windows 8
This is how I set about making a fortune with my own startup
Would you leave your well-paid job to chase your dream?
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Endpoint data privacy in the cloud is easier than you think
Innovations in encryption and storage resolve issues of data privacy and key requirements for companies to look for in a solution.
Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?