GWT + PhoneGap = native mobile apps quickly
Posted by David Chandler on September 24, 2010
Josh Marinacci from Palm, Inc. gave a cool talk on PhoneGap at GTUG Atlanta tonight. PhoneGap lets you create App-store ready native apps (using a Web view) for all the major phone platforms using only HTML, JS, and the PhoneGap JS API. And it’s not just for HTML 5 features like Geolocation because the PhoneGap compiler creates native code for each platform to access platform-specific features like the accelerometer.
I was just about to ask if it would work with GWT when Josh pulled up a demo of the GWT StockWatcher tutorial running on an iPhone emulator. Basically, you run the GWT compiler first, then feed the resulting JS through the PhoneGap packager to create the native Web view app. There’s even an open source project (gwt-phonegap) that wraps the PhoneGap JS API as GWT Widgets.
The combination of GWT + PhoneGap makes it easier than ever to write cross-platform mobile apps in Java.
Bartee said
Very, very cool! ( I think
I still read all this stuff…
AA said
Cool! Please write more about this!
Aaron said
sounds promising… I looked at the open source project and there is NO activity at all, no wiki documentation or anything
Thomas Bachmann said
Hey,
I had a look on phone gap on iphone & co but I don’t like the performance. I prefer Titanium Mobile which uses native UI-Elements, what do you think of that?
zbw said
hi
Not know why I pulled that example does not come, do not know what to build a GWT-phoneGap the project and hoped to Which intentioned people can provide an additional URL to me it? Or send an example to the mailbox. (463693061@QQ.com)
AlexH said
I just wrote a brief entry on my early findings using GWT with PhoneGap. There is great untapped potential here if the GUI performance is acceptable.
http://alexoncode.blogspot.com/2010/11/gwt-and-phonegap.html
DennisJZH said
Just wanted to let you guys know that there is another GWT PhoneGap wrapper named GwtMobile-PhoneGap that is open source and currently supports PhoneGap 0.9.3. The project includes a kitchen sink demo that showcases all the PhoneGap functions. The kitchen sink runs on both Android and iPhone.
http://github.com/dennisjzh/GwtMobile-PhoneGap
Santosh Bhandarkar said
I think Titanium is suited in projects that require real native look and feel.
mobile web development said
mobile web development…
[...]GWT + PhoneGap = native mobile apps quickly « TurboManage[...]…
Marc Mayer said
I would use GWT + jp-mobile (http://code.google.com/p/jp-mobile/) + PhoneGap – I believe that’s currently so far the best solution!
Writing iPhone Apps using Java « cronote said
[...] http://turbomanage.wordpress.com/2010/09/24/gwt-phonegap-native-mobile-apps-quickly/ [...]