SlideShare a Scribd company logo
1 of 38
Download to read offline
Getting Acquainted
with PhoneGap
NATIONAL ASSOCIATION OF GOVERNMENT WEB PROFESSIONALS – MARCH 6 2014
Introduction


Mobile apps with Web Standards



Environment Configuration



Mobile Tooling



Mobile Frameworks



App Emulation



Release Builds



Deployment
Joseph Labrecque


Senior Interactive Software Engineer | Adjunct Faculty



Proprietor | Owner



Adobe Community Professional
Adobe Education Leader
Adobe Certified Expert
Adobe Certified Educator
Adobe Influencer



Author



Artist

University of Denver

Fractured Vision Media, LLC

Lynda.com | Peachpit Press | Adobe Press | Packt Publishing |
O’Reilly Media | video2brain
An Early Morning Letter, Displaced | shivervein
Developing Mobile Apps


Lots of choices out there…


Native (Objective-C, Java)



Web (hosted like websites)



Hybrid (compiled/wrapped)


Compiled (Adobe AIR)



Wrapped (PhoneGap)
Introducing PhoneGap
MOBILE APPLICATIONS BUILT WITH WEB STANDARDS
PhoneGap and Cordova


Hybrid apps which leverage Web
Standards



Command line API



Apache Cordova
(similar to Apache Flex in structure)



Adobe PhoneGap
(Adobe’s version of Cordova)
HTML5, CSS, JavaScript


Use HTML and CSS for design and layout



Use JavaScript for functionality



PhoneGap is a wrapper



Basically an uber-WebView



Adds native capabilities
Target Platforms


Google Android



Apple iOS



Blackberry OS



Blackberry 10



WebOS



Windows Phone



Symbian



Bada
First Steps
GETTING EVERYTHING READY
Environment Setup


Node.js w/ NPM



PhoneGap



Ripple



Java JDK



Native SDK



ANT
Node.js and NPM


PhoneGap is installed and run
locally from Node.js



NPM handles installation and
updates



Command line driven



Easy to automate
PhoneGap Configuration


npm install -g phonegap


This will install the latest PhoneGap
build into your local system.



Pretty well automated.



This is also how you update PhoneGap
to a new version.
Project Generation


phonegap create test-app


This is the command to create a basic
application within your local system in order
to begin development.



The project at this point contains no platform
specific code at all.
Project Directory


cd test-app


Enter the app directory to begin
invoking app-specific
commands like build or emulate.



www is where the development
occurs!
Developing a Mobile App
TOOLS AND FRAMEWORKS
Developing with PhoneGap


Using native SDKs



Configure tools



Configure dependencies





Download additional tools

Lots of work, initially

Using plain web technology


Simply write HTML, CSS, and
JavaScript



Upload to PhoneGap Build to
compile and test
Brackets


Code editor for HTML, CSS, and
JavaScript



Open source software



http://brackets.io/



Node.js is built in – no separate local
web server needed for testing!



Live view – see changes in the browser
as you make them.



Edge Code CC is based upon
Brackets.
Dreamweaver CC


Multiple styles of working; design,
develop, hybrid…



Split view with live WebKit
rendering allows for immediate
verification of edits



Phonegap Build integration



Backend support as well
Edge Animate CC


DOM based HTML animation and
interactivity.



Fully responsive scaling of content
just like with Flash. Even images
and text!



Create rich content to include
within PhoneGap applications.
Edge Reflow CC


Visually prototype responsive
web design.



Uses a system of breakpoints just
like CSS media queries.



Design your complete UI visually
in Reflow – use it in your
PhoneGap app!
Flash Professional CC


“Flash is Dead!” - false




Installed over 500 million times in
the second half of 2013.





More than 175,000 applications
using AIR 3.8 or greater.

Reach 11 times more people than
the best-selling hardware game
console!

Plus: publish to HTML5 Canvas and
integrate with PhoneGap :)

http://www.adobe.com/products/flashruntimes/statistics.html
Mobile UI & Development Frameworks


jQuery Mobile



Twitter Bootstrap



TopCoat



Angular.js



Backbone.js



Sencha



And many more…
Beyond Web Standards
TAKING YOUR APP TO THE NEXT LEVEL
PhoneGap Features


