EDGE 2015 is starting in

Find out more EDGE 2015
PhoneGap fills the smartphone development gap

PhoneGap fills the smartphone development gap

Mobile apps are all the rage these days, but to get one built for your organization can be a daunting financial prospect. Should you decide to go to a bespoke shop to have your dream iOS or Android app coded you would be looking at a seriously large price tag.

But if you're looking for Android and maybe iOS, Android, BlackBerry, Windows Phone, Palm WebOS, Bada (Samsung's smartphone OS), Tizen and Symbian as well, you could be looking at a biblical price tag.

What if you could use your in-house Web guys with their HTML and CSS and JavaScript skills and, with a lot less hassle (and expense), build your own apps? Sounds like a dream, doesn't it?

APP WARS: Windows 8 Metro vs. the iPad

Well, a dream it is not ... such an ambitious plan could be realized and, indeed, has been realized by the likes of the BBC, Nestle Mexico and NASA Science using an amazing free, open source development platform called PhoneGap.

It is claimed that PhoneGap (a.k.a. "Apache Cordova" ... just to make things confusing), which was contributed to the Apache Software Foundation, has been downloaded over 1 million times and is being used by over 400,000 developers.

According to the PhoneGap Website, "Nitobi was the original creator and is one of the primary contributors to the PhoneGap framework. In October 2011, Adobe acquired Nitobi, enabling the team to focus solely on the PhoneGap project and continue its work on efficient development across mobile platforms. ... There is also vast global community that contributes to the project, including many from IBM, RIM, Microsoft and more."

The scope of involvement by so many big players is fascinating and raises hope that a true cross-operating system development platform for smartphones that relies on well-understood programming paradigms could become a reality. Just imagine if the gap between identifying a smartphone-based business need and rolling out a robust, fully featured, multi-platform app was a matter of weeks or perhaps even days rather than months!

So, what does PhoneGap do? It provides access to smartphone APIs for everything from accelerometer to camera, compass, contacts, file, geolocation, media (audio and video), network, notifications (alert, sound, vibration) and storage, all via JavaScript interacting with HTML and CSS. It's beautiful! (See PhoneGap's chart for which APIs are supported on which OSes.)

Of course, even though PhoneGap is out of beta, it's not all wine and roses. If you want to check out PhoneGap be prepared for poor documentation, some conflicting instructions and moderately serious debugging.

For a general overview that is rather clearer than the PhoneGap documentation see "Explanation of PhoneGap/Cordova for the Layman," and for installation of the latest version check out "PhoneGap 2.1.0 in Mac OS X Mountain Lion 10.8: from Download to iOS App Store," both by Steve Husting. Following Steve's instructions I had a "Hello World" app up and running on the iPad simulator within about 15 minutes!

PhoneGap, while not a complete walk in the park, is the one of the most fully featured, most flexible and most well-developed cross-smartphone development solutions I've come across and, when it comes to capitalizing the basic Web skills of HTML, JavaScript and CSS, it stands on its own! PhoneGap gets a Gearhead rating of 4.5 out of 5!

Gibbs is cross about platforms in Ventura, Calif. Develop your thoughts at gearhead@gibbs.com and follow him on Twitter and App.net (@quistuipater) and on Facebook (quistuipater).

Read more about anti-malware in Network World's Anti-malware section.

EDGE 2015:: For all the latest on EDGE 2015 including the keynote speakers visit the EDGE mini-site now

Follow Us

Join the ARN newsletter!

Error: Please check your email address.

Tags Windows Phone appsapplication developmentTizencross-OS developmentNASAPhoneGapcross-OS development platformPalmBBCwebOSiOS appssoftwareBlackBerry appsmobile app developmentmobile appsGapNestleBadasymbianapplicationsApache CordovaprogrammingNetworkingwirelessoperating systemsopen source app developmentandroid appsApp Development



In Pictures: Robots that cook, clean, sing and dance
Tech Hive

In Pictures: Robots that cook, clean, sing and dance

Cooking, learning language and doing the laundry are a few of the human skills demonstrated by.real humanoid bots featured in the National Geographic movie Robots.

In Pictures: Robots that cook, clean, sing and dance
IN PICTURES: OKI Data Australia partner event (+10 photos)
Business Products

IN PICTURES: OKI Data Australia partner event (+10 photos)

OKI recently hosted its ChannelOne dealer forum for its executive series channel partners to get together and learn about the company's new high-performance ES8400 A3 multifunction series printers. After a welcome and business overview from OKI Data Australia managing director, Dennie Kawahara, delegates were given a comprehensive overview of the new product, as well as an update on the latest marketing initiatives and software solutions, before being treated to live demos and a product showcase. Partners were also given a preview of OKI’s upcoming A3 digital LED white toner printer. With more than 60 delegates attending from all over the country, the day concluded with dinner at Casa Ristorante Italiano in Sydney and several delegates also participated in a friendly game of golf the following morning.

IN PICTURES: OKI Data Australia partner event (+10 photos)

iasset.com is a channel management ecosystem that automates all major aspects of the entire sales, marketing and service process, including data tracking, integrated learning, knowledge management and product lifecycle management.

Show Comments