30
Android Development Made Easy With Appcelerator Titanium Gaurav Kheterpal [email protected]

Android development made easy with appcelerator titanium

Embed Size (px)

Citation preview

Page 1: Android development made easy with appcelerator titanium

Android Development Made Easy With Appcelerator

Titanium

Gaurav Kheterpal

[email protected]

Page 2: Android development made easy with appcelerator titanium

Agenda (Stay Awake, Stay Healthy )

2

• Quick Intro

• Overview

• Web vs. Native

• Cross Platform Development

• What is Titanium?

• Titanium Mobile Architecture

• Android Development With Titanium

• What is Titanium Studio?

• Setting Up Titanium Studio

• Why Titanium?

• Case Study/ Demo

• Questions and Answers

Page 3: Android development made easy with appcelerator titanium

Quick Intro

3

• Engineering Post Graduate from BITS, Pilani (Education

spoiled me)

• Mobile + Web Developer With 12 Years of Industry

Experience (I’m getting old )

• HP webOS Green Belt & webOS Ambassador for India

(Forgotten Story)

• Android, iOS Developer (That’s where the mullah is)

• Appcelerator Titanium Titan (Wish they paid me too )

• Keen Interest in Cross-Platform Frameworks such as

Titanium, PhoneGap, Sencha Touch and others (That’s the

only way to get free entry to events such as DroidCon )

Page 4: Android development made easy with appcelerator titanium

Overview

4

• Founded in 2007

• Relocated from Atlanta 2008 (Believe

me - there are startups in Atlanta)

• 18 employees a year ago (Startup

Blues)

• 100+ today, double next year (Same

growth rate as India’s population?)

• Mountain View HQ

• Worldwide presence

• VC Funded: Storm Ventures, Sierra

Ventures, eBay (Lots of $$$)

Page 5: Android development made easy with appcelerator titanium

Web vs. Native

5

• Web – An Unlikely Hero

• Easy to develop, deploy

• Cross Platform (Really?)

• Open Standards (Flash killed!)

• Leverage Your Web Development

Skills (But Native is Cool)

• Designer vs. Developers

• Performance

• Offline

• Hardware Interaction

• Triple Play - Mobile, Social And

Cloud

Page 6: Android development made easy with appcelerator titanium

Web vs. Native

6

Page 7: Android development made easy with appcelerator titanium

Cross Platform

Development

7

Cross-Platform !== “Write Once, Run Everywhere”

• Cross-Platform in Titanium means:

• Lots of UI code reuse, depending on design

• Best-in-class experience on every platform

• “Write Once, Adapt Everywhere”

Page 8: Android development made easy with appcelerator titanium

What is Titanium?

8

Website: http://appcelerator.com

Twitter: http://twitter.com/appcelerator

Source: http://github.com/appcelerator

Titanium is an open source framework for

building native desktop and mobile

applications using open web technologies

(HTML, CSS, and JavaScript)

Page 9: Android development made easy with appcelerator titanium

What is Titanium?

9

Integrated Mobile

Platform

for Enterprise and

Consumer

Applications

Page 10: Android development made easy with appcelerator titanium

What is Titanium?

10

Titanium applications are divided into 4 main parts:

• HTML/CSS/javascript code that makes up the core application logic

and UI

• APIs that access native device/desktop functionality, analytics or

other modular functionality

• The language-OS bridge that compiles web code into native

application code

• The run-time shell that packages the application for cross-platform

distribution.

Page 11: Android development made easy with appcelerator titanium

Titanium Mobile

Architecture

11

Page 12: Android development made easy with appcelerator titanium

Android Development

With Titanium

12

Page 13: Android development made easy with appcelerator titanium

Android Development

With Titanium

13

Page 14: Android development made easy with appcelerator titanium

Android Development

With Titanium

14

Page 15: Android development made easy with appcelerator titanium

Android Development

With Titanium

15

Page 16: Android development made easy with appcelerator titanium

Android Development

With Titanium

16

Page 17: Android development made easy with appcelerator titanium

Android Development

With Titanium

17

Page 18: Android development made easy with appcelerator titanium

Android Development

With Titanium

18

Page 19: Android development made easy with appcelerator titanium

What is Titanium

Studio?

19

Page 20: Android development made easy with appcelerator titanium

Setting Up Titanium

Studio

20

Page 21: Android development made easy with appcelerator titanium

Using Titanium Studio

21

Page 22: Android development made easy with appcelerator titanium

Why Titanium?

22

• Core SDK is Free as in really FREE

• Open Source under Apache 2.0

• Thriving Developer Community

• Commercial training and support services available

Page 23: Android development made easy with appcelerator titanium

Why Titanium?

23

• Data-driven web service clients (Enterprise applications)

• Web service mash-ups

• Social utilities

• Brand affinity

• Casual games

• Anything requiring cross-platform support

Page 24: Android development made easy with appcelerator titanium

Why Titanium?

24

Page 25: Android development made easy with appcelerator titanium

Why Titanium?

25

Page 26: Android development made easy with appcelerator titanium

Why Titanium?

26

• Maintain Platform Identity (Back Button for Android?)

Page 27: Android development made easy with appcelerator titanium

Case Study

27

Page 28: Android development made easy with appcelerator titanium

Case Study

28

Page 29: Android development made easy with appcelerator titanium

Case Study

29

Page 30: Android development made easy with appcelerator titanium

30