Accelerometer



Network



Camera



Notification (Alert)



Compass



Notification (Sound)



Contacts



Notification (Vibration)



File



Storage



Geolocation



Media
PhoneGap Plugins


phonegap plugin add org.apache.cordova.geolocation


BarcodeScanner



Facebook Connect



GAPlugin



StatusBar



Calendar



Bluetooth



PhoneDialer



Clipboard



100s more…

https://build.phonegap.com/plugins
Testing, Debugging, Distribution!
GETTING YOUR APP READY FOR PRIMETIME
Emulating with Ripple


npm install -g ripple-emulator




Installs the Ripple device
emulator to your local system.

ripple emulate


Launches Chrome with Ripple
enabled for testing.



Be sure to build first!
Emulating with Native SDKs


phonegap run android


If you have a native emulator running,
PhoneGap will detect it, install the app, and
launch it for testing.



You can also test upon a device which is
connected to your local machine in this way.
Building a Release Locally


phonegap build android


Will build an app package based upon the
particular platform specified.



Android… in this case.



Do NOT edit files within “platforms”…
Updating an App


phonegap platform update android


Will update the app to use a newer
version of PhoneGap.



Of course… you have to update
PhoneGap itself first!
Using PhoneGap Build


/www/config.xml



Upload .zip



Link to Git repository



Hydration!
ConfiGAP Utility


Create config.xml files easily



Used with PhoneGap Build



Create new config.xml files or
edit existing ones



Made with AIR/Flash – crossplatform

http://configap.com/
App Deployment and Publication


Take each properly signed
release build and upload to
the appropriate distribution
point.



Every mobile app store is
different.
Joseph’s Workflow…
1.

Test using Brackets via www directory. No compile step!

2.

Emulate via Ripple

3.

Emulate via native tools

4.

Debug on device

5.

Use Hydration to test on multiple devices

6.

Release build

7.

Distribution
Closing Remarks
JUST A COUPLE MORE THINGS…
Building a Mobile App with
Feathers and Starling












Downloading the frameworks and
the AIR SDK
Configuring the project
Implementing a theme
Creating the screen classes
Adding a navbar component
Building the classes
Returning saved files
Publishing a project
Installing and running the app

http://www.lynda.com/JosephLabrecque
Learning Adobe Edge Animate


Master the Edge Animate interface and unleash your
creativity through standard HTML, CSS, and JavaScript



Packed with an abundance of information regarding
the Edge Animate application and related toolsets



Robust motion and interactivity through web standards



Those approaching Edge Animate from Adobe Flash
Professional will find many references and tips for a
smooth transition



A comprehensive guide for creating engaging content
with Adobe Edge Animate.

http://www.amazon.com/Joseph-Labrecque/e/B0057R7UO0/
Thanks. Questions?
CONTACT JOSEPH


@JosephLabrecque



JosephLabrecque.com



Joseph.Labrecque@du.edu

More Related Content

What's hot

Introduction to PhoneGap
Introduction to PhoneGapIntroduction to PhoneGap
Introduction to PhoneGapQuang Minh Dao
 
PhoneGap: Building Mobile Applications with HTML/JS
PhoneGap: Building Mobile Applications with HTML/JSPhoneGap: Building Mobile Applications with HTML/JS
PhoneGap: Building Mobile Applications with HTML/JSRyan Stewart
 
Mobile Development with PhoneGap
Mobile Development with PhoneGapMobile Development with PhoneGap
Mobile Development with PhoneGapJoshua Johnson
 
The Phonegap Architecture
The Phonegap ArchitectureThe Phonegap Architecture
The Phonegap ArchitectureFrank Gielen
 
Cross platform mobile web apps
Cross platform mobile web appsCross platform mobile web apps
Cross platform mobile web appsJames Pearce
 
Building Hybrid Applications using PhoneGap
Building Hybrid Applications using PhoneGapBuilding Hybrid Applications using PhoneGap
Building Hybrid Applications using PhoneGapPrajyot Mainkar
 
Cross platform development
Cross platform developmentCross platform development
Cross platform developmentdftaiwo
 
