Installing the ADT Plug-in to an Existing Eclipse Instance

Prerequisites
The following items must be addressed prior to performing this procedure:
  • An existing Eclipse installation must already exist. If you wish to install both the ADT plug-in and Eclipse, see the procedure “Installing the ADT Bundle With Eclipse.”
  • The Java Development Kit 7 (a.k.a. JDK version 1.7) installer should be downloaded and available. Information and the installer can be found by Clicking Here. Alternately, you can enter the following URL into your web browser: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Task

This procedure provides information on installing the Android Development Toolkit (ADT) Plug-in to an existing Eclipse instance. This is a necessary component for development of custom controls using the SAP Agentry OpenUI.

Additionally, it is necessary to install the Java SDK version 1.7, and to configure the system upon which it is installed by making changes to the Environment variables.

  1. Install the Java Development Kit (JDK) version 1.7. Note the installation location, as this will be needed later in this procedure.
  2. Create a new Environment Variable for Windows by right clicking on My Computer, selecting Advanced system settings, and then clicking Environment Variables. Create a System Variable named JAVA_HOME and set its value equal to the location in which the JDK was installed in the previous step.
  3. Next the ADT Plug-in can be installed to the Eclipse instance. This process can be handled either through Eclipse itself, or by downloading the PLug-in and then installing to Eclipse locally. Instructions for this procedure are provided on the Android developer site. In a web browser, navigate to the page for the ADT Plug-in by Clicking Here. Alternately, enter the following URL into your web browser: http://developer.android.com/sdk/installing/installing-adt.html This page contains information on both installing and configuring the plug-in within Eclipse.
  4. After installing the ADT plug-in, it is necessary to update the Android SDK that was a part of the installation. Open the folder under the Eclipse directory create in the previous step containing the Android SDK and start the SDK Manager. Here, add the required API versions from the SDK, which include versions 10, 15, and 17. For information on the SDK Manager, Click Here. Alternately, enter the following URL in your web browser: http://developer.android.com/sdk/installing/adding-packages.html

With the completion of this procedure, the Android development environment needed for working with the OpenUI SDK for Android is in place.

Next

See the procedure “SAP Mobile Platform Agentry OpenUI for Android Project Setup” for instructions on creating and importing the projects within the OpenUI SDK.