O'Reilly logo

Appcelerator Titanium Smartphone App Development Cookbook - Second Edition by Jason Kneen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Packaging your module for distribution and sale!

Titanium modules are created in a way that allows easy distribution and reuse, both in your own apps and in the Titanium Marketplace. In this recipe, we will go through the steps required to package our module and then distribute it in the marketplace.

The complete source code for this chapter can be found in the /Chapter 10 folder, along with the compiled version of the Bit.Ly module.

How to do it…

The first requirement is to edit the manifest file that is automatically generated when you created your module. Here is an example taken from our BitlyModule:

# # this is your module manifest and used by Titanium # during compilation, packaging, distribution, etc. # version: 1.0.0 apiversion: 2 architectures: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required