Setting Up Your Environment
To build Android applications, you need to establish a development environment. In this section, you walk through downloading JDK 6, the Eclipse IDE, the Android SDK (tools and packages), and ADT. You also configure Eclipse to build Android applications. Google provides a page to describe the installation process (
http://developer.android.com/sdk/installing.html)but leaves out some crucial steps, as you will see.
The first thing you need is the Java SE Development Kit. The Android SDK requires JDK 5 or higher; we developed the examples using JDK 6. For Windows, download JDK 6 from the Oracle web site (
http://www.oracle.com/technetwork/java/javase/downloads/index.html) and install it. You only need ...