Chapter 4

Dissecting an Android App

In This Chapter

arrow Creating a new Android project

arrow Understanding the parts of a project

arrow Modifying the manifest and adding image resources

When you’ve got your development environment set up, you’re ready to start building the next great addictive blockbuster game. This chapter gives you the tools you need to understand how to create a project from the ground up, understand how all the parts fit together, and modify the right settings so that everything works the way it’s supposed to.

An Android project is a lot like a standard Java project, but with some important differences. The Android SDK does most of the work for you in building the project structure and adding the necessary files — but as you work on your game, you’ll often need to add to this structure and make modifications, so it’s important to know where everything is and how it works.

Before you do anything else, you’ll have to create a new project, which is really only a few clicks away. So . . . first things first.

Creating a New Project

The Android SDK and Eclipse make it simple to create a new Android project, with a wizard that walks you through the process. Most of the important ...

Get Android Game Programming For Dummies 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.