Adobe integrated runtime

Product Details

FAQ

Is AIR beta supported on Windows 8 Classic?
Yes, AIR is currently supported on Windows 8.1 Classic Desktop.
Is AIR beta supported on Windows 8 Modern?
Adobe AIR is available and supported for Windows 8.1 Classic Desktop on x86 based computers. Adobe currently has no plans to support Adobe AIR for Windows 8 Modern UI applications.
Can I release my app using a beta version of the AIR runtime?
Adobe does not recommend releasing apps based on prerelease versions of Adobe AIR, however, we will no longer watermark or expire prerelease versions of AIR. Developers that choose to release their apps using beta versions of the captive runtime do so at their own risk, and should test the apps accordingly.

System Requirements

The minimum system requirements for AIR beta are as follows:

Windows

  • Microsoft Windows Server 2008, Windows 7, Windows 8.1 Classic or Windows 10
  • AIR SDK Development Supports Microsoft Windows 7 and above, 64-bit only

Android

  • ARMv7/x86 processor with Vector FPU, Minimum 550MHz, OpenGL ES2.0, H.264 & AAC H/W Decoders
  • Android 4.0 and above

Release Notes

The AIR beta is designed for evaluation purposes only. We do not recommended that this release be used on production systems or for any mission-critical work.

Read the AIR beta release notes

New features for out-of-browser application development

  • Recent Updates
  • July 5, 2019— This is a beta release of AIR 32, code named Evans.
  • Download AIR 32 beta

The Adode Flash Platform runtimes, Adobe Flash Player and Adobe AIR, allow developers to create rich experiences – from console quality games and interactive content to full HD premium video – for desktop browsers as well as desktop and mobile apps for iOS (iPhone/iPad) and Android mobile devices.

Developers can leverage a common codebase to deliver tailored, optimized games, content, and apps across screens using Flash Professional and Flash Builder. Adobe AIR allows developers to package their Flash-enabled content into apps that reach over 1 billion personal computers and 500 million mobile devices.

AIR Beta Features

Thank you for your interest in the AIR beta. This beta release provides access to the AIR runtime and SDK for Windows, Mac OS, iOS, and Android. Please see our release notes for details on new features, recent fixes and known issues.

Release Downloads

Your feedback is a critical component for a successful and stable release. We encourage you to let us know if you encounter any problems or have suggestions on how we can improve AIR. Feedback can be provided to us via our public bug database and our AIR beta forum.

ActionScript 2.0 Compiler

The Actionscript Compiler 2.0 has been incorporated into the AIR SDK 4.0 (named “AIR SDK 4.0 & Compiler”) and retired as a separate download from Adobe Labs on March 14, 2013. Users may download AIR SDK & Compiler for AIR 3.4 to 3.9 from the archive page.

Community

Below you’ll find references and links to help you participate in the AIR community.

Online Forum

Ask questions, discuss, and share feedback with other users and the engineering team in the online forums.

Visit the Adobe Labs forum for AIR beta

Please note that your submission of comments, ideas, feature requests and techniques on this and other Adobe maintained forums, as well as Adobe’s right to use such materials, is governed by the Terms of Use.

Adobe Developer Connection

Learn more about AIR in the Adobe Developer Connection.

  • Visit the AIR Developer Center
  • Visit the Mobile and Devices Developer Center

Resources

If you want to learn more about releases on Labs as well as other Adobe technologies, visiting a user group or connecting with an Adobe Community Professional is a great place to start.

  • Find a user group
  • Find an Adobe Community Professional

Настройка внешних SDK

Чтобы приступить к разработке приложений для Android и iOS, необходимо загрузить файлы обеспечения, пакеты SDK и другие инструменты разработки, предоставляемые производителями платформы.

Дополнительные сведения по загрузке и установке Android SDK см. в разделе «Разработчики Android: установка SDK». Начиная с версии AIR 2.6 загружать Android SDK больше не требуется. AIR SDK теперь содержит базовые компоненты, необходимые для установки и запуска пакетов APK. Тем не менее, Android SDK можно использовать для выполнения различных задач разработки, включая создание и запуск программных эмуляторов и получение моментальных снимков экрана устройства.

Внешний SDK для разработки приложений для iOS не требуется. Однако необходимы специальные сертификаты и профили поставки. Дополнительные сведения см. в разделе Получение файлов разработчика у компании Apple.

Build and deploy rich web apps on your desktop

