Extending Titanium with Native iPhone/Android Modules

by Scott Schwarzhoff on October 15, 2009

One of the major design intentions of Titanium is to provide not only a powerful platform for building applications, but also an extensible and modular framework to extend it. From the ground up, Titanium itself is built on the same module framework.

The module framework is platform specific. While the conceptual design is similar between the platforms, the actual code is dependent on the underlying mobile platform.

In Titanium 0.7, we’ve made extending the platform much easier.  We added Facebook Connect using this method, for instance (eg: bundling in the Facebook Connect SDK and adding Javascript code to call this module).  For those Objective-C (iPhone) or Java (Android) developers, we’ve uploaded two sample projects to give you an idea how to add 3rd-party modules and the associated Javascript hooks to natively call those modules.

- Module Development API

- OpenGL / Camera overlay module examples

Long-term, we plan on supporting a marketplace of these modules.  In the meantime, if you’re interested in offering your module to the community, please let us know.

Popularity: 3% [?]

Spread the awesome:
  • RSS
  • Twitter
  • Facebook
  • FriendFeed
  • Digg
  • del.icio.us
  • Technorati
  • NewsVine
  • Slashdot
  • Yahoo! Buzz
  • Reddit
  • Google Bookmarks

Leave a Comment

Previous post: Titanium Goes Social: Yahoo YQL, Facebook Connect, Twitter

Next post: Appcelerator Titanium at Mobile 2.0 Conference