Today we're pleased to announce that the next version of AIR is available for immediate download. This update includes the following new features and improvements:
New Features:
- Mobile Workers (concurrency) BETA - Android
Our hugely popular desktop feature, AIR Workers, is now making its debut on mobile! We have added support on Android devices so that you will be able to execute code in the background without interrupting your application’s main code. Your UI will remain responsive, enhancing the user experience. We haven’t forgotten about iOS! Look for news on iOS workers in an upcoming release (NOTE: this feature will undergo an extended beta period.)
- AIR Mobile Support for Background Execution in “Direct” Render Mode
AIR now supports background execution on iOS and Android when render mode is set to “direct”. This will allow your applications to perform tasks such as audio playback even when invisible to the user. Due to power and CPU considerations, we recommend reviewing our release notes for additional details and guidance.
In the past AIR on iOS and Android did not support background execution when render mode direct was set. Due to this restriction,Stage3D based apps were not able to execute background tasks like audio playback, location updates, network upload/download etc. iOS does not allow OpenGLES/rendering calls in the background. Applications which attempt to make OpenGL calls in the background are terminated by the iOS. Android does not restrict applications from either making OpenGLES in the background or other background task(like audio playback).
With this feature, we will now allow AIR mobile apps to execute in background when renderMode direct is set. AIR iOS runtime will throw an error if OpenGLES calls are made in background. However no error will be thrown on Android, as Android native apps are allowed to make OpenGLES calls in the background. It's recommended to not make rendering calls while your app is executing in the background as its important to utilize the mobile resources judicially. The following is a list of Stage APIs which may throw the error 3768 - The Stage3D API may not be used during background execution. The swf version should be 22 and above.
Context3D.clear
Context3D.present
Context3D.createVertexBuffer
Context3D.createIndexBuffer
Context3D.drawToBitmapData
IndexBuffer3D.uploadFromVector
IndexBuffer3D.uploadFromByteArray
VertexBuffer3D.uploadFromFloat
VectorVertexBuffer3D.uploadFromFloat4
VectorVertexBuffer3D.uploadFromByteArray
Program3D.upload
Texture.uploadCompressedTextureFromByteArray
Texture.uploadFromBitmapData
Texture.uploadFromByteArray
CubeTexture.uploadFromBitmapData
CubeTexture.uploadFromByteArray
CubeTexture.uploadCompressedTextureFromByteArray
RectangleTexture.uploadFromBitmapData
RectangleTexture.uploadFromByteArray
- AIR Support for iOS7
iOS7 has launched and we are making sure that AIR is compatible and performs as expected.
- AIR Mac OS 10.9 Support
We have tested against the latest developer releases of OS X 10.9 and are making sure that your applications support the latest technologies such as “App Nap”.
- AIR XXHDPI (144 x 144) Icon Support for Android
With this feature we have added support for beautiful, high resolution icons on devices such as the Nexus 10.
Notable bug fixes:
- [3622405] [AIR] [iOS7] - iOS7 requires 5 new icon sizes: 76px, 120px, 152px, 40px, 80px
- [3621111] [AIR] [Android] - Cannot load files asynchronously in StageWebView
- [3613819] [AIR] [iOS7] - on using sound.play app asks permission for accessing the Microphone even when microphone API is not used in the app.
- [3587773] [AIR] [iOS] - Creating too many FileStream objects will cause app to crash on iOS
- [3587452] [AIR] [Android] - 144x144 image size icon should be supported on android
Known Issues:
- [3640207] [Android] [Captive Application] - orientationChange event handler fetches wrong stage.orientation values.
- [3616981] [iOS] - Sound gets stop on clicking Power button even when UIBackground tag value set to Audio in application.xml
For further information please see our release notes.
Download Locations:
AIR 3.9.0.1030 runtime for Windows: 3.8 Runtime Download
AIR 3.9.0.1030 runtime for Macintosh: 3.8 Runtime Download
AIR 3.9.0.1030 SDK & Compiler for Windows: 3.8 SDK & Compiler Download
AIR 3.9.0.1030 SDK & Compiler for Macintosh: 3.8 SDK & Compiler Download
Note: To provide all the all the necessary tools for our developers in one place and avoid having to download multiple components, we are packaging Adobe AIR 3.8 SDK and ActionScript Compiler 2.0 in a single SDK called “Adobe AIR 3.8 SDK & Compiler”.
AIR SDK 3.9.0.1030 (Compatible with Flex) for Windows: 3.8 SDK Windows Download
AIR SDK 3.9.0.1030 (Compatible with Flex) for Macintosh: 3.8 SDK Macintosh Download
Previous versions of the AIR runtime and SDK can be found on the Archived AIR SDK and Runtimes page