Titanium Mobile 1.6.0 - 02/23/2011

This release includes general bug fixes and enhancements for Android and iPhone. Please see the updated Titanium Mobile Reference Documentation for 1.6.0

We addressed close to 300 issues since 1.5.0. A little over 150 for android, and about 120 for iOS, and several apidoc issues.

Android Changes

We added 26 features.

Read the answer to this Q&A post on our HTTP Response cache and other performance hints.

Support for Android API 4 (1.6) is DEPRECATED as of 1.6.0. It will be removed in 1.7.0

Features

  • Dimensions are supported in views nows. Android supports mm, cm, in, px, pt, dp, dip, sp, sip, and %. Ticket 1125
  • Added support for setting URIs in Intents. This enables stream based operations such as audio recording. Ticket 2587.
  • Support was added for the Facebook Graph SDK. Ticket 2254 and this blog post
  • Android lifecycle events are now fired synchronously. Ticket 2536
  • Beta level support for integration with the Android NDK. We expect to take it to GA level in 1.7.0. Ticket 2909 and blog post
  • The default behavior for location listeners in Geolocation has changed on Android. Managing the lifecycle of the listener is now up to the developer. Ticket 1386 and this blog post
  • Support was added for horizontal layout. Ticket 1225
  • Shake gesture. Ticket 992
  • Install to SD card support. Ticket 1450
  • Samsung Galaxy Tab support.

Lifecycle Note

The Android Lifecycle changes in 1.6.0 mean that your Window's URL (and app.js) are executed synchronously as part of the Activity's onCreate(). Try to keep your initial code light, and don't count on window.open() being synchronous, especially if the window is launching a new Activity. Use a listener on the Window's "open" event to ensure that code gets executed after the new Activity has been opened.

iOS Changes

We added 9 features, including:

This is primarily a bugfix release.

Platform Developer Changes

  • Beta Android NDK support in the tooling. Blog Post
  • Module declarations in tiapp.xml now accept a platform attribute