The Eclipse plugin makes it easy to run your applications:
- Select Run > Run.
- Select "Android Application".
To learn more about creating and editing run configurations in Eclipse, refer to Developing In Eclipse, with ADT.
The Eclipse plugin automatically creates a new run configuration for your project and then launches the Android Emulator. Depending on your environment, the Android emulator might take several minutes to boot fully, so please be patient. When the emulator is booted, the Eclipse plugin installs your application and launches the default Activity. You should now see something like this:
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.
No comments:
Post a Comment