Sunday, December 20, 2015

Adobe AIR

From Wikipedia, the free encyclopedia
Adobe AIR
Adobe AIR logo.png
Developer(s)Adobe Systems
Initial releaseFebruary 25, 2008; 7 years ago
Stable release
Windows 20.0.0.204(December 8, 2015; 5 days ago) [±]
OS X
20.0.0.204 (December 8, 2015; 5 days ago) [±]
Development statusActive
Operating systemMicrosoft Windows
OS X
Android[1]
iOS[2]
BlackBerry Tablet OS
BlackBerry 10(Discontinued since OS 10.3.1)[3]
Linux (Discontinued since v2.6)[4]
PlatformIA-32x86-64ARM andMIPS
Available inEnglish
TypeRuntime environment
LicenseProprietary[5]
Websitewww.adobe.com/products/air/
Adobe AIR (formerly Adobe Integrated Runtime) is a cross-platform runtime system developed by Adobe Systems for building desktop applications and mobile applications, programmed using Adobe FlashActionScript and optionally Apache Flex. The runtime supports installable applications on WindowsOS X and mobile operating systems like AndroidiOS and BlackBerry Tablet OS. It also originally ran on Linux, but support was discontinued as of version 2.6 in 2011.
Adobe AIR is a runtime environment that allows Adobe Flash content and ActionScript 3.0 code to construct applications and video games that run outside a web browser, and behave as a native application on supported platforms. An application developed for Flash Player or HTML5 and deployed in a browser does not require installation, while AIR applications requires 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.[6]
Adobe AIR internally uses the Flash Player rendering engine, and ActionScript 3.0 as the primary programming language. Flash 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.[7] HTML5 applications may run on the WebKit engine included in AIR.
Notable applications built with Adobe AIR include eBay Desktop, Pandora One desktop[8][9] TweetDeck,[10] Adobe Media Player,[10] Angry Birds,[11] Machinarium,[12] among other multimedia and task management applications.[13] According to Adobe, over 100,000 unique applications were built on AIR, and over 1 billion installations of the same were logged from users across the world, as of May 2014.[14][15] 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).[16][17]

Features[edit]

Using AIR, developers can access the full Adobe Flash functionality, including textvector graphicsraster graphicsvideoaudiocamera 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.[18]

Desktop features[edit]

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

Mobile features[edit]

On mobile platforms, AIR supports many mobile hardware features:

3D Graphics[edit]

In 2011, the addition of Stage3D to the Flash Player allowed Flash and 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[edit]

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,[31] 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;[32] some are distributed for free or even as open source, while others are sold commercially.[33]
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 for Android,Objective-C for iOS).[18]

Availability[edit]

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.[34] 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".[35] 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.[36][37]

Desktop platforms[edit]

The latest version of Adobe AIR, version 18, contains Adobe Flash Player 18, and is available for Windows XP and later, as well as OS X.[38] Official support for desktop Linux distributions ceased in June 2011 with version 2.6.[39]
PlatformInstaller file supportApp Store support
Windows.air.exe and .msi[34][40]None
OS X.air and .dmg[40]With captive runtime[41]
Android.apk[42]Google Play[42]
iOS.ipa[43]iTunes Store[43]
PlayBook.bar[44]BlackBerry App World[44]

Mobile platforms[edit]

Adobe AIR applications can be published as native phone applications on certain mobile operating systems, such as Android (ARM Cortex-A8 and above[45]) and Apple iOS.[38]
The following table explains to what extent Adobe AIR can run on various mobile operating systems:
Operating SystemPrerequisitesLatest Adobe Flash PlayerAIR Framework
AndroidAndroid 2.3+, ARM Cortex-A8+[46] or Android x86[47]AIR 3.6.0.597 (uses Flash Player 11.6)[48]Option 1: The AIR player can be embedded as a 'captive' runtime, which increases APK size but makes the application standalone.[49]
Option 2: The runtime is not included with the app, and must installed as a separate app from the app market.[50]
Apple iOSiOS 4.3 or laterAIR 3.6.0.597 (uses Flash Player 11.6)[48]Not applicable: each app includes its own 'captive' runtime.[51]
BlackBerry Tablet OSNoneAIR 3.1 (uses Flash Player 11.1)[52][53]Already pre-installed on each device.[51]
BlackBerry 10Blackberry 10.2 and lower (no longer supported from 10.3)[54]AIR 3.5 (uses Flash Player 11.1)Already pre-installed on each device.

Application development[edit]

Adobe AIR runs Flash 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[edit]

SDKs[edit]

The AIR SDK is available as a free standalone download for software developers to make AIR applications.[55] 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 obviate the need for the command line.
AIR can also be used with Adobe Flex.[56] 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.[57][58][59][60] 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.[61][62]

Software[edit]

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:
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 likeFlashDevelop.[63]

JavaScript applications[edit]

Adobe provides for AIR HTML5 and JavaScript development with Adobe Dreamweaver CS5, although any other HTML editor or text editor can be used.[64]
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.[65] 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,[citation needed] jQuery,[citation needed] and ExtJS[citation needed] were updated to run in Adobe AIR's application sandbox. Some frameworks like MooTools were already compatible.[citation needed]
Dreamweaver CS4/CS3 requires an additional extension to compile AIR applications,[66] as does Flash CS3 in the form of an update.[67]

No comments:

Post a Comment