Xamarin expands Android, iPhone cross-platform development kit

The Mobile toolkit now features APIs for geolocation and contacts

On Thursday, Xamarin added an API (application programming interface) for contacts to its new cross-platform Mobile development kit, with which the company aims to make it easier for C# users to develop applications for Android and iOS at the same time.

Xamarin was started this year to save the Mono project, which provides open-source versions of Microsoft software development technologies for use on non-Windows platforms, after Attachmate decided to drop it after the merger with Novell, where Mono had its home previously.

For smartphone and tablet development, the company offers MonoTouch, which allows C# developers to create native applications for Apple's iPad and iPhone, and Mono for Android, which does the same for Google's operating system.

MonoTouch is the more popular of the two, but there is also a big overlap between the two products, which is one of the reasons why the company decided to embark on the development of Xamarin Mobile, a first preview of which was released about two weeks ago and included a geolocation API.

The ability to reuse as much code as possible when developing applications for different smartphone operating systems is something that a lot of developers have in the back of their heads, according to Joseph Hill, chief operating officer at Xamarin.

The goal with Xamarin Mobile is not to offer cross-platform support for everything a developer can think of, but to find a subset of APIs where it makes the most sense.

"For instance, our first version was focused on maps. A lot of mobile apps do a little something with maps, and it usually it has nothing to do with if its on iPhone or Android. The app just needs some geolocation information," said Hill.

On Thursday, the company released a new preview, which adds a cross-platform Contact API that give developers access to the phone's address book.

Interaction with the camera is a likely candidate to come next, according to Hill. The company has put up a survey where developers can influence decisions about what comes next, he said

APIs for audio and video, accelerometers and notifications are also on the table.

One thing the company isn't going to add is the ability to build a user interface and use it across different operating systems.

"We think that is a horrible idea ... You don't navigate the same way through an Android app as you do through an iPhone app," said Hill.

When developing Xamarin Mobile, iOS and Android are the first priority, but the company is planning to add Windows Phone, as well. But it isn't making any official statements on when that will happen, according to Hill.

Send news tips and comments to mikael_ricknas@idg.com

Join the PC World newsletter!

Error: Please check your email address.

Tags application developmenttelecommunicationapplicationsiosiPhoneAndroidXamarinmobileDevelopment toolsmobile applicationsAndroid OSconsumer electronicssmartphonesMobile OSessoftwareWindows Phone

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Mikael Ricknäs

IDG News Service
Show Comments

Essentials

Lexar® JumpDrive® S57 USB 3.0 flash drive

Learn more >

Microsoft L5V-00027 Sculpt Ergonomic Keyboard Desktop

Learn more >

Mobile

Lexar® JumpDrive® S45 USB 3.0 flash drive 

Learn more >

Exec

HD Pan/Tilt Wi-Fi Camera with Night Vision NC450

Learn more >

Audio-Technica ATH-ANC70 Noise Cancelling Headphones

Learn more >

Lexar® Professional 1800x microSDHC™/microSDXC™ UHS-II cards 

Learn more >

Lexar® JumpDrive® C20c USB Type-C flash drive 

Learn more >

Budget

Back To Business Guide

Click for more ›

Most Popular Reviews

Latest News Articles

Resources

PCW Evaluation Team

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Aysha Strobbe

Windows 10 / HP Spectre x360

Ultimately, I think the Windows 10 environment is excellent for me as it caters for so many different uses. The inclusion of the Xbox app is also great for when you need some downtime too!

Mark Escubio

Windows 10 / Lenovo Yoga 910

For me, the Xbox Play Anywhere is a great new feature as it allows you to play your current Xbox games with higher resolutions and better graphics without forking out extra cash for another copy. Although available titles are still scarce, but I’m sure it will grow in time.

Kathy Cassidy

STYLISTIC Q702

First impression on unpacking the Q702 test unit was the solid feel and clean, minimalist styling.

Anthony Grifoni

STYLISTIC Q572

For work use, Microsoft Word and Excel programs pre-installed on the device are adequate for preparing short documents.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?