18
RIA meets Desktop Introduction to the AIR API's

RIA meets Desktop

Embed Size (px)

DESCRIPTION

Introduction to the Adobe AIR API's

Citation preview

  • 1. RIA meets Desktop Introduction to the AIR API's
  • 2. Who is this guy? Freelance Flash Platform Consultant Adobe Community Expert Adobe Certied Instructor Author of quot;Object-Oriented ActionScript 3.0quot; and several other Flash Platform books
  • 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. Why AIR? www.30onAIR.com
  • 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. 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. Network monitoring air.net.URLMonitor air.net.SocketMonitor monitor network status changes check if URL is available check if specic socket is available 001_Network
  • 8. Windowing API ash.display.NativeWindow create new application windows NativeWindowInitOptions subclass for Flex 002_Windowing 002_Windowing Flex
  • 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. FileSystem access ash.lesystem.File read, write, create les and folders resolves correct path regardless of OS no ability to launch applications 004_FileSystem
  • 11. SQLite database ash.data.SQLConnection SQL database saved a single le Run queries using SQLStatement class Prevent SQL injection using parameters 005_SQLite
  • 12. Drag 'n drop support ash.desktop.NativeDragManager drag between AIR and native apps accepts different formats dene a drag out image 006_DragDrop
  • 13. Clipboard access Clipboard.generalClipboard generalClipboard is system wide clipboard takes text, le, bitmap formats ability to supply multiple formats 007_Clipboard
  • 14. Update API ash.desktop.Updater AIR runtime handles updates Updater class allows self-updating Requires an online resource to check 008_Update
  • 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. Q&A What do you think? What features are you most excited about? What is still missing?
  • 17. Thanks! Peter Elst [email protected] www.peterelst.com www.linkedin.com/in/peterelst www.twitter.com/peterelst