The examples for the Mega ADK using the board in accessory mode require the following hardware and software:
You can get the Android SDK from the Android Development website:
http://developer.android.com/sdk/installing.html
Unless you are planning on using Eclipse as part of your development, you can skip their step 3 of the installation.
Step 4 can be time consuming, you need to include the APIs for Google versions 10 and higher; consider installing everything at once.

Processing can be obtained from the following link:
http://processing.org/download/
Download the appropriate version (of Processing 2.0 or newer) for your OS and run the application. The first time Processing will ask you for the location you want to place your sketchbook. This is the way Processing defines your workspace and where it will be storing all your work by default.
We need to add a library and a tool to the standard installation. Download this file to your Processing sketchbook folder and uncompress it there.
You should now have two subfolders inside your sketchbook:
The next time you start Processing the tool and library will be ready to use.
On the upper right corner of your application you will see a small button stating the work mode for Processing. By default you will be working on normal mode. Click on it to change to Android mode. That should also change the color of your application from grey to green.

You can now use the editor to write code for your phone. In order to launch your ADK compatible code, you should look for the Arduino ADK option from the Tools menu.


Download Arduino’s IDE from the following links. Note this is now the stable branch of Arduino, you might have this software already installed in your computer:
As with Processing, you need to run the IDE once to create your sketchbook folder. Once created, download this file. The two folders, “libraries” and “tools” need to be placed in your Arduino sketchbook folder.
If you are using the same location as a previous Arduino installation, be careful to not overwrite the existing libraries folder. Add the “/libraries/ArduinoAdkUsb” folder as you would a regular library.
As with the Processing bundle, if you had an older version of the library and or tool (e.g. you downloaded it before 20120319), you should delete the old files and uncompress the new ones.
These tools require a particular process. You are writing code for two different pieces of hardware:
A good way of working could be to:
The libraries you installed both in Processing and Arduino come with Examples for you to try out the technology. You can browse them by going to the menu Files→Sketchbook→Libraries in both IDEs.
There are no known issues as for 20120319.