About three weeks ago, I sat in on Jonathan Stark’s O’Reilly Webcast, “Building Hybrid Apps with PhoneGap” (Thursday, Feb. 21, 2013)
Stark covered:
- How to judge which platform is best for one’s project: HTML5, native dev SDKs or a hybrid approach, such as Phonegap.
- How to access device APIs with JavaScript – specifically the camera.
- Packaging apps locally
- Compiling apps using the PhoneGap web service – pretty cool automagical cloudness.
- Using native code to extend PhoneGap – the juicy part of the hybrid model.
His arguement was compelling.
IDEs used by the audience included jQuery mobile and Sencha Touch 2, Cordova, xCode, PhoneGap, Kendo UI, Rhomobile and Air.
To paraphrase the webcast spiel:
Native mobile app dev can be resource intensive. Mobile web apps are a relatively inexpensive alternative, but they can’t access desirable device APIs (e.g., camera, file system). Stark demonstrates how PhoneGap bridges this phone gap by wrapping web apps in native code using PhoneGap Build to create versions for all major smartphone platforms.
Jonathan Stark is author O’Reilly’s of ‘Building Android Apps with HTML, CSS, and JavaScript’ and ‘Building iPhone Apps with HTML, CSS, and JavaScript’.