Enterprise Hybrid Feasibility Analysis
Enterprise Hybrid Feasibility AnalysisEnterprise Hybrid Feasibility Analysis
Enterprise Hybrid Feasibility AnalysisLawrence Nyakiso
 
CIRCUIT 2015 - Hybrid App Development with AEM Apps
CIRCUIT 2015 - Hybrid App Development with AEM AppsCIRCUIT 2015 - Hybrid App Development with AEM Apps
CIRCUIT 2015 - Hybrid App Development with AEM AppsICF CIRCUIT
 
Developing for Xoom with Flash and AIR
Developing for Xoom with Flash and AIRDeveloping for Xoom with Flash and AIR
Developing for Xoom with Flash and AIRTerry Ryan
 
Cross platform approach for mobile application development : a survey
Cross platform approach for mobile application development : a surveyCross platform approach for mobile application development : a survey
Cross platform approach for mobile application development : a surveyMounaim Latif
 
Introduction to Hybrid Application Development
Introduction to Hybrid Application DevelopmentIntroduction to Hybrid Application Development
Introduction to Hybrid Application DevelopmentDotitude
 
JQuery Mobile vs Appcelerator Titanium vs Sencha Touch
JQuery Mobile vs Appcelerator Titanium vs Sencha TouchJQuery Mobile vs Appcelerator Titanium vs Sencha Touch
JQuery Mobile vs Appcelerator Titanium vs Sencha TouchSteve Drucker
 

What's hot (20)

Apache Cordova
Apache CordovaApache Cordova
Apache Cordova
 
Introduction to PhoneGap
Introduction to PhoneGapIntroduction to PhoneGap
Introduction to PhoneGap
 
Cross Platform Mobile Development
Cross Platform Mobile DevelopmentCross Platform Mobile Development
Cross Platform Mobile Development
 
Phonegap
PhonegapPhonegap
Phonegap
 
PhoneGap: Building Mobile Applications with HTML/JS
PhoneGap: Building Mobile Applications with HTML/JSPhoneGap: Building Mobile Applications with HTML/JS
PhoneGap: Building Mobile Applications with HTML/JS
 
Mobile Development with PhoneGap
Mobile Development with PhoneGapMobile Development with PhoneGap
Mobile Development with PhoneGap
 
The Phonegap Architecture
The Phonegap ArchitectureThe Phonegap Architecture
The Phonegap Architecture
 
Cross platform mobile web apps
Cross platform mobile web appsCross platform mobile web apps
Cross platform mobile web apps
 
PhoneGap
PhoneGapPhoneGap
PhoneGap
 
Building Hybrid Applications using PhoneGap
Building Hybrid Applications using PhoneGapBuilding Hybrid Applications using PhoneGap
Building Hybrid Applications using PhoneGap
 
Cross platform development
Cross platform developmentCross platform development
Cross platform development
 
Enterprise Hybrid Feasibility Analysis
Enterprise Hybrid Feasibility AnalysisEnterprise Hybrid Feasibility Analysis
Enterprise Hybrid Feasibility Analysis
 
Hybrid mobile apps
Hybrid mobile appsHybrid mobile apps
Hybrid mobile apps
 
CIRCUIT 2015 - Hybrid App Development with AEM Apps
CIRCUIT 2015 - Hybrid App Development with AEM AppsCIRCUIT 2015 - Hybrid App Development with AEM Apps
CIRCUIT 2015 - Hybrid App Development with AEM Apps
 
Developing for Xoom with Flash and AIR
Developing for Xoom with Flash and AIRDeveloping for Xoom with Flash and AIR
Developing for Xoom with Flash and AIR
 
Cross platform approach for mobile application development : a survey
Cross platform approach for mobile application development : a surveyCross platform approach for mobile application development : a survey
Cross platform approach for mobile application development : a survey
 
Introduction to Hybrid Application Development
Introduction to Hybrid Application DevelopmentIntroduction to Hybrid Application Development
Introduction to Hybrid Application Development
 
Webapi
WebapiWebapi
Webapi
 
Hybrid Mobile App
Hybrid Mobile AppHybrid Mobile App
Hybrid Mobile App
 
