Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The key with Cordova and FlexJS is the www directory that the cordova command creates in the application folder. The www directory contains the actual program that gets run on the device or browser. Since FlexJS creates HTML and JavaScript, you simply replace the contents of the www directory with your FlexJS application. 

Requirements

  1. Install Cordova according to the instructions in the Apache Cordova web site.
  2. Install the latest FlexJS SDK and kit
  3. Set your path to include the ${FLEXJS_INSTALLDIR}/js/bin directory.

Creating the Application

To make things easier, FlexJS comes with an ANT build script called cordova-build.xml located in the FlexJS install directory. This script assumes a particular structure for your files to make it easier to build everything. Follow these instructions to create a FlexJS application to works with Cordova.

...