PhoneGap is an open-source framework (Apache Cordova) that allows you to create cross-platform mobile apps using the web technologies you know and love: HTML, CSS, and JavaScript. Learn how PhoneGap works and how it will enable you to start building mobile apps with web standards. You will also get an introduction to PhoneGap Build which allows you to package mobile apps in the cloud.
27. • Accelerometer - when the device moves
• Camera - pictures of your cat
• Capture - audio, video, stills of your cat
• Compass - for when you're lost
• Connection - type of connection
• Contacts - find and create new friends
Features
28. • Device - device and OS version metadata
• Events - various app/hardware related
events
• File - native file system access (+ upload)
• Geolocation - for when you're lost
• Globalization - date/number/currency
formatting
Features
29. • Media - related to audio playback
(supports record as well)
• Notification - visual, audible, and tactile
notifications
• Splashscreen - for your splash screen
needs
• Storage - Mini database
Features
30. Beyond the mobile web
PhoneGap is extensible with a “native plugin”
model that enables you to write your own
native logic to access via JavaScript.
There are lots of open source plugins at
https://github.com/phonegap/phonegap-
plugins
Learn more at
http://wiki.phonegap.com/w/page/36752779
/ PhoneGap%20Plugins
37. • Desktop Browser
• Mobile via Web
• Ripple Emulator
• Local SDK to Simulator/Device
REAL WORLD BUILDING
38. • Pro: Super Fast
• Pro: No setup
• Pro: Debugging Rocks
• Con: UI isn't right
• Con: UX isn't right
• Con: Features missing
• Con: Security restrictions
DESKTOP BROWSER
39. • Pro: Kinda Fast
• Pro: Minimal setup
• Pro: UI and UX testing
• Con: Features missing
• Con: Security restrictions
• Con: Debugging (kinda) sucks
MOBILE VIA WEB
40. • Pro: Fast
• Pro: Similar UI
• Pro: Free
• Pro: Security restrictions gone
• Con: Doesn't support 100% of the PhoneGap
APIs
• Con: Still not on the device
RIPPLE EMULATOR
41. • Go to the Chrome Web Store:
https://chrome.google.com/webstore/category/
home
• Search for "ripple"
• Click Extensions
TO INSTALL
43. • Pro: The Real Deal
• Con: Slow(ish)
• Con: Not Free
• Con: Debugging can suck
TO BE CLEAR:
YOU MUST ALWAYS TEST ON A REAL DEVICE
LOCAL SDK TO SIMULATOR/DEVICE