RIA meets Desktop

2,080 views

Published on

Introduction to the Adobe AIR API's

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

No Downloads
Views
Total views
2,080
On SlideShare
0
From Embeds
0
Number of Embeds
69
Actions
Shares
0
Downloads
91
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

RIA meets Desktop

  1. 1. RIA meets Desktop Introduction to the AIR API's
  2. 2. Who is this guy? ■ Freelance Flash Platform Consultant ■ Adobe Community Expert ■ Adobe Certified Instructor ■ Author of quot;Object-Oriented ActionScript 3.0quot; and several other Flash Platform books
  3. 3. What is AIR? Adobe® AIR™ is a cross-operating system runtime that allows web application developers to use their existing web development skills (HTML, Javascript, Adobe Flash®, Adobe Flex™, Ajax) to build and deploy rich Internet applications to the desktop. Adobe AIR brings your Rich Internet Applications to the Desktop — Flash, HTML/AJAX and PDF running as a native application.
  4. 4. Why AIR? www.30onAIR.com
  5. 5. What will we talk about? ■ Network monitoring ■ Windowing API ■ HTML support ■ FileSystem access ■ SQLite database ■ Drag 'n drop support ■ Clipboard access ■ Update API
  6. 6. How do you build it? ■ Flex Builder ■ Flash CS3 ■ Dreamweaver CS3 ■ your favorite text editor… The AIR runtime is free of charge, authoring applications is free!
  7. 7. Network monitoring air.net.URLMonitor air.net.SocketMonitor ■ monitor network status changes ■ check if URL is available ■ check if specific socket is available 001_Network
  8. 8. Windowing API flash.display.NativeWindow ■ create new application windows ■ NativeWindowInitOptions ■ subclass <mx:Window> for Flex 002_Windowing 002_Windowing Flex
  9. 9. HTML support mx.controls.HTML ■ WebKit HTML engine embedded ■ Rendered as part of the Flash display list ■ Script bridging 003_HTML 003_HTML displaylist
  10. 10. FileSystem access flash.filesystem.File ■ read, write, create files and folders ■ resolves correct path regardless of OS ■ no ability to launch applications 004_FileSystem
  11. 11. SQLite database flash.data.SQLConnection ■ SQL database saved a single file ■ Run queries using SQLStatement class ■ Prevent SQL injection using parameters 005_SQLite
  12. 12. Drag 'n drop support flash.desktop.NativeDragManager ■ drag between AIR and native apps ■ accepts different formats ■ define a drag out image 006_DragDrop
  13. 13. Clipboard access Clipboard.generalClipboard ■ generalClipboard is system wide clipboard ■ takes text, file, bitmap formats ■ ability to supply multiple formats 007_Clipboard
  14. 14. Update API flash.desktop.Updater ■ AIR runtime handles updates ■ Updater class allows self-updating ■ Requires an online resource to check 008_Update
  15. 15. Wanna learn more? ■ on AIR tour coming to Europe ■ April 4th - Amsterdam ■ April 7th - Brussels onair.adobe.com ■ www.adobe.com/devnet/air
  16. 16. Q&A ■ What do you think? ■ What features are you most excited about? ■ What is still missing?
  17. 17. Thanks! Peter Elst training@peterelst.com www.peterelst.com www.linkedin.com/in/peterelst www.twitter.com/peterelst

×