Run the Application

The Eclipse plugin makes it very easy to run your applications:

2. Select "Android Application".

The Eclipse ADT will automatically create a new run configuration for your project and the Android Emulator will automatically launch. Once the emulator is booted up, your application will appear after a moment. You should now see something like this:

To learn more about creating and editing run configurations in Eclipse, refer to Developing In Eclipse, with ADT.

The "Hello, Android" you see in the grey bar is actually the application title. The Eclipse plugin creates this automatically (the string is defined in the res/values/strings.xml file and referenced by your AndroidManifest.xml file). The text below the title is the actual text that you have created in the TextView object.

That concludes the basic "Hello World" tutorial, but you should continue reading for some more valuable information about developing Android applications.

0 0

Post a comment