Developing with PhonegapBuilding mobile applications with HTML/JS
Ryan Stewart Web Developer Advocate, Adobe firstname.lastname@example.org blog.digitalbackcountry.com @ryanstewart github.com/ryanstewartBased in SeattleThings I Like: Beer Mountaineering/Hiking/Backpacking Geolocation/Mapping stuff
The moral reason:The web is awesome
The realistic reason: Cross platformapplications with HTML/CSS/JS will be faster and easier
What is PhoneGap?
Your CodeNative Web View
Your CodeNative Web View Native APIs
Your Code Native Web View Native APIsNative App - .apk, .ipa, etc
PhoneGap uses the native browseron the device to render the HTML/ CSS/JS Keep in mind that can affect theexperience. It also keeps apps nice and small
PhoneGap uses thenative projectformat for eachplatform.Open, emulate,and test fromwithin the nativedevelopmentenvironment!
Because it’s usingthe native projectsit’s fullyextendable.
Quick segue: mobile web apps versusmobile applications
Very important tokeep in mind thatwe’re building amobile app, not amobile web app.Let’s look atjQuery Mobile
You can use ANYframework youwant, but try todesign for an app.
Diving into thePhoneGap APIs
- Accelerometer - Camera - CaptureOut of the box, - Compass - ConnectionPhoneGap - Contacts - Deviceprovides support - Eventsfor a number of - - File Geolocationbasic device APIs - - Media Network - Notiﬁcation - Storage