Titanium Community Questions & Answer Archive

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

Any chance of an example/walkthrough for Android Modules

We're kinda left a little in the wind with Android.
Any chance of a bone?

Would be great to see an example & tools to help create Ti modules for Android. There's a lot more scope with Android when working with 3rd party modules & intents.

Edit: vote with your fingers if this is something you'd like to see. Android support is lagging a bit :)

— asked May 10th 2010 by David Ashwood
  • android
  • extend
  • mobile
  • modules
0 Comments

7 Answers

  • An intents module would be great and probably wouldn't be too difficult to create. I just haven't had time to sit down and design a solution that takes into account the Bundle and Activity interaction. Some one else asked for help doing a custom module, so Bill Dawson is going to write up that experience so we'll at least have a base document to point you at.

    I'm partial to Android so looking forward to here what other folks want.

    — answered May 10th 2010 by Don Thorp
    permalink
    0 Comments
  • Cool. Even a screencast/capture & some dialog would be handy as you go through the process.

    — answered May 10th 2010 by David Ashwood
    permalink
    0 Comments
  • Another vote for this - I will need to build a module that downloads some large files, since Titanium's xhr loads the whole thing into memory and crashes the app if the request size exceeds 10MB or so.

    — answered May 10th 2010 by Damien Elmes
    permalink
    0 Comments
  • If you guys are interested, I've started up a design thread for an Intents API.

    — answered May 11th 2010 by Don Thorp
    permalink
    0 Comments
  • @Damien if you use the ondatastream callback of HTTPClient you can do what you want without a custom module.

    — answered May 11th 2010 by Don Thorp
    permalink
    0 Comments
  • Thanks, Don. I'll give that a go.

    — answered May 11th 2010 by Damien Elmes
    permalink
    0 Comments
  • Old thread but new find, here's the guide for module building:

    android custom modules

    Good luck!

    — answered July 30th 2011 by Eric Z
    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.