36
Phonegap introduction Josep Roca Antti Vuorela Android Aalto Community 2012

PhoneGap introduction

Embed Size (px)

Citation preview

Page 1: PhoneGap introduction

Phonegap introductionJosep RocaAntti Vuorela

Android Aalto Community 2012

Page 2: PhoneGap introduction

Too many platforms

Page 3: PhoneGap introduction
Page 4: PhoneGap introduction
Page 5: PhoneGap introduction
Page 6: PhoneGap introduction
Page 7: PhoneGap introduction
Page 8: PhoneGap introduction
Page 9: PhoneGap introduction
Page 10: PhoneGap introduction
Page 11: PhoneGap introduction
Page 12: PhoneGap introduction
Page 13: PhoneGap introduction
Page 14: PhoneGap introduction

Time...

Page 15: PhoneGap introduction

Money...

Page 16: PhoneGap introduction

App development is tedious

Page 17: PhoneGap introduction

Different languages, frameworks, tools, capabilities...

Page 18: PhoneGap introduction

Adding new features... fixing bugs for every platform...?

Page 19: PhoneGap introduction

Do we need apps?

Page 20: PhoneGap introduction
Page 21: PhoneGap introduction

Cannot access hardware

Page 22: PhoneGap introduction

- Camera- Local filesystem- Accelerometer- Contacts- Media- ...

Page 23: PhoneGap introduction
Page 24: PhoneGap introduction

- 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
Page 26: PhoneGap introduction
Page 27: PhoneGap introduction
Page 28: PhoneGap introduction
Page 29: PhoneGap introduction

Source: http://phonegap.com/about/features

Page 30: PhoneGap introduction

1

Page 31: PhoneGap introduction

2

Page 32: PhoneGap introduction

3

Page 33: PhoneGap introduction

Gotchas

Future OS upgrades might break your Phonegap application.

Page 34: PhoneGap introduction

Gotchas

UX will differ from native applications.After all, your app runs in a web browser.

Page 35: PhoneGap introduction

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