=
For the last time I’m working on topics related to the development for mobile devices. Titanium Mobile impressed me that much that I would like to give an on hands introduction to that framework. Titanium Mobile is a framework to develop cross-platform applications for mobile devices, which runs smoothly on Android and iPhone OS. It provides a high-level API, which covers the main features of both platforms through an uniform interface. The secret (if you ask yourself how this can work) is the use of Web technologies such as HTML5, CSS3 and JavaScript. Due to the fact that Android as well as iPhone OS uses Webkit as a rendering engine for web pages, this span is possible.
Note:
If you are looking for an alternative try out PhoneGap. It’s an open-source framework, which also works cross-platform and supports a lot more plattforms (currently seven). The main disadvantage in relation to Titanium Mobile in my point of view is the incomplete support of platform functions. It’s even not yet available in a stabile version (February 2010: version 0.8.0).
To give Titanium Mobile a try I developed a mobile translator which uses Google Translate. It took me only two days (including training) and about 300 source lines of code but the application covers
The whole source code is available at GitHub (Project: mobileTranslator). To show that the result works cross-platform I did some screenshots on Android and iPhone.
But now let’s have a glance at the internals of the application.