Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Wes Leonardo - Putting AIR into your Application

646 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
  • Be the first to comment

  • Be the first to like this

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/

×