JQuery Mobile vs Appcelerator Titanium vs Sencha Touch
JQuery Mobile vs Appcelerator Titanium vs Sencha TouchJQuery Mobile vs Appcelerator Titanium vs Sencha Touch
JQuery Mobile vs Appcelerator Titanium vs Sencha Touch
 

Similar to Getting Acquainted with PhoneGap

Building Cross-Platform JavaScript Apps using Cordova
Building Cross-Platform JavaScript Apps using CordovaBuilding Cross-Platform JavaScript Apps using Cordova
Building Cross-Platform JavaScript Apps using CordovaNoam Kfir
 
Building Cross-Platform Mobile Apps
Building Cross-Platform Mobile AppsBuilding Cross-Platform Mobile Apps
Building Cross-Platform Mobile AppsTroy Miles
 
fdocuments.in_apache-cordova-overview.pptx
fdocuments.in_apache-cordova-overview.pptxfdocuments.in_apache-cordova-overview.pptx
fdocuments.in_apache-cordova-overview.pptxssuserd27db6
 
Getting started with PhoneGap
Getting started with PhoneGapGetting started with PhoneGap
Getting started with PhoneGapMihai Corlan
 
DroidCon 2011: Developing HTML5 and hybrid Android apps using Phonegap
DroidCon 2011: Developing HTML5 and hybrid Android apps using PhonegapDroidCon 2011: Developing HTML5 and hybrid Android apps using Phonegap
DroidCon 2011: Developing HTML5 and hybrid Android apps using PhonegapAyushman Jain
 
Mobile app development using PhoneGap - A comprehensive walkthrough - Touch T...
Mobile app development using PhoneGap - A comprehensive walkthrough - Touch T...Mobile app development using PhoneGap - A comprehensive walkthrough - Touch T...
Mobile app development using PhoneGap - A comprehensive walkthrough - Touch T...RIA RUI Society
 
PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe CampPhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe CampMihai Corlan
 
Flex multi-screen development
Flex multi-screen developmentFlex multi-screen development
Flex multi-screen developmenteaselsolutions
 
Workshop on Hybrid App Development with Ionic Framework
Workshop on Hybrid App Development with Ionic FrameworkWorkshop on Hybrid App Development with Ionic Framework
Workshop on Hybrid App Development with Ionic FrameworkAayush Shrestha
 
Hybrid Mobile Apps - Meetup
Hybrid Mobile Apps - MeetupHybrid Mobile Apps - Meetup
Hybrid Mobile Apps - MeetupSanjay Patel
 
What to choose for Mobile app development- React Native vs Native.
What to choose for Mobile app development- React Native vs Native.What to choose for Mobile app development- React Native vs Native.
What to choose for Mobile app development- React Native vs Native.Techugo
 

Similar to Getting Acquainted with PhoneGap (20)

Building Cross-Platform JavaScript Apps using Cordova
Building Cross-Platform JavaScript Apps using CordovaBuilding Cross-Platform JavaScript Apps using Cordova
Building Cross-Platform JavaScript Apps using Cordova
 
Hybrid mobile app
Hybrid mobile appHybrid mobile app
Hybrid mobile app
 
Building Cross-Platform Mobile Apps
Building Cross-Platform Mobile AppsBuilding Cross-Platform Mobile Apps
Building Cross-Platform Mobile Apps
 
fdocuments.in_apache-cordova-overview.pptx
fdocuments.in_apache-cordova-overview.pptxfdocuments.in_apache-cordova-overview.pptx
fdocuments.in_apache-cordova-overview.pptx
 
Getting started with PhoneGap
Getting started with PhoneGapGetting started with PhoneGap
Getting started with PhoneGap
 
Hybridapp
HybridappHybridapp
Hybridapp
 
PhoneGap/Cordova
PhoneGap/CordovaPhoneGap/Cordova
PhoneGap/Cordova
 
DroidCon 2011: Developing HTML5 and hybrid Android apps using Phonegap
DroidCon 2011: Developing HTML5 and hybrid Android apps using PhonegapDroidCon 2011: Developing HTML5 and hybrid Android apps using Phonegap
DroidCon 2011: Developing HTML5 and hybrid Android apps using Phonegap
 
phonegap_101
phonegap_101phonegap_101
phonegap_101
 
