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.
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






















