Multi-platform Mobile apps with Phonegap

Post on 20-Dec-2014

1.208 views 0 download

Tags:

description

A seminar given by me

Transcript of Multi-platform Mobile apps with Phonegap

Cross platformApp Development

About me

Gautam ChaudharyWeb & Mobile App developer

www.gautamchaudhary.com

Why mobile apps?

• billions of Smartphone units• more revenue potential• always with the user• … and everywhere.

Why Mobile apps?

Increase in revenue

Then what is the problem?

mobile is a minefield

Too many platforms

iOS…………………………….... Objective CAndroid……………………….. JavaBlackberry……………………. J2MEWindows Phone…………… .NetBada………………………….... C++WebOS………………………… HTML,CSS,JSUbuntu Phone……………… QML based QT and moreTizen……………………………. C++Firefox OS……………………. HTML,CSS,JS

Operating System Language used

you need to learn

NO.

many programmers and more money

…or

Yes, MORE money

• Inefficiency• Communication gap

• Bad Code• Delays

Then what?

Mobile Web

Mobile Web Apps

Cross-platform

Linkable

Native Web

Web Apps Result:

Cross-platform

Linkable

Discoverable

Device APIs

Native Web

Web Apps Result:

WHAT?!Device APIs?

Device APIs

Device APIs

Now what?

Nitobi Team

PhoneGap provides a JavaScript Library that reaches out into the native APIs.

That means anything the device supports is doable.

Camera API Example

Compatibility

Compatibility

iOSAndroidBlackberryWindows phonewebOS

SymbianTizenFirefox OSUbuntu Mobile

Style Libraries

Jquery Mobile Android Holo Theme

Jquery Mobile iOS Theme

Kendo UI

But what if I need to do some

Native task?

Plugins

Plugins

Native code(Java, Obj C etc.)

Plugins

Examples

tripcase

Hockey Community

Completure - Police radio scanner

Warning

Phonegap is not a UI framework

PhoneGap doesn’t include a browser and or a rendering engine

Phonegap doesn’t compile

Every platform needs its own compilation

HTML5/CSS3 compatibility varies

Important points

• Performance and memory usage

• Responsive CSS using media queries

• DPIs

Multiple SDK, IDE problem

Phonegap Build

Don’t be fanatic

Be multiplatform

Be ready for future

Ubuntu phone

tizen

Firefox OS

Everything in HTML5/CSS

Thank you!

www.gautamchaudhary.com