Titanium modules are created in a way that allows for easy distribution and re-use, both in your own apps or the Titanium+Plus Marketplace. In this recipe, we will go through the steps required to package your module and then distribute it to the marketplace.
Note
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.
The first requirement is to edit the manifest file that is automatically generated when you created your module. Below is an example taken from our BitlyModule
:
version: 0.1 description: My module author: Your Name license: Specify your license copyright: Copyright (c) 2011 by Your Company # these should not be edited name: bitlymodule moduleid: com.packtpub.BitlyModule guid: a33e440e-ef62-4ec7-89cd-8939d264e46e platform: iphone minsdk: 1.7.2
Anything below the # these should not be edited
line should be left alone, but go ahead and replace...