forked from tidev/titanium-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
1.6.0.mdoc
53 lines (38 loc) · 5.09 KB
/
1.6.0.mdoc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Titanium Mobile 1.6.0 - 02/18/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](/apidoc/mobile/1.6.0)
We [addressed](https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets?q=milestone%3A%22Release+1.6.0%22+state%3Aresolved&filter=) close to 300 issues since 1.5.0. A little over 150 for [android](https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets?q=milestone%3A%22Release+1.6.0%22+state%3Aresolved+tagged%3Aandroid&filter=), and about 120 for [iOS](https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets?q=milestone%3A%22Release+1.6.0%22+state%3Aresolved+tagged%3Aios&filter=), and several apidoc issues.
Android Changes
---------------
We added 26 [features](https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets?q=milestone%3A%22Release+1.6.0%22+state%3Aresolved+tagged%3Aandroid+tagged%3Afeature&filter=).
Read the answer to this [Q&A](http://developer.appcelerator.com/question/112581/tableview-with-images-really-slow) post on our HTTP Response cache and other performance hints.
*Features*
- Dimensions are supported in views nows. Android supports `mm`, `cm`, `in`, `px`, `pt`, `dp`, `dip`, `sp`, `sip`, and `%`. [Ticket 1125](https://appcelerator.lighthouseapp.com/projects/32238/tickets/1125-android-support-dimensions-in-layout)
- Added support for setting URIs in Intents. This enables stream based operations such as audio recording. [Ticket 2587](https://appcelerator.lighthouseapp.com/projects/32238/tickets/2587-android-support-setting-true-uris-for-extra_stream).
- Support was added for the Facebook Graph SDK. [Ticket 2254](https://appcelerator.lighthouseapp.com/projects/32238/tickets/2254-android-implement-new-facebook-graph-sdk-as-module) and this [blog post](http://developer.appcelerator.com/blog/2011/02/facebook-module-changes-in-titanium-mobile-1-6-0.html)
- Android lifecycle events are now fired synchronously. [Ticket 2536](https://appcelerator.lighthouseapp.com/projects/32238/tickets/2536-android-activity-lifecycle-events-should-be-synchronous-callbacks)
- Beta level support for integration with the Android NDK. We expect to take it to GA level in 1.7.0. [Ticket 2909](https://appcelerator.lighthouseapp.com/projects/32238/tickets/2909-android-ndk-support) and [blog post](http://developer.appcelerator.com/blog/2011/01/titanium-and-the-android-ndk.html)
- 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](https://appcelerator.lighthouseapp.com/projects/32238/tickets/1386-android-add-property-to-allow-geo-to-not-be-paused-in-onpause) and this [blog post](http://developer.appcelerator.com/blog/2011/02/android-geolocation-changes-for-1-6-0.html)
- Support was added for `horizontal` layout. [Ticket 1225](https://appcelerator.lighthouseapp.com/projects/32238/tickets/1225-horizontal-layout-doesnt-work-in-android)
- Shake gesture. [Ticket 992](https://appcelerator.lighthouseapp.com/projects/32238/tickets/992-shake-gesture-not-implemented)
- Install to SD card support. [Ticket 1450](https://appcelerator.lighthouseapp.com/projects/32238/tickets/1450-support-installing-to-sd-card-on-android-22)
- 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](https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets?q=milestone%3A%22Release+1.6.0%22+state%3Aresolved+tagged%3Aios+tagged%3Afeature&filter=), including:
- [Universal Binary](https://appcelerator.lighthouseapp.com/projects/32238/tickets/1041-universal-binary-support)
- Better [JSS support](https://appcelerator.lighthouseapp.com/projects/32238/tickets/2611-ios-classname-and-classnames-unsupported)
- [Background Modes](https://appcelerator.lighthouseapp.com/projects/32238/tickets/2632-allow-background-mode-specification-in-tiappxml)
- [Required device capabilities](https://appcelerator.lighthouseapp.com/projects/32238-titanium-mobile/tickets/228-add-support-for-uirequireddevicecapabilities)
- [@2x (retina) remote images](https://appcelerator.lighthouseapp.com/projects/32238/tickets/1543-ios-support-2x-remote-images-for-iphone-4)
- A brand-new [Facebook implementation](https://appcelerator.lighthouseapp.com/projects/32238/tickets/2894-integration-of-new-facebook-module)
This is primarily a bugfix release.
Platform Developer Changes
--------------------------
- Beta Android NDK support in the tooling. [Blog Post](http://developer.appcelerator.com/blog/2011/01/titanium-and-the-android-ndk.html)
- Module declarations in `tiapp.xml` now accept a `platform` addribute