Who does web development?Whois a mobile developer?Who knowswhatPhoneGapis?Who hascreated a PhoneGapapplication?
So whatare hybrid apps?In shorttheyarethegeniuschildof Native Apps and Web apps.Theyreallyhavethebeneffitsofthebothworlds.
PhoneGap answers another issue many companies / customers / developers have: the ability of distributing web apps through application stores.
PhoneGap could be the default option for many application types especially if you want to target multiple platforms, you know web technologies, and you have an existing REST API that you could reuse with your PhoneGap app.
What platforms does PhoneGap support?It is the only open source framework that supports 7 platforms AFAIK. From iOS and Android to Windows Phone and BlackBerryHere is a list of built-in out of the box device APIs supported by PhoneGap. It supports accelerometer, all sort of notifications, storage, contacts and file APIs and so forth. Where you see an X the reason is that the device doesn’t have the capability most of times and not a PhoneGap issue. For example there is no accelerometer on on older iPhones.
Most of the time you’ll be building your PhoneGap app the same way you build web apps.- Using your favorite editors (Eclipse, vim, Dreamweaver, Visual Studio)- Test and debug the app using your desktop browser- Test and debug the app using mobile simulators/emulators and the physical devices
PhoneGap Build is
Atthispoint I shouldstopandquicklyexplainwhatistherelationbetweenPhoneGapand Apache Cordova.PhoneGap was developedby a smallcompanycalledNitobi. When Adobe boughtthiscompany last year, wereleasedthesourcecodeas an open sourceprojectunder Apache Foundation. Andthenameofthisproject was changedfromPhoneGaptoCordova. Ofcourse Adobe continuestobeoneofthemaincontributorstogetherwithothercompanieslike IBM, RIM, or Microsoft.Today PhoneGapisthenameofAdobe‘sCordovadistribution.
Mobile Development1. Native Apps2. Web Apps3. Hybrid Apps@mcorlan
Why would you use PhoneGap? Native Installers -> Application Stores Use standard web technologies@mcorlan
Contributors Adobe – of course ;) Microsoft – Windows Phone support BlackBerry - BlackBerry support / Ripple Emulator IBM@mcorlan
PhoneGap Plug-ins Extend the built-in functionality with custom plug-ins http://wiki.phonegap.com/w/page/36752779/PhoneGap%20Plugins Examples: https://github.com/phonegap/phonegap-plugins Delegate heavyweight data processing to native code Create background services@mcorlan
Who else is using PhoneGap? SalesForce.com Mobile SDK IBM Worklight Platform SAPSome numbers: ~ 4% apps in iTunes Store use PhoneGap (Sep 2011) ~ 100,000 monthly downloads of PhoneGap SDK@mcorlan
Build PhoneGap app as you’d build a regular web app@mcorlan
Creating the native installersThere are 2 different methods: Using the target platform tool chain Using PhoneGap Build – a cloud service@mcorlan
Using PhoneGap Build http://build.phonegap.com Supports: iOS, Android, BlackBerry, WebOS, Windows Phone 7, andSymbian It is in beta and it is free; it will always be free for Open Source projects You upload your files (index.html, CSS, JS, images) Or you provide a Git / SVN link@mcorlan