The Register® — Biting the hand that feeds IT

Feeds

Adobe's second AIR defies Jobs' Flash iPhobia

Evolutionary RIA step for PC, Linux - and Mac

Agentless Backup is Not a Myth

Review Thanks to Steve Jobs, attention on Adobe Systems' Flash this year has mostly been on mobile a fact Adobe helped compound by recently releasing its AIR runtime - based on Flash - for Android partners.

Adobe's progress with AIR for mobile has been slow, while Apple's iPhone and iPad Flash ban has damaged Adobe's cross-platform strategy as Apple's App Store dominates mobile development.

But how about AIR on the desktop - remember that? Adobe has now released AIR 2.0 with new features including limited native code interop.

Just to remind you, AIR is essentially the Flash player combined with WebKit for HTML applications, SQLite for local database support, and extensions to the ActionScript 3.0 library that give some access to the local system. It runs on Windows, Linux and - oh, yeah - Mac.

AIR 2.0 is based on Flash Player 10.1, with new features including global error handling and performance optimizations. In addition, there's multi-touch and gesture support, the ability to open documents with the default application and to detect removable storage media, access to microphone data with local audio encoding, nested transactions in SQLite, the ability to launch and communicate with local executables, and the ability to drag files from a remote server to the desktop and have them downloaded in the background.

Opening Excel in AIR 2.0

One line of code opens a document in the default application

The new file.openWithDefaultApplication() method is a small feature with big benefits. AIR is sometimes used for financial applications, for example, and the ability to open a set of figures in Excel will be welcome.

Native code interop is valuable but has annoyances. Clearly it is better avoided, but there are times when a dash of native code is what it takes to make an app viable or implement a much-requested feature. You can now do this, but communication is restricted to standard input/output, which will normally mean compiling an intermediate executable.

Further, if your app uses this feature it cannot be deployed and updated in the normal AIR fashion, but needs a native installer. Silverlight's COM interop is easier to use, though not fully comparable since it is Windows-only.

Networking is better in AIR 2.0. A new ServerSocket class lets you build a TCP server in AIR. There's also support for secure sockets, IPv6, DNS resolution, and the ability to search for network interfaces and bind to one that you select.

Finally, AIR 2.0 includes a new version of WebKit, with JavaScript performance improved thanks to the SquirrelFish Extreme engine, and greatly improved CSS support. Note that AIR for mobile does not support HTML Applications or, as far as we can tell, native interop.

Regcast training : Hyper-V 3.0, VM high availability and disaster recovery

Latest Comments

I just installed it on my work PC...

Oops! No I didn't: I don't have admin rights. I can't even upgrade Flash.

0
0

No change

"While choice is good, the tooling for AIR feels messy."

Just like their implementation on certain systems?

Or more like their partial implemenation on others?

0
0
Anonymous Coward

FlashDevelop

MITs open-source FlashDevelop is another (free) option and an alternative to Flash Builder - many folk prefer for reasons other than simply the price - flashdevelop.org

0
0

More from The Register

SCO vs. IBM battle resumes over ownership of Unix
Zombie lawsuit back and wants to suck the brains out of Linux
Bjarne Again: Hallelujah for C++
Plus: Now officially OK to admit you never used STL algorithms
Interwebs taunt Sir Jony over Apple eye candy makeover
Hey Ive, Ive... add more unicorns, willya?
Apple: iOS7 dayglo Barbie makeover is UNFINISHED - report
Plus: You don't like the icons? Blame marketing
Red Hat to ditch MySQL for MariaDB in RHEL 7
So long, Oracle! Don't let the door hit you on the way out
Shy? Socially inadequate? Fiddling with your phone could help
App 'tells the brutal truth' about social inadequates' chatup lines
Java EE 7 melds HTML5 with enterprise apps
New release arrives with GlassFish, NetBeans support
 breaking news
'Office Facebook' firm Tibbr wants you to PAY for mobe-meetings app
Great idea. Punters won't cough for it though
 breaking news
The only Waze is Google: Ad giant tipped to gobble map app 'for $1.3bn'
Pac-Man-satnav-ish upstart in bidding war with Apple, Facebook
 breaking news
PM Cameron calls for modern, programmable computers! (We think)
IT education musings to G8 chiefs to mystify IT industry