2. Titanium Mobile
• Open Source (Apache 2.0)
• iPhone, iPad and Android
• Javascript, HTML, CSS, Python, Ruby, and PHP
• HTML 5 and CSS 3 support
• 300 APIs, full access to camera, accelerometer,
compass, local file system, …
• Code modules in Objective-C or Java
• Has IDE
• Native UI
http://www.appcelerator.com/products/titanium-mobile-application-development/
3. Code Example
var tableView =
Titanium.UI.createTableView({data:data,title:‘Table'},
function(eventObject)
{
var a = Titanium.UI.createAlertDialog();
a.setTitle(eventObject.rowData.title);
a.setMessage(desc_data[eventObject.rowData.title]);
a.show();
});
//add view to current window
Titanium.UI.currentWindow.addView(tableView);
// show view
Titanium.UI.currentWindow.showView(tableView);
}
4. Phone Gap
• Open Source
• iPhone, Android, Palm, Symbian, Maemo,
Windows Mobile, and Blackberry
• HTML, CSS, Javascript
• WebAppWrapper
• Problem: Performance
• Has no IDE
• „Not so native“
http://www.phonegap.com/