Chapter  2

Setting up your Development Environment

The last chapter provided an overview of Android's history and hinted at concepts that are covered in the rest of the book. At this point, you're probably eager to get your hands on some code. You start by seeing what you need to begin building applications with the Android software development kit (SDK) and set up your development environment. Next, you step through a “Hello World!” application. Then the chapter explains the Android application life cycle and ends with a discussion about running your applications with Android Virtual Devices (AVDs) and on real devices.

To build applications for Android, you need the Java SE Development Kit (JDK), the Android SDK, and a development environment. ...

Get Pro Android 4 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.