PhoneGap introduction

Preview:

Citation preview

Phonegap introductionJosep RocaAntti Vuorela

Android Aalto Community 2012

Too many platforms

Time...

Money...

App development is tedious

Different languages, frameworks, tools, capabilities...

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

Do we need apps?

Cannot access hardware

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

- 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

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

1

2

3

Gotchas

Future OS upgrades might break your Phonegap application.

Gotchas

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

Gotchas

Debugging is pretty hard.- You have the console object...- ... but cannot list object properties

with a single statement - Remote debugging is the solution

Recommended