Titanium+Plus Open Source Modules

Fresk leaves invoking a happy mood.

Many of you have displayed interest in creating modules to extend the power of Titanium for your own business. To help you get started, we are releasing three open source sample modules: Flurry for iOS, AdMob for iOS, and Paint for iOS. These samples, plus the module SDK, will enable you to develop a module in Objective-C (iOS) or Java (Android) and expose its functionality to your app through a custom Titanium JavaScript API.

Here’s the Source Code to all three modules.

Code Strong!


  1. Can we please please have some documentation and example regarding the module API for the Desktop SDK especially regarding C/C++ and C#/.Net ?

  2. Yes how do we use them.

    I’ve put the module of paint in
    /Library/Application Support/Titanium/modules/iphone

    then created a new app,
    in tiapp.xml i added this


    Then called it through: Ti.Paint.createView({}) (with more data ofcourse)

    but it does not work

  3. I would like to know where the module sdk is available?
    Also can a non-pro or non-enterprise member integrate the +plus modules or even create his own modules?

  4. Awesome – played with the Admob and Paint modules – works super! Thanks!

    @Joshua – you need to add the modules under tiapp.xml file



    for how to include it from within your code just do a simple command:

    var paint = require(“ti.paint”);

    thats it!

  5. @Josia

    Custom modules for android appears to be broken in all current version of Titanium for windows, that is the continues builds of 1.5.2 and 1.6.1. It appears to only been working in 1.5.0 according to posts on the site but unfortunately this version does not appear to be available anymore.

    They do work to create and test using the module example but breaks when trying to include them using the require() call despite being declared in tiapp.xm and automatically unzipped under the modules folder.

    Please correct me if I’m wrong since I’d love to write up some modules up myself.

  6. @Tony
    I followed the android module guide and created a new example module from scratch. It works great to try it out using the example app.js in the module project but including it in an external project doesn’t seem to work. The problem appears to be that require() fails to find the module and instead looks for a js file.

    Here is an example where 1.5.0 seems to have solved the problem
    Since 1.5.0 is not available I’ve used 1.6.1 and set it as min sdk version in the manifest.

  7. The focus on iOS really kills Appcelerator. The entire purpose of using this framework is the power of cross-platform, yet there appears to be a bias towards iOS so whenever you’re trying to developer for Android first, you’re SOL. I spent a week on an application which is running near perfectly on Android, except we’re missing Flurry and Android unless I want to spend another week building ports of the modules for iOS. Shame guys.

  8. Hello, I integrated AdMob into my app whit option testing:true 4 days ago. I made some tests.
    Today I tried to access into my AdMob account and my account was suspended!
    Why??? What is the testing option? I was totally sure that my ads was not counted as real ads whit this option, and now my account is suspended..
    Any feed?
    Thanks, Stefano.

Comments are closed.