developing with adobe air

17
veloping with Adobe AIR er Elst – Flash Israel 2010

Upload: peter-elst

Post on 11-May-2015

2.090 views

Category:

Technology


0 download

DESCRIPTION

Developing with Adobe AIR presented at Flash Israel 2010

TRANSCRIPT

Page 1: Developing with Adobe AIR

Developing with Adobe AIRPeter Elst – Flash Israel 2010

Page 2: Developing with Adobe AIR

Who am I?

• Freelance Flash Platform Consultant• Adobe Community Professional• Adobe User Group Manager• Author of «Object-Oriented ActionScript 3.0»• Founding Partner of Project Cocoon

Page 3: Developing with Adobe AIR

What will we talk about?

• How are AIR applications structured?• Examples of common features:

Network detection, windowing, Filesystem access, HTML support, local database support, drag ‘n drop, clipboard access, native processes

• What is new in the upcoming AIR 2.0?• Questions & answers

Page 4: Developing with Adobe AIR

AIR application structure

SWF HTML

Adobe AIR runtime

Windows, Mac, Linux

Page 5: Developing with Adobe AIR

Where to get AIR

• The Adobe AIR SDK is completely free of charge and can be downloaded here:

adobe.com/products/air/tools

• AIR 2.0 has a public beta available here:

labs.adobe.com/technologies/air2

Page 6: Developing with Adobe AIR

Network detection

• Detect network status changes• Monitor connection to a URL or server socket

001_network

air.net.URLMonitorair.net.SocketMonitor

Page 7: Developing with Adobe AIR

Windowing

• Create application windows at runtime• Window look ‘n feel is based on OS• Allows custom shaped UI windows

002_windowing

flash.display.NativeWindowflash.display.NativeWindowInitOptions

Page 8: Developing with Adobe AIR

HTML support

• AIR has an embedded Webkit HTML engine• HTML content is integrated in the display list

003_HTML003_HTML_displaylist

flash.html.HTMLLoadermx.controls.HTML

Page 9: Developing with Adobe AIR

Filesystem access

• AIR can read, write, delete files and folders• File paths are abstracted and OS independent

004_File

flash.filesystem.Fileflash.filesystem.FileStream

Page 10: Developing with Adobe AIR

SQLite database

• AIR has an embedded SQLite database engine• Databases are container in a single file

005_SQLite

flash.data.SQLConnectionflash.data.SQLStatement

Page 11: Developing with Adobe AIR

Drag ‘n drop

• AIR supports drag ‘n drop between applications• Allows you to set the drag data and image

006_DragDrop

flash.events.NativeDragEventflash.desktop.NativeDragManager

Page 12: Developing with Adobe AIR

Clipboard access

• Control an OS wide clipboard• Assign clipboard data in one or more formats

007_Clipboard

flash.desktop.Clipboard

Page 13: Developing with Adobe AIR

Native processes

• Open a file with its default application• Launch an executable with optional arguments

008_NativeProcess

flash.desktop.NativeProcessflash.desktop.NativeProcessStartupInfo

Page 14: Developing with Adobe AIR

What is new in AIR 2.0?

• Support for TLS/SSL sockets• Enhanced printing support• Mass storage detection (e.g. USB drives)• Ability to listen to sockets, UDP support• Native processes• Raw microphone access• Multi-touch gestures• …

Page 15: Developing with Adobe AIR

AIR for Android is coming

• Adobe has announced its working on AIR support for Android phones and tablets.

Page 16: Developing with Adobe AIR

Questions & answers

Email [email protected] www.peterelst.comTwitter @peterelstLinkedIn www.linkedin.com/in/peterelst

Page 17: Developing with Adobe AIR

Thanks and have fun with AIR!