I did my “AIR Beyond the Basics” talk at Flash on the Beach on Tuesday and was pretty happy with the turnout — especially since I was up against a jam session with Keith Peters, Joa Ebert, Ralph Hauwert, Carlos Ulloa, Mario Klingemann and Andre Michelle ;)
The internet connection unfortunately failed on me and had to skip over a couple of cool demo’s — think I’ll do a recording soon walking you through the various code samples and post it here. If you want to give it a try yourself in the meanwhile you can download the source code from the link below.
Example code includes:
|
Network monitoring Windowing API HTML engine FileSystem API SQLite databases Drag ‘n Drop |
Clipboard access Update API EncryptedLocalStore Launch AIR app from an AIR app Merapi – Launch native application Merapi – Text to speech |
Feel free to get in touch if you’ve got any questions about these AIR APIs and I’ll be happy to help you out.
Download source files (10.7 MB zip file)
Related posts:
- FITC Amsterdam – RIA meets Desktop
- TwitLive AIR application
- Adobe Flex goes Open Source
- MP3 Player for the Flash IDE using JSFL File API
- Introduction to SQLite in Adobe AIR



thanks for posting the samples, I’m definitely going to work my way through them soon.
Good to meet you by the way.
I want to see the video walkthrough so I am subscribing for future comments/updates.
Thanks for making these available Peter.
Dan WIlson
Your session was very useful to me. It was a pity not to have a decent connection, but anyway you didn’t seem to panic (i certainly would). Thanks for both the speech and the source code.
Problem:
AIR application getting data via Merapi Bridge from a JAVA app.
Description:
AIR Application is unable to receive data more than say (300 elements of double data types). Merapi bridge is being used. It looks like at Java end the data is being sent to the Bridge, but at AIR end any data set more than some small cut off (some where around 300 elements) the application is unable to receive. AIR application spits a run time exception as shown below:
Error: Error #2030: End of file was encountered.
at flash.utils::ByteArray/readObject()
at merapi.io.amf::AMF3Reader/read()[/Users/adam/dev/os/merapi/source/flex/merapi/src/merapi/io/amf/AMF3Reader.as:52]
at merapi::Bridge/handleReceiveSocketData()[/Users/adam/dev/os/merapi/source/flex/merapi/src/merapi/Bridge.as:168]