
Note that each element has one or more attributes in the Android name space.
The next section walks through obtaining the Android SDK and configuring it for use
with Eclipse.
Section 4. Android Software Developer Kit
Now that we have a feel for the Android platform, let's get the Eclipse environment
set up for Android development so we can create our example applications. This
section walks through obtaining the Android SDK and configuring it for use with
Eclipse.
Obtaining and installing Eclipse
If Eclipse is not installed, download it and install the latest stable release of the
Eclipse IDE from the Eclipse Foundation (see Resources). The installation is a
compressed folder. Extract the contents of the folder to a convenient place on your
computer. The installer does not create any icons or shortcuts on Windows®. For
purposes of this tutorial, the Eclipse folder will be located in the c:\software\eclipse
directory.
To start Eclipse, double-click on eclipse.exe found in the eclipse installation
directory. This will start the IDE. The software prompts for a "workspace" and
suggests a default location, such as c:\documents and
settings\username\workspace. Choose this location or specify an alternative
workspace location.
Once Eclipse is loaded, click the Workbench - Go to the workbench icon on the
main screen.
Now it's time to obtain the Android SDK.
Obtaining and installing the Android SDK
Find the Android downloads in Resources.
There are SDK installation versions available for Windows, Mac OS X (Intel® only),
and Linux (i386). Select the latest version of the SDK for the desired platform. Note
that at the time of this writing, the latest Android SDK version is marked m3-rc37a.
ibm.com/developerWorks developerWorks®
Develop Android applications with Eclipse
© Copyright IBM Corporation 1994, 2008. All rights reserved. Page 9 of 35
Kommentare zu diesen Handbüchern