O'Reilly logo

Android Developer Tools Essentials by Mike Wolfson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Developing with Eclipse

ADT provides a robust and powerful development environment in which to build Android applications. Designed as a plug-in to the Eclipse IDE, it leverages many Eclipse features including code completion, syntax highlighting, and JUnit integration. There is also a rich ecosystem of plug-ins and additional features available to download and install from third-party developers. In addition to the standard IDE, there are a variety of Android-specific tools that have been integrated. These include wizards for resource creation, the logcat Viewer, the Hierarchy Viewer, and the Visual GUI Builder, among others.

The close integration makes developing easier, so I recommend ADT as the fastest way to get started with Android development. Throughout this section (and this book), I highlight many of the ways you can leverage the IDE to improve your experience writing Android code.

Anatomy of the Eclipse Workspace

You will be spending a lot of your development time within Eclipse, so you’ll need to familiarize yourself with how it is organized. Figure 5-1 shows the standard Eclipse layout. Let’s look at a few key areas:

Standard Eclipse layout
Figure 5-1. Standard Eclipse layout
Package Explorer

The window on the far left allows you to view all the code components included in your project. You can click on the small triangles () to expand or minimize a particular tree, which will expand or ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required