Mobile app development using PhoneGap - A comprehensive walkthrough - Touch T...
Mobile app development using PhoneGap - A comprehensive walkthrough - Touch T...Mobile app development using PhoneGap - A comprehensive walkthrough - Touch T...
Mobile app development using PhoneGap - A comprehensive walkthrough - Touch T...
 
Mobile Web Apps
Mobile Web AppsMobile Web Apps
Mobile Web Apps
 
Intro to PhoneGap
Intro to PhoneGapIntro to PhoneGap
Intro to PhoneGap
 
PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe CampPhoneGap/PhoneGap Build - Amsterdam Adobe Camp
PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
 
Flex multi-screen development
Flex multi-screen developmentFlex multi-screen development
Flex multi-screen development
 
Workshop on Hybrid App Development with Ionic Framework
Workshop on Hybrid App Development with Ionic FrameworkWorkshop on Hybrid App Development with Ionic Framework
Workshop on Hybrid App Development with Ionic Framework
 
Talk (2)
Talk (2)Talk (2)
Talk (2)
 
Hybrid Mobile Apps - Meetup
Hybrid Mobile Apps - MeetupHybrid Mobile Apps - Meetup
Hybrid Mobile Apps - Meetup
 
Phone gap
Phone gapPhone gap
Phone gap
 
Phone gap
Phone gapPhone gap
Phone gap
 
What to choose for Mobile app development- React Native vs Native.
What to choose for Mobile app development- React Native vs Native.What to choose for Mobile app development- React Native vs Native.
What to choose for Mobile app development- React Native vs Native.
 

More from Joseph Labrecque

Producing Quality Video Content for Online Learning
Producing Quality Video Content for Online LearningProducing Quality Video Content for Online Learning
Producing Quality Video Content for Online LearningJoseph Labrecque
 
Interactive Animation with Adobe Animate CC
Interactive Animation with Adobe Animate CCInteractive Animation with Adobe Animate CC
Interactive Animation with Adobe Animate CCJoseph Labrecque
 
Cinematic Interactives with Animate CC
Cinematic Interactives with Animate CCCinematic Interactives with Animate CC
Cinematic Interactives with Animate CCJoseph Labrecque
 
Getting Familiar with Animate CC
Getting Familiar with Animate CCGetting Familiar with Animate CC
Getting Familiar with Animate CCJoseph Labrecque
 
Animate CC and the Flash Runtimes at Adobe MAX
Animate CC and the Flash Runtimes at Adobe MAX Animate CC and the Flash Runtimes at Adobe MAX
Animate CC and the Flash Runtimes at Adobe MAX Joseph Labrecque
 
Don't Fear the SWF! (Adobe MAX Community Summit)
Don't Fear the SWF! (Adobe MAX Community Summit)Don't Fear the SWF! (Adobe MAX Community Summit)
Don't Fear the SWF! (Adobe MAX Community Summit)Joseph Labrecque
 
Adobe Animate CC: Introduction to Animation and Interactivity
Adobe Animate CC: Introduction to Animation and InteractivityAdobe Animate CC: Introduction to Animation and Interactivity
Adobe Animate CC: Introduction to Animation and InteractivityJoseph Labrecque
 
Adobe Animate CC: Tool for the Changing Tech Landscape
 Adobe Animate CC: Tool for the Changing Tech Landscape Adobe Animate CC: Tool for the Changing Tech Landscape
Adobe Animate CC: Tool for the Changing Tech LandscapeJoseph Labrecque
 
Surviving Industry Disruption in Higher Education
Surviving Industry Disruption in Higher EducationSurviving Industry Disruption in Higher Education
Surviving Industry Disruption in Higher EducationJoseph Labrecque
 
Designing Short, Simple, and Effective Video Content for Online Consumption
Designing Short, Simple, and Effective Video Content for Online ConsumptionDesigning Short, Simple, and Effective Video Content for Online Consumption
Designing Short, Simple, and Effective Video Content for Online ConsumptionJoseph Labrecque
 
Introducing Adobe Animate CC
Introducing Adobe Animate CCIntroducing Adobe Animate CC
Introducing Adobe Animate CCJoseph Labrecque
 
Flash Professional CC for Mobile
Flash Professional CC for MobileFlash Professional CC for Mobile
Flash Professional CC for MobileJoseph Labrecque
 
