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.
Yes, you can do that with AIR 2.0!<br />
<ul><li>  Freelance Flash Platform Consultant
  Adobe Community Professional
  Author of “Object-Oriented ActionScript 3.0”
  Founding Partner of Project Cocoon
Who am I? </li></li></ul><li><ul><li>  Adobe AIR limitations & opportunities
  What is new in AIR 2.0?
  What is already possible in AIR 1.x?
  API Examples
  Q&A
What are we talking about?</li></li></ul><li><ul><li>  I want an AIR app as a front-end to our software
  I want to have a native installer
  I want control over hardware
  I wantadvanced printing controls
  I want to handlesecure connections
  …
Some things clients ask</li></li></ul><li>Yes, youcan!<br />(with AIR 2.0)<br /><ul><li>My usual answer</li></li></ul><li>...
Increasedlowlevelaccessmeansgiving up some    of the cross-platform abstraction
  Not everythingyouwant to do willbe possible   using AIR APIs, but youcandelegateit
The limitations</li></li></ul><li><ul><li>Support for TLS/SSL sockets
Enhanced printing support
Mass storagedetection (e.g. USB drives)
Ability to listen to sockets, UDP support
Native processes
Raw microphone access
Multi-touchgestures
…
What is new in AIR 2.0?</li></li></ul><li><ul><li>Adobe AIR is not limited to Twitter clients
Upcoming SlideShare
Loading in …5
×

Yes, you can do that with AIR 2.0

1,985 views

Published on

AIR 2.0 presentation at Flash and the City 2010

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Yes, you can do that with AIR 2.0

  1. 1. Yes, you can do that with AIR 2.0!<br />
  2. 2. <ul><li> Freelance Flash Platform Consultant
  3. 3. Adobe Community Professional
  4. 4. Author of “Object-Oriented ActionScript 3.0”
  5. 5. Founding Partner of Project Cocoon
  6. 6. Who am I? </li></li></ul><li><ul><li> Adobe AIR limitations & opportunities
  7. 7. What is new in AIR 2.0?
  8. 8. What is already possible in AIR 1.x?
  9. 9. API Examples
  10. 10. Q&A
  11. 11. What are we talking about?</li></li></ul><li><ul><li> I want an AIR app as a front-end to our software
  12. 12. I want to have a native installer
  13. 13. I want control over hardware
  14. 14. I wantadvanced printing controls
  15. 15. I want to handlesecure connections
  16. 16.
  17. 17. Some things clients ask</li></li></ul><li>Yes, youcan!<br />(with AIR 2.0)<br /><ul><li>My usual answer</li></li></ul><li><ul><li> AIR 1 islimited by itssecurity model
  18. 18. Increasedlowlevelaccessmeansgiving up some of the cross-platform abstraction
  19. 19. Not everythingyouwant to do willbe possible using AIR APIs, but youcandelegateit
  20. 20. The limitations</li></li></ul><li><ul><li>Support for TLS/SSL sockets
  21. 21. Enhanced printing support
  22. 22. Mass storagedetection (e.g. USB drives)
  23. 23. Ability to listen to sockets, UDP support
  24. 24. Native processes
  25. 25. Raw microphone access
  26. 26. Multi-touchgestures
  27. 27.
  28. 28. What is new in AIR 2.0?</li></li></ul><li><ul><li>Adobe AIR is not limited to Twitter clients
  29. 29. You can do some great applications right now
  30. 30. So what you can do in AIR 1?</li></li></ul><li><ul><li>AIR has an embeddedWebkit HTML engine
  31. 31. HTML isintegrated in the Flash display list</li></ul>flash.html.HTMLLoader<br />mx.controls.HTML<br /><ul><li>HTML support</li></li></ul><li><ul><li>Example</li></li></ul><li><ul><li>AIR canread, write, delete files and folders
  32. 32. File paths are abstracted and OS independent</li></ul>flash.filesystem.File<br />flash.filesystem.FileStream<br /><ul><li>Filesystem access</li></li></ul><li><ul><li>Example</li></li></ul><li><ul><li>AIR has an embeddedSQLitedatabaseengine
  33. 33. Databases are container in a single file</li></ul>flash.data.SQLConnection<br />flash.data.SQLStatement<br /><ul><li>SQLite database</li></li></ul><li><ul><li>Example</li></li></ul><li><ul><li>AIR supports drag ‘n drop between applications
  34. 34. Allowsyou to set the drag data and image</li></ul>flash.events.NativeDragEvent<br />flash.desktop.NativeDragManager<br /><ul><li>Drag ‘n Drop</li></li></ul><li><ul><li>Example</li></li></ul><li><ul><li>Control an OS wideclipboard
  35. 35. Assignclipboard data in one or more formats</li></ul>flash.desktop.Clipboard<br /><ul><li>Clipboard access</li></li></ul><li><ul><li>Example</li></li></ul><li><ul><li>Open files with their default application
  36. 36. Launching native processes
  37. 37. Workingwith USB mounteddevices
  38. 38. Binding to a socket
  39. 39. AIR 2.0 examples</li></li></ul><li><ul><li>Open a file withits default application
  40. 40. Launch an executablewithoptional arguments</li></ul>flash.desktop.NativeProcess<br />flash.desktop.NativeProcessStartupInfo<br /><ul><li>Native processes</li></li></ul><li><ul><li>Example</li></li></ul><li><ul><li>Getmount and unmountevents for USB devices
  41. 41. Works for devicesthat expose themselves to the OS as a hard drive</li></ul>flash.filesystem.StorageVolumeInfo<br />flash.events.StorageVolumeInfoEvent<br /><ul><li>Storage Volume Detection (USB)</li></li></ul><li><ul><li>Example</li></li></ul><li><ul><li>Set up a persistent socket connection
  42. 42. Listen for incoming data or send data</li></ul>flash.net.ServerSocket<br />flash.events.ServerSocketConnectEvent<br /><ul><li>ServerSocket connection</li></li></ul><li><ul><li>Example</li></li></ul><li>+<br /><ul><li>AIR is coming to Android!</li></li></ul><li><ul><li>Questions?</li></li></ul><li>Questions, feedback – let me know!<br />Blog www.peterelst.com<br />Email info@peterelst.com<br />Twitter @peterelst<br /><ul><li>Get in touch</li>

×