what's new in titanium 1.5

20
1 http://www.appcelerator.com | @appcelerator What’s New In Mobile What’s New In Mobile 1.5 1.5 Kevin Whinnery (@kevinwhinnery) Conrad Fuhrman (thenativeadvantage.com)

Upload: kevin-whinnery

Post on 19-Jun-2015

1.860 views

Category:

Technology


1 download

DESCRIPTION

Check out what's new in the latest Titanium Mobile (1.5) release.

TRANSCRIPT

Page 1: What's New in Titanium 1.5

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

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

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

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

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

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

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

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

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

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

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

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

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

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

15

http://www.appcelerator.com | @appcelerator

Device Calendar (Android)

• Create reminders• Create alerts

Page 16: What's New in Titanium 1.5

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

17

http://www.appcelerator.com | @appcelerator

TableView Performance

• Enhanced TableView performance• Remember ‘className’ on TVRows

Page 18: What's New in Titanium 1.5

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

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

20

http://www.appcelerator.com | @appcelerator

Questions?