Chapter 3. Your First Android Project

Now that you have the Android SDK, it is time to make your first Android project. The good news is that this requires zero lines of code—Android's tools create a "Hello, world!" application for you as part of creating a new project. All you need to do is build it, install it, and watch it open on your emulator or device.

Step 1: Create the New Project

Android's tools can create a complete skeleton project for you, with everything you need for a complete (albeit very trivial) Android application. The process differs depending on whether you are using Eclipse or the command line.

Eclipse

From the Eclipse main menu, choose File

Figure 3.1. Selecting a wizard in the Eclipse New Project dialog box

Click Next to advance ...

Get Beginning Android 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.