Android Module Development Guide
Overview
Titanium provides the ability to extend the built-in functionality of the Titanium SDK through a series of optional extensions called modules. Modules let you write code in a platform's native language (Java for Android). Through a series of components, we can expose new functionality to the JavaScript running in the Titanium SDK.
These guides assume you are familiar with native development using the Android SDK and an Eclipse-based IDE.
Chapters
Android Module Quick Start
Provides basic information to quickly create, build, package and test modules.
Android Module Architecture
Provides in-depth information about the class components used to build modules. Titanium uses a specific notation for each module component.
Android Module Project
Provides in-depth information about the structure of a module project as well as using Studio and the CLI to manage the projects. Also provides information about adding assets and third-party frameworks to the module.
Android Module API Reference
Useful APIs for module development. The module components extend the KrollModule
, KrollProxy
, TiUIView
and TiViewProxy
classes.
Android Module Upgrade Guide
Guide for upgrading Android modules between major versions of Titanium SDK.