Posts in Category "Videos"

JavaScript Memory and CPU Profiling in Adobe AIR 2

One of the biggest challenges our team continued to hear from JavaScript developers using Adobe AIR 1.5 was that it was too difficult to track down CPU and memory issues within their HTML-based AIR applications. To help JavaScript developers detect and resolve these issues, we have introduced new runtime support for CPU and memory profiling of HTML-based AIR applications in the Adobe AIR 2 beta.

By doing so, tools like Aptana Studio can build powerful features that make analyzing memory and CPU usage of JavaScript execution within an AIR app a breeze. In the video above, Paul Colton, CEO of Aptana, provides an overview of how Aptana Studio is able to take advantage of the new runtime support and build powerful new features to assist developers in tracking down performance issues.

Some of the features included in the new Adobe AIR 2 Beta Plug-In for Aptana Studio include:

  • Live Objects View
    • Shows current information about how much current and cumulative memory is used by the application
    • Shows the number of current and cumulative instances of objects
  • Memory Usage View
    • Peak memory used
    • Current memory used
  • Memory Snapshot and Object References Views
    • Captures the number of class instances as well as memory used at a point in time
    • Select an object to view its references
    • Allocation trace information reveals where the objects are allocated
  • Loitering Objects View
    • Displays the memory usage difference between two memory snapshots
    • Helps detect loitering objects that are still present
  • Performance Profile View
    • Displays a list of all method calls along with amount of time for each to run
  • Method Statistics View
    • Presents information on the callers and callees of a function including statistics
    • Quickly navigate to location of the function in the code

Both Adobe AIR 2 and Adobe AIR 2 Beta Plug-in for Aptana Studio are currently in beta. If you run into issues or have feature requests, both the Adobe and Aptana teams would appreciate hearing your feedback on these new capabilities.

Next steps:

  1. Watch the tutorial video for a quick introduction on the new profiler capabilities
  2. Download the Adobe AIR 2 Beta Plug-In
  3. Discuss the feature on the Adobe AIR 2 Beta forums or post a comment below

Note: For Flex and Flash developers, support for application profiling has been available in Adobe Flex Builder for some time. We are very excited to bring this support to JavaScript developers as well.

Exploring the New Storage Volume APIs in AIR 2

One of the new capabilities that will be available in our upcoming beta release of Adobe AIR 2 will allow developers to build applications that can detect the mounting and unmounting of mass storage devices. What is a mass storage device? Examples of such devices include USB flash drives, hard drives and certain models of MP3 players and cameras such as the popular Flip HD video cameras. Using these new API’s, developers will be possible to build new classes of applications that were not possible in AIR 1. For example, it is now possible for a developer to build an applications that automatically synchronizes data between a local hard drive (or in the cloud) and a mass storage device.

Christian Cantrell, a member of the Adobe AIR team, posted an excellent blog post with code samples where he provides example code how these new API’s will work. In addition, he also recorded a demo of an AIR 2 application he made available as open source called FileTile.

Cynergy Systems Demos Adobe AIR 2 Multi-touch Support

Andrew Trice of Cynergy Systems recently wrote a blog post summarizing his experiences building multi-touch applications using Adobe Flex and an early version of Adobe AIR 2. In his post, he shares a number of excellent video demonstrations, code samples and design considerations that developers thinking about multi-touch development may find valuable.

In addition, Dave Wolf, also of Cynergy Systems, wrote a blog post discussing the development of an application for the Adobe MAX keynote. At MAX, Dave recorded a video demonstration of that application from the event floor that I have embedded below.

Lastly, if you are interested in learning more about multi-touch, please be sure to watch Andrew’s talk titled "Multi-touch Development with Adobe Flex" that he presented at Adobe MAX earlier this month.

Interview with TweetDeck Founder

Platform evangelist Andrew Shorten recently talked to Iain Dodsworth, founder and CEO of TweetDeck, about his experiences developing his very popular social networking tool powered by Adobe AIR.

Adobe MAX Video: What’s Coming in Adobe AIR 2

Last week, we were thrilled to preview Adobe AIR 2 at Adobe MAX where we unveiled some of the new capabilities coming to the runtime. In addition, there were dozens of sessions covering AIR ranging from application case studies to deployment strategies and more.

During the rest of this week, I will be highlighting a few of the AIR-related sessions. I encourage you to explore and discover the over 250 hours of content in the design, develop and envision tracks that covered topics ranging from Photoshop to ColdFusion to LiveCycle and beyond. All of this content is currently available on Adobe TV. Please note that some of the recordings may not start right away and you may need to fast-forward a bit (the team at Adobe.TV did an amazing job of getting these sessions online as quickly as possible).

The first session I would like to highlight is What’s Coming in Adobe AIR 2 by Adobe AIR team member Christian Cantrell. If you are interested in what some of the new API’s will look like in AIR 2, this is a session you will definitely want to check out.

Check out Adobe AIR videos on Adobe TV

adobetv.png

The Adobe TV team relaunched its website yesterday and there are a number of significant updates to the website including:

  • User-customizable homepage
  • Vastly improved navigation & search
  • Save your favorite episodes to “My Library”
  • Share videos on social networking sites such as Facebook, Digg, and StumbleUpon
  • Subscribe to the RSS feeds of your favorite shows
  • Pop-out video player to view videos at any size
  • Commenting & Rating
  • Tags

If you are developer building applications outside of the browser with AIR, please check out the Adobe AIR section and let us know what you think by leaving a comment. If there are additional videos you would like to see, we’d love to hear your requests.

Here is a sample of one of the videos available on Adobe TV from Danny Dura, a platform evangelist at Adobe, titled "Using the local database functionality in Adobe AIR". There is also a selection of customer success stories available as well.