wes leonardo - putting air into your application

18
Wes Leonardo Flash Platform Engineer

Upload: 360conferences

Post on 13-Jan-2015

407 views

Category:

Technology


2 download

DESCRIPTION

The session will cover the unique aspects of taking your applications to the next level with AIR. The session will cover using the SQL Lite database, detecting online/offine, customize the skin of the application and working with the local file system. If you are just getting started and want a great primer to AIR, this is the session for you.

TRANSCRIPT

Page 1: Wes Leonardo - Putting AIR into your Application

Wes LeonardoFlash Platform Engineer

Page 2: Wes Leonardo - Putting AIR into your Application

• Getting Started with Adobe AIR

• Differences between AIR and Web apps.

• AIR Features with examples

• Some Best Practices

• Demos/Inspiration

• Resources

• Q & A

What will this cover?

Page 3: Wes Leonardo - Putting AIR into your Application

What is AIR?

• Adobe Integrated Runtime

• Build AIR applications from Flex, Flash and Dreamweaver

• AIR applications can be HTML, JavaScript or Flash

• Distribute across different operating systems Win/Mac

Page 4: Wes Leonardo - Putting AIR into your Application

Developer Role

Page 5: Wes Leonardo - Putting AIR into your Application

Developer Role

Page 6: Wes Leonardo - Putting AIR into your Application

Developer Role

Page 7: Wes Leonardo - Putting AIR into your Application

Developer Role

Page 8: Wes Leonardo - Putting AIR into your Application

Getting Started

- In Flex Builder, Create a New Flex Project and select Desktop application

- Root tag of the application will be WindowedApplication

Page 9: Wes Leonardo - Putting AIR into your Application

Application Descriptor File

• Located in the root directory

• Set the Application ID

• Set Desktop & System Tray Icons

• Set Application Version

Page 10: Wes Leonardo - Putting AIR into your Application

• Storing Information– Web: Database on a Server

– Desktop: Local Database SQLite

• Connection– Web: Web Site Uptime

– Desktop: Mostly Local – Socket Connection

Web vs. Desktop

Page 11: Wes Leonardo - Putting AIR into your Application

• Check/Create DB file

• Setup/Open SQL connection

• Create Tables

• Asynchronous/Synchronous

• Insert, Update, Delete SQL statements

SQLite Integration

Page 12: Wes Leonardo - Putting AIR into your Application

Socket Connections

• Application is online/offline

• Connections to Sockets are open

• Detect Network Status

Page 13: Wes Leonardo - Putting AIR into your Application

Custom Chrome

• Branding

• Custom Application Border • Circle

• Custom Shapes

• Chrome Transparent

• Drop Shadows

Page 14: Wes Leonardo - Putting AIR into your Application

Local File Access

• Create, Open, Read, and or Write Files

• Create Directories

• Get Contents of a Directory

• Asynchronous/Synchronous

Page 15: Wes Leonardo - Putting AIR into your Application

Updating Your AIR App

• AIR Update Framework

• Check for updates on your server

• Access to Update Process

Page 16: Wes Leonardo - Putting AIR into your Application

Best Practices

• Don’t annoy your users

• Never use Always In Front

• Custom chrome - add close, minimize buttons

• Avoid full screen applications

• Give the user options

Page 17: Wes Leonardo - Putting AIR into your Application

Demos

Page 18: Wes Leonardo - Putting AIR into your Application

Resources

Blog

http://developer.ribbit.com/blog

AIR 1.5 Documentation

http://help.adobe.com/en_US/AIR/1.5/devappsflex/

AIR Team Blog

http://wwblogs.adobe.com/air/