0 Replies Latest reply on Nov 26, 2013 5:53 PM by chris.campbell

    11/19/2013 - Beta - AIR 4.0.1090 Runtime and SDK

    chris.campbell Adobe Employee

      Adobe AIR Beta Channel Update

       

      This beta release provides access to the latest AIR runtime and SDK (with compiler) for Windows, Mac OS, iOS and Android.

       

      With this release, we are introducing a new numbering scheme for our product versions. Adopting the pattern set by Google with Chrome and Mozilla with Firefox, we will simply update the major version number with each subsequent release. In other words, beginning with the release of "Jones", Flash Player will become Flash Player 12. With each new major release, roughly every 3 months, that number will increase by one.

       

      This change will also apply to AIR and the AIR SDK, albeit not right away. Our "Jones" release will be numbered AIR 4 and AIR SDK 4; however, with our "King" (Q2 2014) release, the version number will be synchronized with the Flash Player version at 13.

       

      Below are some of the key features and benefits of AIR 4.0.  Please see our release notes for full details.

       

      New Features:


      • Graphics: Buffer Usage flag for Stage3D

      We've added a new enum Class called Context3DBufferUsage which defines two constants, STATIC_DRAW (default) and DYNAMIC_DRAW.  These constants specify how buffers will be used in Stage3D. We've also added a new parameter, called "bufferUsage", to the constructors of VertexBuffer and IndexBuffer. This "bufferUsage" parameter uses one of the constants form Context3DBufferUsage, which will allow you to select the appropriate buffer type according to your needs.

       

      • Android Workers

      Introduced as a beta feature in AIR 3.9, we're continuing to improve this feature based on your feedback in preparation for an official release in AIR 4.


      • Android - Support for native resources access by R* mechanism in native extension

      Currently, to use the native Android resources in the Android Native Extension one has to use getResourceID() API while typically to access the resource IDs developers use the R.* mechanism. AIR 4.0 onwards, apps developers will be able to access the resources by R.* mechanism. All the dependencies need to be specified in platform.xml as following and all the dependencies and resources to be packaged in the ANE.

       

      </platform xmlns="http://ns.adobe.com/air/extension/4.0">
      <packagedDependencies>
          <packagedDependency>sample-lib-method.jar</packagedDependency>
          <packagedDependency>sample-lib-services.jar</packagedDependency>
      </packagedDependencies>
      <packagedResources>
        <packagedResource>
              <packageName>com.myane.sampleasextension</packageName>
              <folderName>ane-res</folderName>
          </packagedResource>
          <packagedResource>
              <packageName>com.example.lib</packageName>
              <folderName>lib-res</folderName>
          </packagedResource>
      </packagedResources>
      </platform>
      

       

      Sample ANE packaging command, the folder Android-ARM contains all the jars and the resources of ane and the dependent jars.

       

      bin/adt -package -target ane sample.ane extension.xml -swc sampleane.swc -platform Android-ARM -platformoptions platform.xml -C Android-ARM .
      

       

      Note:

        • The platform.xml, extention.xml and application descriptor should have namespace 4.0 or above.
        • The ANE project should be a library project for R.* resource access mechanism to work.

       

       

      Known Issues:


      • 3658462: [iOS] Text field stops updating on iOS7 after giving voice input.

       

       

      About the Beta Channel

       

      If you would like real-time notification for announcements related to the AIR Beta Channel, please subscribe to our Twitter feed@FlashPlayerBeta, or follow the Flash Runtime Announcements forums by choosing "Follow this forum" from the right-hand menu on the Forums page.

       

      You can find instructions for getting started with this release here: AIR Labs Page

      We encourage you to let us know what you think on our AIR Labs Forum