O'Reilly logo

Android Application Development For Dummies, 2nd Edition by Donn Felker, Michael Burton

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

Starting a New Project in Eclipse

First things first: Start Eclipse. You should see a screen that looks similar to the one shown in Figure 3-1. Now you’re ready to start cooking with Android.

remember.eps If you haven’t set up your development environment yet, turn to Chapter 2. It shows you how to set up all the tools and frameworks necessary to develop Android applications and, in the process, install the Eclipse Android Development Tools (ADT) plug-in. It gives you the power to generate new Android applications directly from within the Eclipse File menu.

Figure 3-1: The Eclipse development environment.

9781118417454-fg0301.tif

Follow these steps to create your first Android application project:

1. In Eclipse, choose FileNewOther. Select Android Application Project.

The New Android App Wizard opens, as shown in Figure 3-2.

2. Enter Hello Android as the application name.

The application name is the name of the application as it pertains to Android. When the application is installed on the emulator or physical device, this name appears in the application launcher.

The Project and Package names should autocomplete for you. The Project Name field is important. The descriptive name you provide identifies your project in the Eclipse workspace. After your project is created, a folder in the workspace is named ...

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