phonegap introduction
TRANSCRIPT
![Page 1: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/1.jpg)
Phonegap introductionJosep RocaAntti Vuorela
Android Aalto Community 2012
![Page 2: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/2.jpg)
Too many platforms
![Page 3: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/3.jpg)
![Page 4: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/4.jpg)
![Page 5: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/5.jpg)
![Page 6: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/6.jpg)
![Page 7: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/7.jpg)
![Page 8: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/8.jpg)
![Page 9: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/9.jpg)
![Page 10: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/10.jpg)
![Page 11: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/11.jpg)
![Page 12: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/12.jpg)
![Page 13: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/13.jpg)
![Page 14: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/14.jpg)
Time...
![Page 15: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/15.jpg)
Money...
![Page 16: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/16.jpg)
App development is tedious
![Page 17: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/17.jpg)
Different languages, frameworks, tools, capabilities...
![Page 18: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/18.jpg)
Adding new features... fixing bugs for every platform...?
![Page 19: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/19.jpg)
Do we need apps?
![Page 20: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/20.jpg)
![Page 21: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/21.jpg)
Cannot access hardware
![Page 22: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/22.jpg)
- Camera- Local filesystem- Accelerometer- Contacts- Media- ...
![Page 23: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/23.jpg)
![Page 24: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/24.jpg)
- Phonegap - Apache Callback - Apache Cordova
Source: http://phonegap.com/2012/03/19/phonegap-cordova-and-what%E2%80%99s-in-a-name/
Beware the name
![Page 25: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/25.jpg)
![Page 26: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/26.jpg)
![Page 27: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/27.jpg)
![Page 28: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/28.jpg)
![Page 29: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/29.jpg)
Source: http://phonegap.com/about/features
![Page 30: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/30.jpg)
1
![Page 31: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/31.jpg)
2
![Page 32: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/32.jpg)
3
![Page 33: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/33.jpg)
Gotchas
Future OS upgrades might break your Phonegap application.
![Page 34: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/34.jpg)
Gotchas
UX will differ from native applications.After all, your app runs in a web browser.
![Page 35: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/35.jpg)
Gotchas
Debugging is pretty hard.- You have the console object...- ... but cannot list object properties
with a single statement - Remote debugging is the solution
![Page 36: PhoneGap introduction](https://reader034.vdocuments.us/reader034/viewer/2022052301/5552a15ab4c9051f108b5561/html5/thumbnails/36.jpg)