Adobe AIR is a runtime system used for web development. The program was created by the development & IT company, Adobe Systems, as a way for advanced users to build both desktop and mobile applications. In this runtime environment, you will be allowed to use Adobe Animate content and ActionScript 3.0 coders as a way to construct your own apps. It can either be an independent application or act similarly to native programs on supported platforms. Adobe AIR makes this possible by offering unrestricted access to local storage and file systems. This is compared with browser-based programs that only provide access to individual files handpicked by users

Getting started on AIR

Adobe AIR is part of the Adobe line of products that share a codebase with the Flash Player rendering engine and ActionScript 3.0. These are its primary programming language, so applications specifically built for AIR will need to use certain features. This includes integrations with the taskbar, file system integration, and native client extensions. To integrate these features, AIR supports eight capabilities so its users can create their app more efficiently. 

Beginning with window manager support; it is system software that’s in charge of the placement and appearance of a window in a windowing system. This will also help you work in conjunction with certain graphics hardware, pointing devices, and a keyboard.  In addition to these, AIR’s native menu bar and file management capabilities will assist you in navigating the program’s graphical user interface. These are key components when you need to add development related files or folders from your PC. 

Creating your own app

Adobe AIR allows you to execute applications through command-line arguments. This will enable the I/O and error stream to send you feedback. Otherwise known as the console application, this is the section of AIR, where it is exclusively text-based. Here you will find the command-line interface and text terminal of your operating system. GUI applications can be fully-functional with just the keyboard and display screen. You can opt to access text from the clipboard, or you can drag and drop it onto the page as well. 

As you create multiple lines of code, the multithreading support will come in handy. It will allow you to manage multiple threads as well as execute an ActionScript 3 in the background. The codes will help you produce HTML web pages that support full CSS and JavaScript alongside any WebKit-based web browser. You can enhance your application by taking advantage of the AIR Native Extensions or ANEs. These are plug-in code libraries that have native code wrapped with ActionScript API. This will enable you to access native features not usable in AIR. 

Programming tool for all user-levels

Adobe AIR is suitable for new and experienced developers as it organizes all its features on an easy-to-follow GUI. In addition, it offers capabilities that are user-friendly such as providing access to the clipboard and drag-and-drop functionality. Experienced users can also benefit from this program as the program allows you to create programs with full CSS and JavaScript, plus the native extensions that are already available in the program. 

Including the ANE file in your application’s library path

To compile an application that uses a native extension,
include the ANE file in your library path.

Using the ANE file with Flash Builder

If your application uses a native extension, include the
ANE file for the native extension in your library path. Then you
can use Flash Builder to compile your ActionScript code.

Do the following steps, which use Flash Builder 4.5.1:

  1. Change the filename extension of the ANE file from
    .ane to .swc. This step is necessary so that Flash Builder can find
    the file.

  2. Select Project > Properties on your Flash Builder project.

  3. Select the Flex Build Path in the Properties dialog box.

  4. In the Library Path tab, select Add SWC….

  5. Browse to the SWC file and select Open.

  6. Select OK in the Add SWC… dialog box.

    The ANE file
    now appears in the Library Path tab in the Properties dialog box.

  7. Expand the SWC file entry. Double-click Link Type to open
    the Library Path Item Options dialog box.

  8. In the Library Path Item Options dialog box, change the Link
    Type to External.

Now you can compile your application using, for example, Project
> Build Project.

Установка AIR SDK

В состав SDK Adobe AIR входят следующие инструменты командной строки для запуска и упаковки приложений.

AIR Debug Launcher (ADL)
Позволяет запускать приложения AIR, не устанавливая их. См. раздел «AIR Debug Launcher (ADL)».

AIR Development Tool (ADT)
Предназначен для упаковки приложений AIR в развертываемые установочные пакеты. См. раздел «AIR Developer Tool (ADT)».

Для работы инструментов командной строки AIR требуется Java. Можно использовать виртуальную машину Java из комплекта JRE или JDK (версии 1.5 или более поздней версии). Java JRE и Java JDK можно загрузить с веб-сайта http://java.sun.com/.

Для запуска инструмента ADT требуется не менее 2 ГБ памяти на компьютере.

Примечание. Для запуска приложений AIR конечным пользователям устанавливать Java не требуется.

Краткий обзор создания приложения AIR с помощью AIR SDK см. в разделе «Создание первого HTML-приложения AIR с помощью комплекта AIR SDK».

