Adobe AIR Team Member Shows App Adapted to Five Screens
Posted 04/05/2010 at 8:02pm
| by Jason Whong
An Adobe developer recently posted a video demonstrating an Adobe AIR app running on multiple operating systems and devices, including the new Apple iPad.
In the video, called "One App, Five Screens," Christian Cantrell, a member of the Adobe AIR team, demonstrates what he called "the first truly multiscreen application that I've written that runs everywhere the Flash platform runs."
In the video posted to YouTube on Saturday, Cantrell demonstrates a reversi app on the Mac in three different operating systems: Mac OS X, Windows 7, and Ubuntu Linux.
Then he shows a web-based version, and demonstrates that it dynamically changes its layout when the window is resized.
In the iPod Touch version and the Motorola Droid version, he demonstrates the app responding to the device being rotated.
Then, for the grand finale, he does the same thing on the iPad.
"This isn't just the same app. This is actually the exact same codebase," Cantrell said in the video. "There isn't a single line of code that had to change to get this application to run on all these different operating systems and all these different devices."
Cantrell explained that within Flash Builder, projects for the different platforms are only about 20 lines long, making reference to the main codebase. "All I do is include the game, which is essentially sort of a component," Cantrell said.
Cantrell said he would release an article explaining how he developed reversi, and would make the codebase open-source.
Theoretically, this should make it easier for developers that use the AIR platform to deploy apps that can change their layouts across multiple platforms, including the iPad and iPhone, once they learn how Cantrell did it.
Via 9to5Mac