Working with Phonegap 3, Hello World, using command line interface, phonegap javascript apis, deploy for ios and android, phonegap build, awesome tools and tips for web and mobile web development are mentioned this presentation.
2. Agenda
• What is Phonegap?
• Cross-platform apps, scopes and limitations.
• Requirements & Hello World Phonegap.
• Phonegap workflow.
• Code once, deploy for iOS, Android, Blackberry, OsX,
Win8.
• UI frameworks optimized for mobile web.
• Connecting Phonegap with external services.
• Tools for the back-end.
• Debugging, optimizing and securing web apps.
• Powerful tools and tips for web and mobile web apps.
6. Browser Native shell Native shell Native app
Web code
Device APIs
Device APIs
Native code
Device APIs
Web code
Javascript
API
Browser
Access
Hybrid apps - webHybrid apps - mixed Native app
HTML5
Device APIs
Installable
.apk, .ipa
Installable
.apk, .ipa
Installable
.apk, .ipa
NOT Installable
Native code
Web code
Mobile app development
7. Getting started with
Phonegap Build
.apk, .ipa …
Advantages:
- It compiles in the cloud.
- Support multiple platforms.
- Share your apps easily.
- Nice development cycle (Git CVS)
What do you need?
- A .git repository
- A .zip file
https://build.phonegap.com/
9. Getting started with the
Phonegap CLI
>_ phonegap create [path/to/projectname] [com.packagename.x] [AppName]
>_ phonegap build [platform]
>_ phonegap local plugin add org.apache.cordova.device
>_ phonegap local plugin add org.apache.cordova.console
>_ phonegap local plugin list
>_ phonegap run [platform]
Android Requirements:
Java SE
ANT
Android SDK
Node.js
*Google Play Dev
Account
iOS Requirements:
Xcode
Command Line Tools
Node.js
*Apple dev program
Windows 8:
Visual Studio 2012
(Install everything… unless
you want to get a Blue
screen)
Node.js
*Windows store registration