1. Writing Your First Android Application

You should now have a workable Android development environment set up on your computer (see the “Preface”). Hopefully, you also have an Android device as well. Now it’s time for you to start writing some Android code. In this chapter, you learn how to add and create Android projects in Eclipse and verify that your Android development environment is correctly set up. You also write and debug your first Android application in the software emulator and on an Android device.

Testing Your Development Environment

The best way to make sure you correctly configured your development environment is to take an existing Android application and run it. You can do this easily by using one of the sample applications ...

Get Introducing Android™ Development with Ice Cream Sandwich: Developer’s Library 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.