concept AIR application in category rails

appears as: n AIR application, AIR applications
Flexible Rails: Flex 3 on Rails 2

This is an excerpt from Manning's book Flexible Rails: Flex 3 on Rails 2.

In this iteration, we’ll have a bit of fun. We’ll make pomodo be a Flex 3 AIR application, and we’ll add online/offline network detection (and change the UI accordingly). We won’t solve any hard problems (synchronizing local and remote data, and so on). The primary purpose of this iteration is to get you up and running with AIR and to get pomodo built and running as an AIR application in case you want to use it as a starting point for your own AIR projects. This isn’t an attempt to provide any kind of comprehensive AIR tutorial.

Listing 12.1. app\flex\Pomodo-app. xml
<?xml version="1.0" encoding="UTF-8"?> <application xmlns="http://ns.adobe.com/air/application/1.0.M5" appId="com.pomodo.Pomodo" version="1.0 Beta"> <!-- AIR Application Descriptor File: Specifies parameters for identifying, installing, and launching AIR applications. ... --> <!-- The application name displayed by the operating system. (Required.) --> <name>com.pomodo.Pomodo</name> ... <!-- Other settings for the initial window. --> <!-- <minimizable>true</minimizable> --> <!-- <maximizable>true</maximizable> --> <!-- <resizable>true</resizable> --> <width>1200</width> <height>900</height> <x>50</x> <y>50</y> <!-- <minSize>300 300</minSize> --> <!-- <maxSize>800 800</maxSize> --> </initialWindow> ...