Flash Professional CC 2015: A New Era in Animation and Interactivity
Flash Professional CC 2015: A New Era in Animation and InteractivityFlash Professional CC 2015: A New Era in Animation and Interactivity
Flash Professional CC 2015: A New Era in Animation and InteractivityJoseph Labrecque
 
Adobe MAX 2015 - Giving Flash Professional Another Look
Adobe MAX 2015 - Giving Flash Professional Another LookAdobe MAX 2015 - Giving Flash Professional Another Look
Adobe MAX 2015 - Giving Flash Professional Another LookJoseph Labrecque
 
Why Flash Professional Still Matters for the Web and Beyond
Why Flash Professional Still Matters for the Web and BeyondWhy Flash Professional Still Matters for the Web and Beyond
Why Flash Professional Still Matters for the Web and BeyondJoseph Labrecque
 
Mobile Application Development Technology Roundup
Mobile Application Development Technology RoundupMobile Application Development Technology Roundup
Mobile Application Development Technology RoundupJoseph Labrecque
 
Adobe Generation Professional: Animation
Adobe Generation Professional:AnimationAdobe Generation Professional:Animation
Adobe Generation Professional: AnimationJoseph Labrecque
 
Flash Professional CC: Multiplatform Creativity Engine
Flash Professional CC: Multiplatform Creativity EngineFlash Professional CC: Multiplatform Creativity Engine
Flash Professional CC: Multiplatform Creativity EngineJoseph Labrecque
 

More from Joseph Labrecque (20)

Producing Quality Video Content for Online Learning
Producing Quality Video Content for Online LearningProducing Quality Video Content for Online Learning
Producing Quality Video Content for Online Learning
 
Interactive Animation with Adobe Animate CC
Interactive Animation with Adobe Animate CCInteractive Animation with Adobe Animate CC
Interactive Animation with Adobe Animate CC
 
Cinematic Interactives with Animate CC
Cinematic Interactives with Animate CCCinematic Interactives with Animate CC
Cinematic Interactives with Animate CC
 
Getting Familiar with Animate CC
Getting Familiar with Animate CCGetting Familiar with Animate CC
Getting Familiar with Animate CC
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Animate CC and the Flash Runtimes at Adobe MAX
Animate CC and the Flash Runtimes at Adobe MAX Animate CC and the Flash Runtimes at Adobe MAX
Animate CC and the Flash Runtimes at Adobe MAX
 
Don't Fear the SWF! (Adobe MAX Community Summit)
Don't Fear the SWF! (Adobe MAX Community Summit)Don't Fear the SWF! (Adobe MAX Community Summit)
Don't Fear the SWF! (Adobe MAX Community Summit)
 
Adobe Animate CC: Introduction to Animation and Interactivity
Adobe Animate CC: Introduction to Animation and InteractivityAdobe Animate CC: Introduction to Animation and Interactivity
Adobe Animate CC: Introduction to Animation and Interactivity
 
Adobe Animate CC: Tool for the Changing Tech Landscape
 Adobe Animate CC: Tool for the Changing Tech Landscape Adobe Animate CC: Tool for the Changing Tech Landscape
Adobe Animate CC: Tool for the Changing Tech Landscape
 
Surviving Industry Disruption in Higher Education
Surviving Industry Disruption in Higher EducationSurviving Industry Disruption in Higher Education
Surviving Industry Disruption in Higher Education
 
Designing Short, Simple, and Effective Video Content for Online Consumption
Designing Short, Simple, and Effective Video Content for Online ConsumptionDesigning Short, Simple, and Effective Video Content for Online Consumption
Designing Short, Simple, and Effective Video Content for Online Consumption
 
Introducing Adobe Animate CC
Introducing Adobe Animate CCIntroducing Adobe Animate CC
Introducing Adobe Animate CC
 
Bootstrap Fundamentals
Bootstrap FundamentalsBootstrap Fundamentals
Bootstrap Fundamentals
 
Flash Professional CC for Mobile
Flash Professional CC for MobileFlash Professional CC for Mobile
Flash Professional CC for Mobile
 
