echo-o & Adobe Air App Dev - BarCamp Saigon 1

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

    Favorites, Groups & Events

    echo-o & Adobe Air App Dev - BarCamp Saigon 1 - Presentation Transcript

    1. by Tran Nhuan Quang @ Multinc with guidance from Huy Zing BarCamp Saigon 1 November 15, 2008
    2. Adobe AIR overview
      • Develop multi platform desktop apps
      • Use web-based technologies
        • Adobe Flash
        • Adobe Flex
        • HTML and Ajax (will be discussed only)
    3. How Echo-o desktop client helps
      • Simultaneously monitor feedbacks and do presentation on a single screen
      • Only shown when needed
    4. Why Adobe AIR?
      • Use of existing web development knowledge
      • Time saving on review/study traditional desktop programming languages
        • Eg. Java, .NET, etc
      • Platform independence
      • Facility for communication between server and client using Javascript
    5. AIR application structure
      • A descriptor file
      • UIs
        • HTML
        • CSS
        • Flash
      • Controllers
        • Javascript
        • Shockware Flash
    6. Tools
      • Adobe Dreamweaver
      • Adobe AIR extension for Adobe Dreamweaver
      • Adobe AIR Runtime 1.1 (current version)
      • Adobe AIR SDK 1.1 (current version)
    7. Demo time
      • Examine Echo-o Adobe AIR Application
    8. Problems and solutions
      • System chrome vs. custom chrome
      System chrome Custom chrome
    9. Problems and solutions
      • Dynamically create system tray icon
        • Coordinate with Adobe Shockware Flash
      var customIcon = new window . runtime .customIcon(“1”, “black”); air.NativeApplication.nativeApplication.icon.bitmaps = new runtime .Array(customIcon.bitmapData()); < script src =&quot;assets/customIcon.swf&quot; type =&quot;application/x-shockwave-flash&quot;> </ script > Different stages of icon
    10. Problems and solutions
      • Text rotation
      var customIcon = new window . runtime .customIcon(“Echo-o”, “#ABC”); var rotatedImage = customIcon.getRotatedPNGData();
    11. Problems and solutions
      • Launch AIR app from a webpage
        • Use of Adobe Shockware Flash
      _air = _loader.load( new URLRequest(“ http://airdownload.adobe.com/air/browserapi/air.swf”) ); _appInstalled = _air.getApplicationVersion(appID, pubID); if (_appInstalled) _air.launchApplication(appID, pubID, my_arguments); else _air.installApplication( _appURL, _airVersion, my_arguments);
    12. Problems and solutions
      • How to detect if the webpage is being run inside AIR application
      If ( window . parentSandboxBridge ) // inside AIR app else // otherwise
    13. Problems and solutions
      • How to properly detect mouse over and mouse out events on a window
        • mouse over
        • mouse out
      window.document .getElementByTagName('body').onmouseover = bindFunctionA(); window . nativeWindow .stage.addEventListener( air.Event.MOUSE_LEAVE , bindFunctionB());
    14. http://multinc.com/ http://www.adobe.com/products/air/

    + huyzinghuyzing, 2 years ago

    custom

    927 views, 0 favs, 0 embeds more stats

    For BarCamp Saigon 1, Multinc describes their exper more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 927
      • 927 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 18
    Most viewed embeds

    more

    All embeds

    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