Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

How to use a self coded module in titanium

Hi,

i'm currently building a self made module for titanium. I made all the instructions as described here http://developer.appcelerator.com/doc/mobile/android/module_sdk. Everything works fine.

In app.js i've inserted the following line to load the module:

// Load requirements
var cal = require('com.mod.androidcalendar');

My question is, how can i use the module? When i make some changes in the app.js from the module, nothing happens. Do i have to add anything else in the main app.js file to use it?

For example, if i would bring up a new window with the help of the module, how should the code looks like?

Thanks in advance!
Stefan

— asked November 24th 2010 by Stefan B
  • module
0 Comments

1 Answer

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.