Flash Professional CC 2015: A New Era in Animation and Interactivity
Flash Professional CC 2015: A New Era in Animation and InteractivityFlash Professional CC 2015: A New Era in Animation and Interactivity
Flash Professional CC 2015: A New Era in Animation and Interactivity
 
Adobe MAX 2015 - Giving Flash Professional Another Look
Adobe MAX 2015 - Giving Flash Professional Another LookAdobe MAX 2015 - Giving Flash Professional Another Look
Adobe MAX 2015 - Giving Flash Professional Another Look
 
Why Flash Professional Still Matters for the Web and Beyond
Why Flash Professional Still Matters for the Web and BeyondWhy Flash Professional Still Matters for the Web and Beyond
Why Flash Professional Still Matters for the Web and Beyond
 
Mobile Application Development Technology Roundup
Mobile Application Development Technology RoundupMobile Application Development Technology Roundup
Mobile Application Development Technology Roundup
 
Adobe Generation Professional: Animation
Adobe Generation Professional:AnimationAdobe Generation Professional:Animation
Adobe Generation Professional: Animation
 
Flash Professional CC: Multiplatform Creativity Engine
Flash Professional CC: Multiplatform Creativity EngineFlash Professional CC: Multiplatform Creativity Engine
Flash Professional CC: Multiplatform Creativity Engine
 

Recently uploaded

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 

Recently uploaded (20)

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 

