Click the New button see Figure 2-13. Click

43

Chapter 2: Prepping Your Development Headquarters

Figure 2-18: The Eclipse welcome screen. Click the arrow to go to the workbench.

3. Click the curved-arrow icon on the right side of the screen to go to the workbench.

Eclipse is installed and easily accessible. I show you how to add the Android Development Tools in the next section. Configuring Eclipse Android Development Tools ADT adds functionality to Eclipse to do a lot of the work for you. The ADT allows you to create new Android projects easily; it creates all the necessary base files so that you can start coding your appli- cation quickly. It also allows you to debug your application using the Android SDK tools. Finally, it allows you to export a signed application file, known as an Android Package APK, right from Eclipse, eliminating the need for some command-line tools. In the beginning, I had to use various command-line utilities to build an APK. Although that wasn’t hard, it was tedious and some- times frustrating. The ADT eliminates this frustrating process by guiding you through it “wizard style” from within Eclipse. I show you how to export a signed APK in Chapter 8. 44 Part I: The Nuts and Bolts of Android Setting up Eclipse with the ADT To set up Eclipse with the ADT, follow these steps:

1. Start Eclipse, if it’s not already running. 2.

Choose Help➪Install New Software. The Install window pops up see Figure 2-19. This window allows you to install new plug-ins in Eclipse. 3. Click the Add button to add a new site that will display the Add Repository window see Figure 2-20. Sites are the Web addresses where the software is hosted on the Internet. Adding a site to Eclipse makes it easier for you to update the software when a new version is released. Figure 2-19: Click the Add button to add a new site.

4. Type a name in the Name field.

I recommend using Android ADT, but it can be anything you choose.

5. Type

https:dl-ssl.google.comandroideclipse in the Location field.