LWN.net Logo

PhoneGap 2.0 released

The Adobe PhoneGap 2.0 release is available. "PhoneGap allows developers to build cross-platform mobile applications using HTML5, CSS3 and Javascript. With PhoneGap, you can re-use your existing web developer skills and use the PhoneGap API to gain access to native features that aren’t accessible in mobile browsers." New features include a cross-platform command-line interface, better documentation, and integration with Apache Cordova.
(Log in to post comments)

PhoneGap 2.0 released

Posted Jul 21, 2012 4:36 UTC (Sat) by flewellyn (subscriber, #5047) [Link]

So, Adobe AIR redux?

PhoneGap 2.0 released

Posted Jul 21, 2012 14:53 UTC (Sat) by drag (subscriber, #31333) [Link]

Seems like the same sort of thing except this is for HTML5.

PhoneGap 2.0 released

Posted Jul 21, 2012 21:36 UTC (Sat) by man_ls (subscriber, #15091) [Link]

I don't know about Adobe AIR, but PhoneGap is primarily an argument for companies that do not want to invest in native apps. As such it doesn't even need to work, just provide the excuse. Then when things need to work resources are already committed.

PhoneGap 2.0 released

Posted Jul 21, 2012 22:01 UTC (Sat) by Los__D (guest, #15263) [Link]

Not really. It more or less just makes a webapp able to use native functionality, like camera, accelerometer, contact access etc, through JavaScript, and wraps it up as an installable app.

The funny part is that PhoneGap has become Apache Cordova, and Adobe PhoneGap is now a distribution of Cordova, whatever that is supposed to mean in that context.

PhoneGap 2.0 released

Posted Jul 22, 2012 2:52 UTC (Sun) by flewellyn (subscriber, #5047) [Link]

Ahhhh. Handy. Handy handy. This could indeed be an actually useful thing.

Avoid Cross-Platform Mobile Frameworks

Posted Jul 22, 2012 0:29 UTC (Sun) by ldo (subscriber, #40946) [Link]

The consensus seems to be that trying to use cross-platform frameworks to develop common apps for, say, both IOS and Android leads to a mediocre user experience on both platforms. Users on each platform have become accustomed to platform-specific ways of doing things, and it behooves you as a developer to cater to that.

Sure, using this stuff lowers your costs, but it also lowers your quality. And if you can’t afford to offer a quality product, why should the users be interested?

Avoid Cross-Platform Mobile Frameworks

Posted Jul 22, 2012 1:56 UTC (Sun) by robla (subscriber, #424) [Link]

Which consensus? I think it pretty much depends on the app you're creating and which framework you're using.

The Wikimedia Foundation (where I work) is using PhoneGap for building the official Wikipedia app for Android, iOS, Blackberry Playbook, and Windows 8.

The nice thing about PhoneGap (from what I understand) is that you build the core of your UI in HTML, and then it's simple enough to replace portions of the app with native portions where necessary. Using PhoneGap, we're able to share a lot of work not only between the apps, but also with the mobile version of the website.

Since many platforms have HTML as a core component of their UI (e.g. WebOS, Boot2Gecko, Metro, Playbook, Chrome), and there's so much work going on to optimize HTML on all platforms, and no matter what, you almost certainly need to at least have a mobile web interface in addition to your app if you have any significant web presence, it's not dumb at all to invest the bulk of your work on HTML.

For some applications, it makes sense to invest heavily in native iOS and Android development. However, there are plenty of cases where it doesn't make sense at all.

Avoid Cross-Platform Mobile Frameworks

Posted Jul 24, 2012 16:57 UTC (Tue) by Again (guest, #71356) [Link]

Two good articles to read that argue against "write once run anywhere" style of mobile development are here:
http://www.androiduipatterns.com/2012/03/multi-platform-f...

and a follow-up here:
http://www.androiduipatterns.com/2012/04/multi-platform-f...

Avoid Cross-Platform Mobile Frameworks

Posted Jul 26, 2012 6:45 UTC (Thu) by Tobu (subscriber, #24111) [Link]

It's a bit of a rant, so I'll just pick a few arguments I don't agree with. It isn't native: html/js apps are a supported way to build apps for most platforms. It crashes: I doubt it, for html apps. It's the least common denominator: you're just responding to robla, who pointed out “it's simple enough to replace portions of the app with native portions where necessary”.

PhoneGap 2.0 released

Posted Jul 29, 2012 21:07 UTC (Sun) by pabs (subscriber, #43278) [Link]

Hmm, it doesn't support FSO (http://freesmartphone.org/).

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds