Wes Leonardo - Putting AIR into your Application

509 views
469 views

Published on

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.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
509
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Wes Leonardo - Putting AIR into your Application

  1. 1. Wes Leonardo Flash Platform Engineer
  2. 2. What will this cover? • Getting Started with Adobe AIR • Differences between AIR and Web apps. • AIR Features with examples • Some Best Practices • Demos/Inspiration • Resources • Q&A
  3. 3. 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
  4. 4. Developer Role
  5. 5. Developer Role
  6. 6. Developer Role
  7. 7. Developer Role
  8. 8. Getting Started - In Flex Builder, Create a New Flex Project and select Desktop application - Root tag of the application will be WindowedApplication
  9. 9. Application Descriptor File • Located in the root directory • Set the Application ID • Set Desktop & System Tray Icons • Set Application Version
  10. 10. Web vs. Desktop • Storing Information – Web: Database on a Server – Desktop: Local Database SQLite • Connection – Web: Web Site Uptime – Desktop: Mostly Local – Socket Connection
  11. 11. SQLite Integration • Check/Create DB file • Setup/Open SQL connection • Create Tables • Asynchronous/Synchronous • Insert, Update, Delete SQL statements
  12. 12. Socket Connections • Application is online/offline • Connections to Sockets are open • Detect Network Status
  13. 13. Custom Chrome • Branding • Custom Application Border • Circle • Custom Shapes • Chrome Transparent • Drop Shadows
  14. 14. Local File Access • Create, Open, Read, and or Write Files • Create Directories • Get Contents of a Directory • Asynchronous/Synchronous
  15. 15. Updating Your AIR App • AIR Update Framework • Check for updates on your server • Access to Update Process
  16. 16. 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
  17. 17. Demos
  18. 18. 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/

×