building native apps with titanium mobile

38
BUILDING NATIVE APPS WITH Titanium Mobile Brendan G. Lim @brendanlim [email protected]

Upload: brendan-lim

Post on 10-May-2015

15.467 views

Category:

Technology


4 download

DESCRIPTION

This talk was given at the MobileX Conference in Nashville. This goes over how to build native iPhone and Android apps with JavaScript using Appcelerator's Titanium Mobile platform.

TRANSCRIPT

Page 1: Building Native Apps With Titanium Mobile

BUILDING NATIVE APPS WITHTitanium Mobile

Brendan G. Lim@brendanlim

[email protected]

Page 2: Building Native Apps With Titanium Mobile

Who am I?

Brendan G. LimDirector of Mobile Development @ Intridea, Inc.

@[email protected]

http://intridea.comhttp://github.com/brendanlim

Page 3: Building Native Apps With Titanium Mobile

Who’s developed iPhone apps?

Page 4: Building Native Apps With Titanium Mobile

Who’s developed Android apps?

Page 5: Building Native Apps With Titanium Mobile

Who’s done JavaScript?(expecting more hands to go up on this slide)

Page 6: Building Native Apps With Titanium Mobile

What if you could create apps using JavaScript?

Page 7: Building Native Apps With Titanium Mobile

What if you could create fully native apps using JavaScript?

Page 8: Building Native Apps With Titanium Mobile

Titanium Mobile

Page 9: Building Native Apps With Titanium Mobile

Titanium MobileBuild Fully Native iPhone Apps

Page 10: Building Native Apps With Titanium Mobile

Titanium MobileJavaScript API

Page 11: Building Native Apps With Titanium Mobile

Titanium MobileiPhone - iPad - Android

Page 12: Building Native Apps With Titanium Mobile

Titanium MobileOne Codebase

Page 13: Building Native Apps With Titanium Mobile

Titanium MobileCustom Obj-C / Java Modules

Page 14: Building Native Apps With Titanium Mobile

Titanium MobileOpen Source

Page 15: Building Native Apps With Titanium Mobile

Apps in days not weeks

Page 16: Building Native Apps With Titanium Mobile

•Native location-based dish review and recommendation app

• Built with Titanium Mobile < 2 weeks

• Use of geolocation & camera APIs

• Android version to be released soon

Page 17: Building Native Apps With Titanium Mobile

•Offline Creole to English and English to Creole translator

• Built for CrisisCamp DC Haiti

• Built in < 48 hours

• iPhone and Android versions

TRADUI

Page 18: Building Native Apps With Titanium Mobile

MOBILE APIS

• Accelerometer

• Analytics

• App

•Database

• Facebook

• Filesystem

• Geolocation

• Gesture

•Maps

•Media

•Network

• Platform

• UI

• Yahoo

• etc...

Page 19: Building Native Apps With Titanium Mobile

MEDIA API: CAMERA

Page 20: Building Native Apps With Titanium Mobile

MEDIA API: PHOTO GALLERY

Page 21: Building Native Apps With Titanium Mobile

GEOLOCATION API

Page 22: Building Native Apps With Titanium Mobile

ACCELEROMETER API

Page 23: Building Native Apps With Titanium Mobile

MAPS API

Page 24: Building Native Apps With Titanium Mobile

FACEBOOK API

Page 25: Building Native Apps With Titanium Mobile

FACEBOOK API

Page 26: Building Native Apps With Titanium Mobile

TITANIUM DEVELOPER

Page 27: Building Native Apps With Titanium Mobile

YOUR IDE

Page 28: Building Native Apps With Titanium Mobile

CREATING YOUR APP

Page 29: Building Native Apps With Titanium Mobile

BASIC APP STRUCTURE

• helloWorld/

• manifest

• tiapp.xml

• Resources/

• app.js

• iphone/

• android/

Page 30: Building Native Apps With Titanium Mobile

APP.JS

Page 31: Building Native Apps With Titanium Mobile

Our app.js

Page 32: Building Native Apps With Titanium Mobile
Page 33: Building Native Apps With Titanium Mobile
Page 34: Building Native Apps With Titanium Mobile
Page 35: Building Native Apps With Titanium Mobile
Page 36: Building Native Apps With Titanium Mobile
Page 37: Building Native Apps With Titanium Mobile

SO, WHAT’S NEXT?

• iPad Tablet SDK public release

• BlackBerry support

•Much more ...

Page 38: Building Native Apps With Titanium Mobile

QUESTIONS?

http://appcelerator.comhttp://developer.appcelerator.com

http://github.com/appceleratorhttp://grub.it

http://intridea.com