Advanced Desktop Development

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    2 Favorites

    Advanced Desktop Development - Presentation Transcript

    1. Advanced Desktop Development with Adobe AIR Mike Chambers Principal Product Manager Flash Platform
    2. Overview • File Monitoring • Volume Monitoring • Data / Object Persistence • Caching Assets for offline and performance • Syncing offline data online • Working with native applications • AIR 2.0 Sneaks
    3. as3corelib
    4. File Monitoring • Detect when les are created, deleted and / or modi ed • No built in way to monitor les • Can be difficult due to possibility of le being deleted, moved, etc...
    5. as3corelib : FileMonitor
    6. Volume Monitoring Detect when a volume is added or removed from system • USB and Firewire Drives • Cameras / Mobile Devices (that mount as drives) • CD / DVD Roms
    7. Volume Monitoring File.getRootDirectories() is inconsistent across platforms Windows : Array of Root Drives / Files Mac / Linux : Array with single root “/” File
    8. as3corelib : VolumeMonitor
    9. “Athena”
    10. “Athena” : StorageVolume APIs • “Athena” API • Monitors mounting and un-mounting of storage volumes • USB / Firewire • Cameras and Devices that mount as drives
    11. “Athena” : StorageVolume Events
    12. Caching Assets • Enable for offline use • Improved performance even when online • Useful for images, data which does not degrade with age
    13. as3corelib : ResourceCache
    14. Data / Object Persistence • Archive Objects directly to File system • Easy to implement • Can be used as custom le format for application
    15. Syncing Offline Data • Sync local data additions / changes to server • Useful for offline apps, or applications that may have poor connections
    16. Add Image Add to Queue Online Write to Write to File Array Send Next Image Offline Currently Yes Sending? Do Nothing No Online? Pause No Sending Yes Send to Server Send Yes No Successful Remove Remove from from File Array
    17. Working with Native Processes / Applications • Currently no formal API for working with native processes • CommandProxy Pattern : extend via proxy / helper app • Requires custom installer • Can use Adobe AIR silent install
    18. CommandProxy • Proof of concept • Written in C#, ActionScript 3.0 • Could be written in any desktop language
    19. “Athena” : NativeProcess API • New API in AIR 2.0 • Can call and communicate with external applications • Requires application be distributed as native installer (no AIR les) • Cannot execute applications within application directory • Must add “extendedDesktop” to support pro les
    20. “Athena” : NativeProcess
    21. AIR 2.0 : Launch Default • Allows le to be launched with default application • Works in any AIR application • File cannot be in application directory • File type blacklist
    22. Mike Chambers www.mikechambers.com twitter.com/mesh mesh@adobe.com
    SlideShare Zeitgeist 2009

    + Yagiz GurgulYagiz Gurgul Nominate

    custom

    1199 views, 2 favs, 2 embeds more stats

    More info about this document

    CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

    Go to text version

    • Total Views 1199
      • 1185 on SlideShare
      • 14 from embeds
    • Comments 0
    • Favorites 2
    • Downloads 0
    Most viewed embeds
    • 7 views on http://static.slidesharecdn.com
    • 7 views on http://janumedia.com

    more

    All embeds
    • 7 views on http://static.slidesharecdn.com
    • 7 views on http://janumedia.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories