Adobe AIR

Adobe AIR (also known as Adobe Integrated Runtime) is a cross-platform runtime system developed by Adobe Systems for building desktop applications and mobile applications, programmed using Adobe Animate, ActionScript and optionally Apache Flex. The runtime supports installable applications on Windows, OS X and mobile operating systems including Android, iOS and BlackBerry Tablet OS. It also originally ran on Linux, but support was discontinued as of version 2.6 in 2011.

Adobe AIR
Developer(s)Adobe (2008-2019); HARMAN (2019-present)
Initial releaseFebruary 25, 2008 (2008-02-25)
Stable release
33.1.1.98[1] / April 9, 2020 (2020-04-09)
Preview release
33.1.0.43 / February 13, 2020 (2020-02-13)
Operating systemMicrosoft Windows
macOS and iOS
Android[2]
BlackBerry Tablet OS
BlackBerry 10 (discontinued since OS 10.3.1)[3]
Linux (discontinued since v2.6)[4]
PlatformIA-32, x86-64, ARM, and MIPS
Available inChinese Simplified, Chinese Traditional, Czech, Dutch, English, French, German, Italian, Japanese, Korean, Polish, Portuguese (Brazilian), Russian, Spanish, Swedish, and Turkish[5]
TypeRuntime environment
LicenseProprietary[6]
Websitewww.adobe.com/products/air/

Adobe AIR is a runtime environment that allows Adobe Animate content and ActionScript 3.0 coders to construct applications and video games that run as a stand-alone app and behave similar to a native application on supported platforms. A Flash Player or HTML5 application used in a browser does not require installation, while AIR applications require installation from an installer file (Windows and OS X) or the appropriate App Store (iOS and Android). AIR applications have unrestricted access to local storage and file systems, while browser-based applications only have access to individual files selected by users.[7]

Adobe AIR internally uses a shared codebase with the Flash Player rendering engine and ActionScript 3.0 as the primary programming language. Applications must specifically be built for Adobe AIR to use additional features provided, such as multi-touch, file system integration, native client extensions, integration with Taskbar or Dock, and access to accelerometer and GPS devices.[8] HTML5 applications may run on the WebKit engine included in AIR.

Notable applications built with Adobe AIR include eBay Desktop, Pandora One desktop,[9][10] TweetDeck,[11] the former Adobe Media Player,[11] Angry Birds,[12] and Machinarium,[13] among other multimedia and task management applications.[14] According to Adobe, over 100,000 unique applications have been built on AIR, and over 1 billion installations of the same were logged from users across the world, as of May 2014.[15][16] Adobe AIR was voted as the Best Mobile Application Development product at the Consumer Electronics Show for two consecutive years (CES 2014 and CES 2015).[17][18]

In June 2019, Adobe announced it would begin transitioning ongoing platform support and development to HARMAN. Adobe will continue to provide support for Adobe AIR (versions below 33) until the end of 2020, when ongoing support for Adobe AIR will be managed by HARMAN.[19]

Features

Using AIR, developers can access functionality including text, vector graphics, raster graphics, video, audio, camera, and microphone capability. Adobe AIR also includes additional features such as file system integration, native client extensions, desktop integration and access to connected devices. AIR enables applications to work with data in different ways, including using local files, local SQLite databases (for which AIR has built-in support), a database server, or the encrypted local store included with AIR.

Developers can access additional functionality by building AIR Native Extensions, which can access full device functionality being programmed in the native language.[20]

Desktop features

On desktop platforms, AIR supports:

  • Window management – Opening multiple windows, minimizing, maximizing and resizing AIR windows.[21]
  • Menu bar – Adding a native menu bar to AIR windows, with sub menus and custom menu items.[22]
  • File management – Discovering drives, files and folders on the PC, creating and deleting files, renaming, copying and moving files.[23]
  • Console applications – Executing native applications with command-line arguments, and receiving feedback via standard I/O & error streams.[24]
  • Multithreading – Managing multiple threads, to execute ActionScript 3 code in the background without freezing the user interface.[25]
  • Web browser – View HTML web pages with full CSS and JavaScript support within applications, with the integrated WebKit-based web browser.[26]
  • Clipboard access – Programmatically copy or paste text, bitmaps or files into the system clipboard.[27]
  • Drag-and-drop – Allows users to drag text, bitmaps or files into AIR applications.[28]

Mobile features

On mobile platforms, AIR supports many mobile hardware features:

3D Graphics

In 2011, the addition of Stage3D allowed AIR apps access to GPUs for hardware acceleration. Several third-party frameworks have been developed to build upon the functionality of Stage3D, including the Starling Framework and Away3D. These frameworks are also compatible with AIR, and provide vital performance improvements to AIR apps published for mobile devices.

AIR Native Extensions

AIR apps can be augmented in functionality with the usage of AIR Native Extensions (ANEs). Native extensions are plug-in code libraries that contain native code wrapped with an ActionScript API,[33] allowing developers to access native features not otherwise usable in AIR, such as Apple Game Center or Google Cloud Messaging.

Native extensions may be developed by anyone using publicly available tools;[34] some are distributed for free or even as open source, while others are sold commercially.[35]

Native extensions may be programmed in the native language on each platform, allowing access to the full set of platform APIs provided by the developer. (C++ for Windows, Java and C++ for Android, Objective-C for iOS).[20]

Availability

AIR is a cross-platform technology and AIR applications can be repackaged with few or no changes for many popular desktop and mobile platforms. Different installation options exist for each platform.

AIR applications may be published with or without the AIR runtime. Applications packaged with the AIR runtime are larger in file size, and are known as "captive runtime" applications.[36] If the runtime is not embedded in the app, it must be installed separately.

In January 2009, Adobe claimed that there were over 100 million installations of Adobe AIR worldwide, and that "the majority of AIR runtime installations occur at the time the first AIR application is installed by a user".[37] In May 2014, Adobe claimed that over 100,000 unique applications were built on AIR, and over 1 billion installations of the same were logged from users across the world.[15][16]

Platforms

Adobe AIR, version 32, contains Adobe Flash Player 32, and is available for Windows 7 and later, as well as OS X 10.9 and later.[5] Official support for desktop Linux distributions ceased in June 2011 with version 2.6.[38]

Adobe AIR applications can be published as native phone applications on certain mobile operating systems, such as Android (ARM Cortex-A8 and above[39]) and Apple iOS.[40] In May 2017, Adobe stopped releasing AIR for Android, and the app was eventually removed from the Play Store in September 2018, but it can still be downloaded through their website,[41] and latest AIR 33 is also supported on Android.[2]

Platform Installer file support App Store support
Windows .air, .exe and .msi[36][42] None
macOS .air and .dmg[42] App Store (with captive runtime)[43]
Android .apk[44] Google Play[44]
iOS .ipa[45] App Store[45]
Playbook .bar[46] App World[46]

Application development

Adobe AIR runs applications within a contained Flash Player instance. It runs web applications via WebKit rendering engine. Multiple instances of the browser can be started within a single AIR application, but JavaScript content executes with some security limitations.

AIR does not provide direct access to native GUI elements such as navigation bars or controls. Native extensions can be used to access additional native resources.

Development tools

SDK

The AIR SDK is available as a free standalone download for software developers to make AIR applications.[47] SDK users do not need to install any commercial software to use the SDK, although several options are available. AIR apps can be compiled from the command line using the AIR compiler included in the SDK; the compiler can also be called from an IDE to eliminate the need for the command line.

AIR can also be used with Adobe Flex.[48] Flex is an integrated collection of stylable graphical user interface, data manipulation and networking components, and applications built upon it are known as "Flex" applications. Flex GUIs are defined in MXML, similar to how Android and Microsoft Visual Studio define GUIs; however, Flex does not give access to native GUI components.

AIR applications built without the Flex framework allow greater flexibility and performance, and are known as "pure ActionScript" applications.[49][50][51] Video games built on the AIR platform are typically pure-Actionscript projects. Various open-source component frameworks are available for pure ActionScript projects, such as MadComponents, that provide UI Components at significantly smaller SWF file sizes.[52][53]

Software

Adobe distributes three commercial software products for developing of AIR applications in ActionScript:

Third-party development environments that target the AIR runtime are also available, including:

  • Moonshine IDE Moonshine is a free IDE built with Apache Flex® and Adobe Air. You can create ActionScript 3, Apache Flex®, Apache Royale® and Feathers projects from Moonshine. It also provides cloud support.
  • FlashDevelop, an open-source Flash ActionScript IDE, which includes a debugger for AIR applications
  • Powerflasher FDT, a commercial ActionScript IDE
  • CodeDrive, an extension to Microsoft Visual Studio 2010 for ActionScript 3 development and debugging
  • IntelliJ IDEA, a commercial IDE supporting ActionScript 3 development and debugging
  • AS3 & MXML for VSCode, a powerful extension capable to turn the popular Microsoft free editor Visual Studio Code in a complete AIR IDE

Adobe Flash Builder is the premium tool for Flex application development, since it includes an integrated drag-and-drop user interface builder, not found in competing tools like FlashDevelop.[54]

JavaScript applications

Adobe provides for AIR, HTML5 and JavaScript development with Adobe Dreamweaver CS5, although any other HTML editor or text editor can be used.[55]

Adobe AIR can run a subset of JavaScript, with no ability to dynamically execute code when running in the application sandbox. According to Adobe, this restriction is designed to prevent malicious remote content from attacking a user's system.[56] Because of this restriction, JavaScript frameworks that make use of dynamic JavaScript functions like eval() were not initially compatible with Adobe AIR. However, several frameworks including Dojo Toolkit, jQuery, and ExtJS were updated to run in Adobe AIR's application sandbox. Some frameworks like MooTools were already compatible.

Dreamweaver CS4/CS3 requires an additional extension to compile AIR applications,[57] as does Flash CS3 in the form of an update.[58]