Getting Acquainted with PhoneGap

  • 1. Getting Acquainted with PhoneGap NATIONAL ASSOCIATION OF GOVERNMENT WEB PROFESSIONALS – MARCH 6 2014
  • 2. Introduction  Mobile apps with Web Standards  Environment Configuration  Mobile Tooling  Mobile Frameworks  App Emulation  Release Builds  Deployment
  • 3. Joseph Labrecque  Senior Interactive Software Engineer | Adjunct Faculty  Proprietor | Owner  Adobe Community Professional Adobe Education Leader Adobe Certified Expert Adobe Certified Educator Adobe Influencer  Author  Artist University of Denver Fractured Vision Media, LLC Lynda.com | Peachpit Press | Adobe Press | Packt Publishing | O’Reilly Media | video2brain An Early Morning Letter, Displaced | shivervein
  • 4. Developing Mobile Apps  Lots of choices out there…  Native (Objective-C, Java)  Web (hosted like websites)  Hybrid (compiled/wrapped)  Compiled (Adobe AIR)  Wrapped (PhoneGap)
  • 5. Introducing PhoneGap MOBILE APPLICATIONS BUILT WITH WEB STANDARDS
  • 6. PhoneGap and Cordova  Hybrid apps which leverage Web Standards  Command line API  Apache Cordova (similar to Apache Flex in structure)  Adobe PhoneGap (Adobe’s version of Cordova)
  • 7. HTML5, CSS, JavaScript  Use HTML and CSS for design and layout  Use JavaScript for functionality  PhoneGap is a wrapper  Basically an uber-WebView  Adds native capabilities
  • 8. Target Platforms  Google Android  Apple iOS  Blackberry OS  Blackberry 10  WebOS  Windows Phone  Symbian  Bada
  • 10. Environment Setup  Node.js w/ NPM  PhoneGap  Ripple  Java JDK  Native SDK  ANT
  • 11. Node.js and NPM  PhoneGap is installed and run locally from Node.js  NPM handles installation and updates  Command line driven  Easy to automate
  • 12. PhoneGap Configuration  npm install -g phonegap  This will install the latest PhoneGap build into your local system.  Pretty well automated.  This is also how you update PhoneGap to a new version.
  • 13. Project Generation  phonegap create test-app  This is the command to create a basic application within your local system in order to begin development.  The project at this point contains no platform specific code at all.
  • 14. Project Directory  cd test-app  Enter the app directory to begin invoking app-specific commands like build or emulate.  www is where the development occurs!
  • 15. Developing a Mobile App TOOLS AND FRAMEWORKS
  • 16. Developing with PhoneGap  Using native SDKs   Configure tools  Configure dependencies   Download additional tools Lots of work, initially Using plain web technology  Simply write HTML, CSS, and JavaScript  Upload to PhoneGap Build to compile and test
  • 17. Brackets  Code editor for HTML, CSS, and JavaScript  Open source software  http://brackets.io/  Node.js is built in – no separate local web server needed for testing!  Live view – see changes in the browser as you make them.  Edge Code CC is based upon Brackets.
  • 18. Dreamweaver CC  Multiple styles of working; design, develop, hybrid…  Split view with live WebKit rendering allows for immediate verification of edits  Phonegap Build integration  Backend support as well
  • 19. Edge Animate CC  DOM based HTML animation and interactivity.  Fully responsive scaling of content just like with Flash. Even images and text!  Create rich content to include within PhoneGap applications.
  • 20. Edge Reflow CC  Visually prototype responsive web design.  Uses a system of breakpoints just like CSS media queries.  Design your complete UI visually in Reflow – use it in your PhoneGap app!
  • 21. Flash Professional CC  “Flash is Dead!” - false   Installed over 500 million times in the second half of 2013.   More than 175,000 applications using AIR 3.8 or greater. Reach 11 times more people than the best-selling hardware game console! Plus: publish to HTML5 Canvas and integrate with PhoneGap :) http://www.adobe.com/products/flashruntimes/statistics.html
  • 22. Mobile UI & Development Frameworks  jQuery Mobile  Twitter Bootstrap  TopCoat  Angular.js  Backbone.js  Sencha  And many more…
  • 23. Beyond Web Standards TAKING YOUR APP TO THE NEXT LEVEL
  • 24. PhoneGap Features  Accelerometer  Network  Camera  Notification (Alert)  Compass  Notification (Sound)  Contacts  Notification (Vibration)  File  Storage  Geolocation  Media
  • 25. PhoneGap Plugins  phonegap plugin add org.apache.cordova.geolocation  BarcodeScanner  Facebook Connect  GAPlugin  StatusBar  Calendar  Bluetooth  PhoneDialer  Clipboard  100s more… https://build.phonegap.com/plugins
  • 26. Testing, Debugging, Distribution! GETTING YOUR APP READY FOR PRIMETIME
  • 27. Emulating with Ripple  npm install -g ripple-emulator   Installs the Ripple device emulator to your local system. ripple emulate  Launches Chrome with Ripple enabled for testing.  Be sure to build first!
  • 28. Emulating with Native SDKs  phonegap run android  If you have a native emulator running, PhoneGap will detect it, install the app, and launch it for testing.  You can also test upon a device which is connected to your local machine in this way.
  • 29. Building a Release Locally  phonegap build android  Will build an app package based upon the particular platform specified.  Android… in this case.  Do NOT edit files within “platforms”…
  • 30. Updating an App  phonegap platform update android  Will update the app to use a newer version of PhoneGap.  Of course… you have to update PhoneGap itself first!
  • 31. Using PhoneGap Build  /www/config.xml  Upload .zip  Link to Git repository  Hydration!
  • 32. ConfiGAP Utility  Create config.xml files easily  Used with PhoneGap Build  Create new config.xml files or edit existing ones  Made with AIR/Flash – crossplatform http://configap.com/
  • 33. App Deployment and Publication  Take each properly signed release build and upload to the appropriate distribution point.  Every mobile app store is different.
  • 34. Joseph’s Workflow… 1. Test using Brackets via www directory. No compile step! 2. Emulate via Ripple 3. Emulate via native tools 4. Debug on device 5. Use Hydration to test on multiple devices 6. Release build 7. Distribution
  • 35. Closing Remarks JUST A COUPLE MORE THINGS…
  • 36. Building a Mobile App with Feathers and Starling          Downloading the frameworks and the AIR SDK Configuring the project Implementing a theme Creating the screen classes Adding a navbar component Building the classes Returning saved files Publishing a project Installing and running the app http://www.lynda.com/JosephLabrecque
  • 37. Learning Adobe Edge Animate  Master the Edge Animate interface and unleash your creativity through standard HTML, CSS, and JavaScript  Packed with an abundance of information regarding the Edge Animate application and related toolsets  Robust motion and interactivity through web standards  Those approaching Edge Animate from Adobe Flash Professional will find many references and tips for a smooth transition  A comprehensive guide for creating engaging content with Adobe Edge Animate. http://www.amazon.com/Joseph-Labrecque/e/B0057R7UO0/