Course outline
Introducing the Adobe Integrated Runtime (AIR)• Exploring the AIR development toolset
• Understanding the runtime application
• Understanding Adobe AIR 2.0
• Understanding the Adobe AIR SDK
• Looking at Flash Builder 4
• Reviewing the Adobe AIR tools for Flash Builder 4
• Creating AIR projects
• Exporting AIR applications
Getting started with AIR
• Creating your first AIR application
• Creating an AIR project
• Creating a main application
• Building an AIR application
• Packaging and deploying applications
• Exporting a release
• Code-signing an application
• Selecting application contents
• Installing and uninstalling an AIR application
• Understanding AIR fundamentals
• Introducing the AIR file format
• Introducing the application descriptor
• Getting help and other resources
• Help inside Flash Builder
• AIR 2.0 URLs
Using the file system
• Using the File class
• Accessing common directories
• Referencing a file or directory
• Moving and copying file system objects
• Enabling visual file system interaction
• Allowing user to specify files or directories
• Introducing the file browsing components
• Removing files from the file system
• Determining the File object type
• Recycling or deleting file system objects
• Launching files in their default application
• Loading and launching files
Advanced file system techniques
• Using file streams
• Reading and writing files
• Working with binary data
• Using the ByteArray class
• Working with mass storage devices
• Reading and writing from attached devices
• Displaying, copying, and moving Files on a storage device
Using the clipboard
• Moving data with copy and paste
• Understanding the Clipboard
• Using the generalClipboard
• Writing data to the clipboard
• Getting data from the clipboard
• Using drag and drop
• Introducing the drag and drop stages
• Deciding between the Flex and AIR APIs for drag and drop
Persisting application data
• Using an embedded SQL database
• Understanding the database file
• Opening a database
• Creating a database
• Using SQL statements
• Creating and executing a SQL statement
• Handling returned data
• Storing and loading complex data
• Base types stored by SQLite
• Column affinities supported by AIR
• Storing and retrieving binary image data
Creating native windows
• Creating windows
• Defining a window with MXML
• Instantiating an MXML window with ActionScript
• Opening and closing window components
• Modifying the window display
• Changing the window chrome
• Changing the window type
• Using full screen display
• Manipulating windows
• Referring to a window object
• Manipulating a window
• Handling window events
Connecting applications
• Launching and interacting with native operating system processes
• Launching a native process from AIR
• Communicating between applications
• Using the LocalConnection class
• Connecting to web applications using URL Requests over HTTP
• Requesting a URL via HTTP
• Using the URLRequest class
• Using the URLVariables class
• Using the URLLoader class
• Using the Base64Encoder class
• Displaying HTML content
• Understanding the HTMLLoader class
• Using the <mx:HTML /> component
• Detecting network availability
• Monitoring network state changes
• Detecting HTTP resource availability
• Detecting Socket connectivity
Understanding AIR security
• Considering AIR security
• Introducing AIR security
• Introducing security sandboxes
• Introducing AIR security best practices
• Detecting AIR capabilities
• Using encrypted data storage
• Understanding AIR application updating
• Using the Updater class
• Determining current version at runtime
• Encrypting local database files
• Implementing database encryption
Customising Deployment
• Setting the application’s desktop icon
• Using application icons
• Setting system tray icon
• Addressing the nativeApplication
Review: Creating the 'PhotoLab' application
• Introducing the 'PhotoLab' application
• Understanding the lab structure
• Examining and running the solution code