References

  1. "Adobe Parnership". Harman. Harman International. Retrieved February 12, 2020.
  2. "Harman - Adobe Partnership - HARMAN". services.harman.com. Retrieved April 10, 2020. AIR 33 is now released on a commercial basis, and supports 64-bit Android devices and the latest Play Store requirements.
  3. "End of Support Notice". BlackBerry Ltd. April 15, 2014. Retrieved April 18, 2014.
  4. "Adobe AIR and Linux: Increasing Distribution on Devices". Adobe Blog website. Adobe Inc. Retrieved June 14, 2011. We will no longer be releasing our own versions of Adobe AIR and the AIR SDK for desktop Linux, but expect that one or more of our partners will do so. The last Adobe release of AIR for desktop Linux is AIR 2.6. By focusing on the porting kit and support of partner implementations, we expect to provide broader support for AIR across Linux-based PCs and devices, whereas our own desktop Linux releases have accounted for less than 0.5% of lifetime AIR downloads.
  5. "Tech specs and system requirements | Adobe AIR". Adobe Systems. Retrieved January 12, 2017.
  6. "Adobe AIR 1.1 EULA" (PDF). Adobe Systems. February 4, 2008. Retrieved March 15, 2011.
  7. "Adobe AIR: Browser vs. Desktop". Adobe Systems. Retrieved March 15, 2011.
  8. Adobe AIR 3, Adobe
  9. "Upgrade Pandora Subscription to Plus or Premium". www.pandora.com.
  10. Top 10 Apps Worth Installing Adobe AIR For, LifeHacker
  11. 10 impressive Adobe AIR apps, CNET
  12. Flash Games Showcased at Adobe MAX- Rovio’s Angry Birds & Epic Games, Adobe Digital Media Blog
  13. Adobe AIR showcase apps for mobile developers, Adobe Developer Connection
  14. 60+ Useful Adobe AIR Applications You Should Know, HongKiat.com
  15. AIR app installs cross a billion, Adobe AIR and Adobe Flash Player Team Blog
  16. 1 Billion AIR Installations, Ben Forta
  17. Compass Intelligence Announces Winners of the 2014 Mobility Awards, Compass Intelligence
  18. Compass Intelligence Announces Winners of the 2015 Mobility Awards, Compass Intelligence
  19. "The Future of Adobe AIR". Adobe Blog. May 30, 2019. Retrieved August 19, 2019.
  20. Using native extensions for Adobe AIR, Adobe Help Center
  21. Basics of native windows in AIR, Adobe Help Center
  22. Creating native menus (AIR), Adobe Help Center
  23. Working with files, Adobe Help Center
  24. Communicating with native processes in AIR, Adobe Help Center
  25. Using workers for concurrency, Adobe Help Center
  26. Creating your first HTML-based AIR application with the AIR SDK, Adobe Help Center
  27. Copy and paste, Adobe Help Center
  28. Drag and drop in AIR, Adobe Help Center
  29. Touch, multitouch and gesture input, ActionScript 3.0 Developer's Guide, Adobe
  30. Accelerometer input, ActionScript 3.0 Developer’s Guide, Adobe
  31. Using the Adobe AIR Geolocation APIs on Android, Adobe Developer Connection
  32. "Adobe Flash Runtimes | Documentation archives and downloads". helpx.adobe.com.
  33. Native extensions for Adobe AIR, AIR Devnet
  34. help.adobe.com/en_US/air/extensions/air_extensions.pdf
  35. "Adobe Flash Runtimes | Documentation archives and downloads". helpx.adobe.com.
  36. Generating a Windows installer for your AIR captive runtime application, Adobe Developer Connection
  37. Ludwig, Adrian (January 28, 2009). "AIR passes 100 million installations". Adobe AIR Team Blog. Adobe Systems. Retrieved March 15, 2011.
  38. "How to install Adobe AIR 2 for 64-bit Linux systems". helpx.adobe.com.
  39. "Flash Player 10.1 – Installations and updates". Archived from the original on October 8, 2010. Retrieved November 19, 2010.
  40. iOS features in Adobe AIR 2.6, Adobe Devnet
  41. "Re: Adobe air not found on google play for some android users". Adobe. September 17, 2018. Retrieved February 23, 2020.
  42. Packaging a desktop native installer, Adobe Help Center
  43. "Post an Adobe AIR app to Mac App Store". helpx.adobe.com.
  44. Using Flash Builder 4.5 to package applications for Google Android devices, Adobe Developer Connection
  45. Using Flash Builder 4.5 to package applications for Apple iOS devices, Adobe Developer Connection
  46. Using Flash Builder 4.5 to package applications for BlackBerry Tablet OS devices, Adobe Developer Connection
  47. Adobe AIR SDK Download Page, Adobe.com
  48. Adobe Flex SDK Download Page, Adobe.com
  49. Optimizing performance of applications for connected TVs, Adobe Developer Connection
  50. Top 10 Performance Killers in your AIR Application, FlexWiz
  51. Flex versus ActionScript – the debate gets new life, Greg's Ramblings
  52. Pure ActionScript + MadComponents vs. Flash Builder 4.5, MobileAppDev
  53. Flex 4.5 vs Pure AS3, Michael Crosby
  54. Creating an application user interface, Adobe Developer Connection
  55. "Getting started with Adobe AIR for HTML/JavaScript developers". Adobe Systems. August 24, 2010. Retrieved March 15, 2011.
  56. "ADOBE® AIR™ 1.5 Security White Paper" (PDF). Adobe Systems. 2008. p. 6. Retrieved March 24, 2011.
  57. "Adobe - AIR: Tools for Ajax". Adobe Systems. Archived from the original on April 14, 2011. Retrieved March 15, 2011.
  58. "Adobe Flash - Downloads". Adobe Systems. November 17, 2008. Archived from the original on March 3, 2011. Retrieved March 15, 2011. Adobe AIR 1.5 Update for Flash CS4 Professional
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.