Titanium Mobile

iPhone/Android apps in Javascript!

How it works?

iPhone

Webkit JavaScriptCore engine

Android

Google V8 engine

Toolchain?

Titanium Studio IDE

Titanium SDK

iOS / Android SDK

Talk is cheap, show me the code!

Hello world

var win1 = Titanium.UI.createWindow({  
	title:'Win 1',
	backgroundColor:'#fff'
});

var label1 = Titanium.UI.createLabel({
	text:'Hello world!',
	textAlign:'center',
	color:'#999',
	width:'auto'
});

win1.add(label1);
win1.open();	

JSS example


#font_label_test {
	font-size:'15px';
	font-weight:'normal';
	top:10;
	color:'#369';
	width:'200px';
	height:'150px';
	text-align:'center';
}

Debugging

Here be dragons!

Memory leaks

Bonus?

Mobile Web!

Live demo?

Too long for lightning talk
 — ask us during coffeebreak!

Thank you !

Andrew Druchenko

github.com/bananos

Use a spacebar or arrow keys to navigate