Установка AIR SDK в ОС Windows

  • Загрузите установочный файл AIR SDK.

  • AIR SDK распространяется в виде стандартного файла архива. Чтобы установить AIR, извлеките содержимое SDK в папку на компьютере (например, в C:\Program Files\Adobe\AIRSDK или C:\AIRSDK).

  • Инструменты ADL и ADT содержатся в папке bin комплекта AIR SDK; добавьте этот путь в переменную среды PATH.

Установка AIR SDK в ОС Mac OS X

  • Загрузите установочный файл AIR SDK.

  • AIR SDK распространяется в виде стандартного файла архива. Чтобы установить AIR, извлеките содержимое SDK в папку на компьютере (например, в: /Users/<имя_пользователя>/Applications/AIRSDK).

  • Инструменты ADL и ADT содержатся в папке bin комплекта AIR SDK; добавьте этот путь в переменную среды PATH.

Установка AIR SDK в ОС Linux

  • Пакет SDK доступен в формате tbz2.

  • Чтобы установить SDK, создайте папку и распакуйте в нее содержимое SDK, используя команду tar -jxvf <путь к файлу AIR-SDK.tbz2>

Сведения о начале работы с инструментами AIR SDK см. в разделе «Создание приложения AIR с помощью инструментов командной строки».

Packaging an application that uses native extensions

Use ADT to package an application that uses native extensions.
You cannot package the application using Flash Professional CS5.5
or Flash Builder 4.5.1.

Details about using ADT are at AIR Developer Tool (ADT).

For example, the following ADT command creates a DMG file (a
native installer file for Mac OS X) for an application that uses
native extensions:

adt -package 
    -storetype pkcs12 
    -keystore myCert.pfx 
    -target native 
    myApp.dmg 
    application.xml 
    index.html resources 
    -extdir extensionsDir

The following command creates an APK package for an Android device:

adt -package 
    -target apk 
    -storetype pkcs12 -keystore ../codesign.p12 
    myApp.apk 
    myApp-app.xml 
    myApp.swf icons 
    -extdir extensionsDir

The following command creates an iOS package for an iPhone application:

adt -package 
    -target ipa-ad-hoc 
    -storetype pkcs12 -keystore ../AppleDistribution.p12 
    -provisioning-profile AppleDistribution.mobileprofile 
    myApp.ipa 
    myApp-app.xml 
    myApp.swf icons Default.png 
    -extdir extensionsDir

Note the following:

  • Use a native installer package type.

  • Specify the extension directory.

  • Make sure that the ANE file supports the application’s target
    device.

Use a native installer package type

The application package must be a native installer. You
cannot create a cross-platform AIR package (a .air package) for
an application that uses a native extension, because native extensions
usually contain native code. However, typically a native extension
supports multiple native platforms with the same ActionScript APIs.
In these cases, you can use the same ANE file in different native installer
packages.

The following table summarizes the value to use for the -target option
of the ADT command:

Application’s target platform

-target

Mac OS X or Windows desktop devices

-target native

-target bundle

Android

-target apk

or other Android package
targets.

iOS

-target ipa-ad-hoc

or other iOS package
targets

iOS Simulator

-target ipa-test-interpreter-simulator

-target
ipa-debug-interpreter-simulator

Specify the extension directory

Use the ADT option -extdir to tell ADT
the directory that contains the native extensions (ANE files).

For details about this option, see File and path options.

Make sure that the ANE file supports the application’s target device

When providing an ANE file, the native extension developer
informs you which platforms the extension supports. You can also
use an archive extractor tool to look at the contents of the ANE
file. The extracted files include a directory for each supported
platform.

Knowing which platforms the extension supports is important when
packaging the application that uses the ANE file. Consider the following
rules:

  • To create an Android application package, the ANE file
    must include the Android-ARM platform. Alternatively,
    the ANE file must include the default platform and at least one
    other platform.

  • To create an iOS application package, the ANE file must include
    the iPhone-ARM platform. Alternatively, the ANE
    file must include the default platform and at least one other platform.

  • To create an iOS Simulator application package, the ANE file
    must include the iPhone-x86 platform.

  • To create a Mac OS X application package, the ANE file must
    include the MacOS-x86 platform. Alternatively,
    the ANE file must include the default platform and at least one
    other platform.

  • To create a Windows application package, the ANE file must
    include the Windows-x86 platform. Alternatively,
    the ANE file must include the default platform and at least one
    other platform.

Оцените статью
Рейтинг автора
5
Материал подготовил
Андрей Измаилов
Наш эксперт
Написано статей
116
Добавить комментарий