29
PhoneGap & PhoneGap Build Mihai Corlan / @mcorlan Multi-Mania.be / 2013

PhoneGap Session at Multi-Mania.be 2013

Embed Size (px)

DESCRIPTION

My PhoneGap session at Multi-Mania.be 2013.

Citation preview

Page 1: PhoneGap Session at Multi-Mania.be 2013

PhoneGap & PhoneGap Build

Mihai Corlan / @mcorlan

Multi-Mania.be / 2013

Page 2: PhoneGap Session at Multi-Mania.be 2013

Who I am

Mihai Corlan / Adobe Evangelist / @mcorlan

Page 3: PhoneGap Session at Multi-Mania.be 2013

Welcome toTransylvania

Page 4: PhoneGap Session at Multi-Mania.be 2013

No Vampires!

Page 5: PhoneGap Session at Multi-Mania.be 2013

We <3 …

Page 6: PhoneGap Session at Multi-Mania.be 2013

Who are you?

Page 7: PhoneGap Session at Multi-Mania.be 2013

Mobile Development

1. Native Apps2. Web Apps3. Hybrid Apps

@mcorlan

Page 8: PhoneGap Session at Multi-Mania.be 2013

Why would you use PhoneGap?

Native Installers -> Application Stores Use standard web technologies

@mcorlan

Page 9: PhoneGap Session at Multi-Mania.be 2013

PhoneGap could be your best friend if

You want to target multiple mobile platforms You know HTML/JavaScript/CSS Extend existing in-browser apps with native features Data-centric apps, social networking, simple games

@mcorlan

Page 10: PhoneGap Session at Multi-Mania.be 2013

Contributors

Adobe – of course ;) Microsoft – Windows Phone support BlackBerry - BlackBerry support / Ripple Emulator IBM

@mcorlan

Page 11: PhoneGap Session at Multi-Mania.be 2013

PhoneGap supports 8 platforms

@mcorlan

Page 12: PhoneGap Session at Multi-Mania.be 2013

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

Page 13: PhoneGap Session at Multi-Mania.be 2013

Who else is using PhoneGap?

SalesForce.com Mobile SDK IBM Worklight Platform SAP

Some numbers: ~ 4% apps in iTunes Store use PhoneGap (Sep 2011) ~ 100,000 monthly downloads of PhoneGap SDK

@mcorlan

Page 14: PhoneGap Session at Multi-Mania.be 2013

Demo

@mcorlan

Page 15: PhoneGap Session at Multi-Mania.be 2013

Building PhoneGap Apps

@mcorlan

Page 16: PhoneGap Session at Multi-Mania.be 2013

What can you use to build your app?

@mcorlan

Page 17: PhoneGap Session at Multi-Mania.be 2013

Untappd

@mcorlan

iOS Android

Page 18: PhoneGap Session at Multi-Mania.be 2013

Build PhoneGap app as you’d build a regular web app

@mcorlan

Page 19: PhoneGap Session at Multi-Mania.be 2013

Creating the native installers

There are 2 different methods: Using the target platform tool chain Using PhoneGap Build – a cloud service

@mcorlan

Page 20: PhoneGap Session at Multi-Mania.be 2013

Using PhoneGap Build

http://build.phonegap.com Supports: iOS, Android, BlackBerry, WebOS, Windows Phone

7, and Symbian 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

Page 21: PhoneGap Session at Multi-Mania.be 2013

Resources

Source code: github.com/phonegap Docs: docs.phonegap.com Wiki: wiki.phonegap.com PhoneGap Build: build.phonegap.com PhoneGap Emulate: emulate.phonegap.com Plugins: github.com/phonegap/phonegap-plugins Support: groups.google.com/group/phonegap IRC: irc.freenode.net #phonegap Apps: phonegap.com/apps Bugs: issues.apache.org/jira/browse/CB

@mcorlan

Page 22: PhoneGap Session at Multi-Mania.be 2013

Questions & Answers!

Thank you!

Mihai Corlan@mcorlanhttp://corlan.org

Page 23: PhoneGap Session at Multi-Mania.be 2013

PhoneGap Debug

http://debug.phonegap.com

#CreateTheWeb

Page 24: PhoneGap Session at Multi-Mania.be 2013

PhoneGap Emulate

http://emulate.phonegap.com

#CreateTheWeb

Page 25: PhoneGap Session at Multi-Mania.be 2013

PhoneGap Build Demo

Page 26: PhoneGap Session at Multi-Mania.be 2013

PhoneGap Build Demo

Page 27: PhoneGap Session at Multi-Mania.be 2013

PhoneGap Build Demo

Page 28: PhoneGap Session at Multi-Mania.be 2013

How does PhoneGap work?

PhoneGap App Mobile Device

PhoneGapNativeEngine

PhoneGapJavaScriptEngine

Web ViewRenders the app UI

Access to nativemobilefeaturesYour Code

HTML/JavaScript/CSS/Images/Frameworks/Libraries

Page 29: PhoneGap Session at Multi-Mania.be 2013

29

PhoneGap Apache Cordova?

#CreateTheWeb