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
1 Answer
-
you should look at the example for creating a View and View Proxy in the Module SDK documentation