Chapter 2. First Steps with the Android SDK

The Android SDK provides a set of tools that allows creating applications in no time. This chapter will guide you through the process of building a simple Android application with the SDK tools. This involves the following steps:

  1. Setting up the development environment

  2. Creating a new project in Eclipse and writing our code

  3. Running the application on the emulator or on a device

  4. Debugging and profiling the application

Let's start with setting up the development environment.

Setting Up the Development Environment

The Android SDK is pretty flexible and integrates well with a couple of development environments. Purists might choose to go all hard-core with command-line tools. We want things to be a little bit more ...

Get Beginning Android Games 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.