Wednesday, February 16, 2011

Mobile phone programming with AXDT

Free and open sourced cross platform Flash development tools are available for Eclipse IDE. This is good news to have a change to explore what flash can do for the mobile devices. There are other tools out there for development but for now, this will be my starting point.

As a start to ActionScript3 development, the IDE and APIs need to be setup. Here are instructions for Ubuntu 10.04 with Eclipse 3.5 Galileo to use AXDT. Older version of AXDT used the Eclipse's IMP, but now it uses XText.

Step 1: Install Eclipse and the plug-in environment

sudo apt-get install eclipse eclipse-pde

Step 2: Install the ActionScript3 environment with AXDT

- Start Eclipse
Choose Help -> Install New Software…
Location is http://download.eclipse.org/modeling/tmf/updates/releases
(previously used http://download.eclipse.org/technology/imp/updates)
- Click Add and give it a name, IMP
- Click OK to return to Available Software window and select IMP and IMP Prerequisites
- Click Next and Finish to install
- Restart Eclipse once installation is done
Choose Help -> Install New Software…
Location is http://svn.codespot.com/a/eclipselabs.org/axdt/trunk/site
- Click Add and give it a name, AXDT
- Click OK to return to Available Software window and select Axdt builds
- Click Next, check in to accept the terms (agreement) and click Finish to install.

Step 3: Apply correction for embedded images. See http://axdt.org/ticket/97
Here, to remove the AXDT errors on "static-link-runtime-shared-libraries option to true" the configuration file needs to be edited.

- Find the AXDT flex-config.xml file, choose Windows->Preferences, choose AXDT->Flex 4 SDK
- Open the file .eclipse/org.eclipse.platform_3.5.0_155965261/plugins/org.axdt.flex4.sdk_4.0.0.14159_mpl/flexsdk/frameworks/
/flex-config.xml
- Edit the line
<
static-link-runtime-shared-libraries>false
</static-link-runtime-shared-libraries>

and change value false to true.
Restart the Eclipse.

Step 4: Deploy the IPhone apps
Install Adobe AIR from http://get.adobe.com/air

Step 5: Deploy Android 2.1 Apps
See My Android post

Step 6: Install a debugging environment
Install De MonsterDebugger

1 comment:

Sana Khan said...

Hi its really very nice blog,very useful information..Mobiles

Blog Archive