Xamarin tool aims to show the ease wth which .NET apps can become mobile

The company's .NET Mobility Scanner analyzes C# code to see if it will run on Android and iOS

As mobile device shipments overtake those of PCs, cross-platform tool developer Xamarin hopes to get more enterprises to adapt their apps for Android and iOS with the help of its .Net Mobility Scanner.

Xamarin's new tool shows how much of a Windows app's code can run on the OSes.

"What we have discovered over the last two years is that there are millions of lines of C# code sitting inside companies today that can already run on mobile devices through Xamarin on iOS and Android and people don't know it," said Nat Friedman, Xamarin CEO and co-founder. "They don't know how easy it is for them to take their existing code and take it mobile."

Xamarin develops tools that let developers create apps for Android, iOS and Mac OS X using C#. The company thought it would be useful to provide a service developers could use to scan their code and determine how much of it is ready to run on Android or iOS after using Xamarin's development tools, according to Friedman. The .Net Mobility Scanner also tests for compatibility with Windows Phone and Windows Store, he said.

To use the free service, developers can head to the Mobility Scanner website, which uses Silverlight. There they select compiled .NET libraries or executable files that need to be analyzed, and the service will help identify platform-specific dependencies in the code. Future versions will provide suggestions for how to make the code more mobile-friendly.

The company has been surprised that the compatibility between existing .NET apps and Android and iOS has been as high as it has, Friedman said.

The level of compatibility with iOS and Android depends on the type of app that is scanned, but 90 percent or more is pretty common, according to Friedman. A theme that Xamarin has noticed while developing the scanner is that .NET app compatibility with Windows Phone is lower than it is with Android and iOS. That's because Windows devices may, for example, be missing some commonly used classes, according to Friedman.

Developers also need to remember that apps need a new user interface suitable to the mobile screen size and to a touch interface, and that they will have to be able to run within the constraints of the device, Friedman said. Memory usage and CPU power, for example, are lower on a mobile device than on a desktop or server.

The scanner analyzes code in a browser, without uploading it. The only information that is transmitted is the data that appears in the final report, according to Xamarin's Mobility Scanner site.

Like many companies in the Windows ecosystem, Xamarin is this week taking part in Microsoft's Build conference in San Francisco, where it has a booth.

Send news tips and comments to mikael_ricknas@idg.com

Join the PC World newsletter!

Error: Please check your email address.

Tags application developmenttelecommunicationiosAndroidXamarinmobileAndroid tabletsiPadDevelopment toolsmobile applicationsAndroid OSconsumer electronicssmartphonesbrowsersMobile OSestabletssoftwareWindows Phoneapplicationshardware systemsiPhone

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

Most Popular Reviews

Latest News Articles

Resources

PCW Evaluation Team

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

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.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?