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 add a custom module to Titanium Mobile?

I'm trying to create a simple custom module, as shown in the old documentation, here:

http://www.codestrong.com/timobile/guides/iphone_module_development/

But this doesn't seem to work. I get an error "Result of expression Titanium.First [undefined] is not an object…"

I also don't see an example of a custom module in the Kitchen Sink app.

— asked March 14th 2010 by Mark Burggraf
  • custom
  • module
0 Comments

6 Answers

  • Hasn't anyone done a custom module in 1.0?

    — answered March 16th 2010 by Mark Burggraf
    permalink
    0 Comments
  • I get the same problem - I heard that modules are working in 1.0 but I can't get it to work using the firstModule example.

    — answered March 16th 2010 by Paul Burrowes
    permalink
    0 Comments
  • Here is the documentation I found:

    http://www.codestrong.com/timobile/guides/iphone_module_development/

    http://www.codestrong.com/timobile/module_sdk_09/

    When I tried the instructions labeled module_sdk_09 I get the following error:

    TiModule.h: No such file or directory

    So, this example is apparently not quite up to date. Jeff says he is working on a full blown example. Hopefully that will be up soon and we can start seeing some documentation on how to build custom modules.

    — answered March 20th 2010 by Devon Weller
    permalink
    1 Comment
    • Links do not work… can you please update them - on Chrome I get an infinite loop error.

      — commented July 30th 2010 by Charlie Roche
  • I'm also getting this error: "Result of expression Titanium.MyFirst [undefined] is not an object…"

    — answered March 25th 2010 by Michael Huntington
    permalink
    0 Comments
  • Looks like the answer to this problem is here.

    — answered March 31st 2010 by Devon Weller
    permalink
    0 Comments
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.