01
Feb
10

10 recipes on ADC Cookbooks covering AIR 2.0 new APIs

AIR 2.0 beta is available publicly and when I was asked by Adobe’s marketing team, as well as Apress editor to post some recipes for Flex and AIR in the Adobe Developer connection Cookbooks I decided to combine the two. Adobe are looking to have the Cookbooks gain momentum & I decided to lend a hand and released 10 recipes with applications I built with the new AIR 2.0 APIs while I was part of the Beta program. I revised the applications and they are running correctly on the latest built of AIR available for the pre-release users.

Adobe Developer connection Cookboks

These recipes are listed below:

1: SQLite Manager

SQLiteManager does just that and allows you to set the database settings and then access the manager from anywhere in your application. It makes the process simpler and integrates very well with micro architecture frameworks. View recipe.

2: Retrieve user’s Network Information

Create an example of displaying the user’s available networks… View recipe.

3: Retrieving DNS records

Take a look at the app example, which performs DNS and reverse DNS lookup. View recipe.

4: Launching and Interacting with Native Processes

The application below opens up a text file: foobar.txt using the MacOS TextEdit text editor. View recipe.

5: Recipe for using the File promises API

Application below allows dragging of items from a list into the user’s local machine and then the copying of the files. View recipe.

6: Open file with Default Application

An AIR application that you can browse for a supported file, and watch how the registered application opens the file. View recipe.

7: SimpleAudioRecorder - Microphone Access API

The following application lets you record from any microphone connected. While you record the audio you can see a bar that shows the volume of your voice as a graphic. Once you complete recording, you can playback see the a visualization of your recording and save it as a Wave file. View recipe.

8: Mass Storage Device Detection

The following application will display the existing storage devices available as well as add and remove mass storage devices in case you add a new device or remove a device such as a USB key. View recipe.

9: Multi-touch functionality

We first switch between the different options and than we listen to the gesture events which will fire and display the gesture information in the console. View recipe.

10: WebKit with the SquirrelFish Extreme

Using the same HTML component, take a look at the following example which allows you to test some of the new WebKit functionality. View recipe.

Cheers :)


3 Responses to “10 recipes on ADC Cookbooks covering AIR 2.0 new APIs”


  1. 1 Ed Sullivan Feb 2nd, 2010 at 10:18 am

    Hey Elad,

    Thank you for all your great cookbook recipes!

    Best regards,

    Ed Sullivan

  2. 2 HB Feb 2nd, 2010 at 7:35 pm

    Great variety of examples, this really showcases the new stuff in AIR 2. I’m more a JavaScript guy than Flash/Flex, but ActionScript is similar enough that I got a lot out of these examples.

  3. 3 dayrecipe Mar 11th, 2010 at 1:18 am

    Love to try this one..thanks