what's new in titanium 1.5
DESCRIPTION
Check out what's new in the latest Titanium Mobile (1.5) release.TRANSCRIPT
![Page 1: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/1.jpg)
1http://www.appcelerator.com | @appcelerator
What’s New In Mobile 1.5What’s New In Mobile 1.5Kevin Whinnery (@kevinwhinnery)
Conrad Fuhrman (thenativeadvantage.com)
![Page 2: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/2.jpg)
2http://www.appcelerator.com | @appcelerator
Agenda
•What’s new with Appcelerator•What’s new in Titanium Mobile 1.5• Questions and Answers
![Page 3: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/3.jpg)
3http://www.appcelerator.com | @appcelerator
What’s New With Us?
• 9m round of funding• Hiring like crazy! (jobs.appcelerator.com)• Major updates for Titanium Developer, Mobile, and Desktop• Guides project• Appcelerator and Verizon team up
![Page 4: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/4.jpg)
4http://www.appcelerator.com | @appcelerator
Product Updates
• Android enhancements• Performance improvements• Support for multiple screen sizes and densities• Extensibility
Android FTW!
![Page 5: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/5.jpg)
5http://www.appcelerator.com | @appcelerator
JavaScript Style Sheets
• JSS Support for:– Styling by ID– Styling Titanium Components– import JSS files
• Available on Android:– className/s– addClass()– global.jss
![Page 6: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/6.jpg)
6http://www.appcelerator.com | @appcelerator
JSS Notes
• font:{} properties available as font-*• JSS files are tied to included/window JS files• No support for JavaScript in JSS files• Values map to their equivalents in JS, i.e. height:50 and font-family:’Droid Sans’• First iteration of JSS: API/structure changes and enhancements likely
![Page 7: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/7.jpg)
7http://www.appcelerator.com | @appcelerator
Localization
• Android-Style localization files (strings.xml)• Top level i18n directory
![Page 8: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/8.jpg)
8http://www.appcelerator.com | @appcelerator
Localization: Usage• Ti.Locale.getString() === L()• Value replacement with String.format• String.format follows IEEE printf spec
![Page 9: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/9.jpg)
9http://www.appcelerator.com | @appcelerator
Multiple Density Images
by default, UIs are scaled to a 320x480
resolution
![Page 10: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/10.jpg)
10
http://www.appcelerator.com | @appcelerator
tiapp.xml configuration
• Android Configuration– Custom AndroidManifest.xml properties– anyDensity
• iOS Config– Orientation control
![Page 11: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/11.jpg)
11
http://www.appcelerator.com | @appcelerator
Android Menus
• Associated with Activities• Granular control• Created on demand• Note: Breaking Change
![Page 12: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/12.jpg)
12
http://www.appcelerator.com | @appcelerator
Android Module SDK
• Develop Custom Android extensions• Eclipse-based development• Assumes prior knowledge of Android SDK• (We have a guide available for iOS as well)• Dev Center: – /guides/en/module_android.html
![Page 13: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/13.jpg)
13
http://www.appcelerator.com | @appcelerator
Native Android Concepts
• Activities• Intents• Services• Pending Intent• Menu and Menu Items• Access to generated R.java file• Stop by tomorrow for more
![Page 14: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/14.jpg)
14
http://www.appcelerator.com | @appcelerator
Native Android Pickers
• Date• Time• Custom• Spinners• Lots of new KS Demos
![Page 15: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/15.jpg)
15
http://www.appcelerator.com | @appcelerator
Device Calendar (Android)
• Create reminders• Create alerts
![Page 16: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/16.jpg)
16
http://www.appcelerator.com | @appcelerator
Compiler Plugins
• Run custom Python scripts during build• Applications:– JavaScript compression– Auto script loading/combination– Custom build tooling
![Page 17: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/17.jpg)
17
http://www.appcelerator.com | @appcelerator
TableView Performance
• Enhanced TableView performance• Remember ‘className’ on TVRows
![Page 18: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/18.jpg)
18
http://www.appcelerator.com | @appcelerator
More Release Notes
• Developer Blog– http://bit.ly/ti_notes_15
• Lighthouse Issues– http://bit.ly/ti_lh_15
Thanks iOS/Android engineering teams (long suffering Don Thorp
pictured above) for a great release!
![Page 19: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/19.jpg)
19
http://www.appcelerator.com | @appcelerator
Stop By Tomorrow...
• More on native Android features• Cross-platform development techniques• Code structure for Titanium Mobile applications• Building component-oriented, event-driven applications with Titanium
![Page 20: What's New in Titanium 1.5](https://reader036.vdocuments.us/reader036/viewer/2022062707/5584446fd8b42afc4e8b463d/html5/thumbnails/20.jpg)
20
http://www.appcelerator.com | @appcelerator
Questions?