The new AIR 2.0 Beta is seriously cool. Some of the hi-lights are the NativeProcess feature, which enabled command line integration (think of the possibilities), and the ability to record microphone data (finally).
For more information on the new features in AIR 2.0, check out: http://labs.adobe.com/technologies/air2/
Setup for FDT Users
A few quick steps to getting up and running with AIR 2.0 beta using FDT and ANT to build:
- Download and install the AIR 2.0 Beta runtime: http://labs.adobe.com/downloads/air2.html
- Download the AIR 2.0 Beta SDK: http://labs.adobe.com/downloads/air2.html
- Backup your Flex 4 SDK (we will be adding the new AIR SDK into it)
- Copy the AIR 2.0 Beta SDK to the same directory as your Flex 4 SDK
- You should now have the Flex 4 and AIR 2.0 SDK directories sitting side-by-side
- Copy / merge the AIR 2.0 files into the Flex 4 SDK. The Terminal command for this is: rsync -v -r air/* flex (where air and flex are the directory names of the respective SDKs)
- Providing you have copied the AIR 2.0 Beta SDK into the Flex 4 SDK defined in your FDT path variables, building an AIR project in the normal way will publish it for AIR 2.0. You will also get code hinting for the new features (refresh / clean the project first)
- Make sure you change the version in your AIR descriptor file: <application xmlns=”http://ns.adobe.com/air/application/2.0beta”>
- You may also need to enable extended desktop support in your descriptor file (thanks Tom) by adding:<supportedProfiles>extendedDesktop</supportedProfiles>
Now you can make some killer apps or play with the samples provided by Adobe.