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

Understanding Project Structure

You’ve created your first application. You even did it without coding. It’s nice that the ADT provides you with the tools to fire up a quick application, but that won’t help you create your next blockbuster application. The beginning of this chapter walks you through how to create a boilerplate Android application by using the New Android Project Wizard. The rest of this chapter shows you how to use the file structure that the Android wizard created for you.

warning_bomb.eps The following sections aren’t ones you should skim (they’re vital!), because you’ll spend your entire Android development time navigating these folders. Understanding what they’re for and how they got there is a key aspect of understanding Android development.

Navigating the app’s folders

In Eclipse, the Package or Project Explorer expands the Hello Android project, as shown in Figure 3-20.

After the Hello Android project is expanded, the list of subfolders includes

check.png src

check.png gen

check.png The Android version, such as Android 4.1

assets

res

Figure 3-20: The Project Explorer with the Hello Android project ...

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