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

Creating Launch Configurations

You’re almost at the point where you can run the application. A run configuration specifies the project to run, the activity to start, and the emulator or device to connect to. Whoa! That’s a lot of stuff happening quickly. Not to worry — the ADT can help you by automating many key steps so that you can get up and running quickly.

The Android ADT gives you two options for creating launch configurations:

check.png Run configuration: You need to run your application on a given device. You’ll use run configurations most of the time during your Android development career.

check.png Debug configuration: You’re debugging your application while it’s running on a given device. You can find out how to debug in Chapter 5.

tip.eps When you first run a project as an Android application by choosing Run⇒Run, the ADT automatically creates a run configuration for you. The Android Application option is visible when you choose Run⇒Run. After the run configuration is created, it’s the default run configuration, now used every time you choose Run⇒Run.

If you’re feeling ambitious and decide that you want to create a run configuration manually, follow along here. Don’t worry — following these steps ...

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