Feeds

Microsoft enlists Apache to help Windows devs build hybrid mobile apps

Cordova tools for Visual Studio can target Android, iOS

Choosing a cloud hosting partner with confidence

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
Nexus 7 fandroids tell of salty taste after sucking on Google's Lollipop
Web giant looking into why version 5.0 of Android is crippling older slabs
Be real, Apple: In-app goodie grab games AREN'T FREE – EU
Cupertino stands down after Euro legal threats
Download alert: Nearly ALL top 100 Android, iOS paid apps hacked
Attack of the Clones? Yeah, but much, much scarier – report
Microsoft: Your Linux Docker containers are now OURS to command
New tool lets admins wrangle Linux apps from Windows
Bada-Bing! Mozilla flips Firefox to YAHOO! for search
Microsoft system will be the default for browser in US until 2020
prev story

Whitepapers

Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.
Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
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?
Getting ahead of the compliance curve
Learn about new services that make it easy to discover and manage certificates across the enterprise and how to get ahead of the compliance curve.
Top 5 reasons to deploy VMware with Tegile
Data demand and the rise of virtualization is challenging IT teams to deliver storage performance, scalability and capacity that can keep up, while maximizing efficiency.