Would you like to contribute to the Titanium docs? To get started, sign up for an account on the Appcelerator Wiki and sign our CLA.

Skip to end of metadata
Go to start of metadata
Contents

Overview

The following example applications may be useful to browse for examples of API usage and approaches to structuring Titanium applications.

These applications can all be imported directly from the Samples view in Studio. URLs are provided for users who don't use Studio or want to download the code directly.

Kitchen Sink

This expansive sample application showcases the majority of Titanium Mobile's APIs. Starting in Titanium Release 2.1.1, the Kitchen Sink has been completely refactored to use a more modern application structure. This version of the Kitchen Sink sample does not yet support the Nook or Kindle Fire (or other Android devices that lack support for Google APIs such as location services). For these devices, there is a legacy version of the Kitchen Sink.

Icon

Prior to Release 2.1.1, the KitchenSink did not represent best practices and therefore its structure should not be used for real-world applications.

The Nook version of the Kitchen Sink sample still uses the old code structure, and should not be used as an example for real-world applications.

RSS Reader

RSS Reader is a Titanium Mobile sample app that lets you browse RSS feeds. With it you can pull live RSS feeds from the internet, browse a list of headlines with thumbnail images, then select and read articles.

The RSS Reader app demonstrates:

  • Remote Data access using Ti.Network.HTTPClient.
  • Modular Javascript with CommonJS.
  • Multiple window app using a single execution context.
  • Loose coupling of UI and data code using application level events.
  • Native UI features
  • TableView with custom rows.
  • Android menus.
  • iOS navigation bar buttons.
  • iOS Navigation Controller using Ti.UI.iPhone.NavigationGroup.
  • Mobile Web Navigation Group Ti.UI.MobileWeb.NavigationGroup.
  • WebViews for displaying web content.
  • Cross-platform design.

iOS

Android

Related Documentation

Todo List

Todo List is a a simple tabbed application for keeping track of to do items. With this app you can maintain a listing of tasks to be completed, add to that list, and mark tasks as done. Uses database storage. On Mobile Web, where Ti.Database is not supported yet, the Properties API is used to provide local storage.

The Todo List app demonstrates:

  • Local storage with SQLite using Ti.Database.
  • On Mobile Web, uses the Ti.App.Properties API for local storage.
  • Modular Javascript with CommonJS.
  • Multiple window app using a single execution context.
  • Native UI features
  • Android menus
  • iOS navigation bar buttons
  • Cross-platform design

iOS

Android

Related Documentation

Geocoder

This is a Titanium Mobile sample app that uses native maps to plot locations. With it you can forward geocode addresses and add them as annotations to the map.

The Geocoder app demonstrates:

  • Using native maps with `Titanium.Map`
  • Adding annotations to native maps
  • Remote data access using Titanium.Network.HTTPClient
  • Modular Javascript with CommonJS
  • Cross-platform design

iOS

Android

Related Documentation

  • No labels