O'Reilly logo

Android Development Tools for Eclipse by Sanjay Shah, Khirulnizam Abd Rahman

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

Running the application on the emulator

Running the HelloU app in the emulator would need you to start the emulator first. Start the emulator that has the Android version that suits your target platform. Once the emulator is fully loaded, we can compile and run the app.

Click on the HelloU project on the project explorer (this is to activate the project). Navigate to Run in the Eclipse menu, and choose Run or press Ctrl + F11 for a shortcut. Select run as Android Application, and Enter. Wait for a couple of seconds and view your emulator. The HelloU app will appear shortly, as in shown in the following screenshot. Enter your name and tap on the Display Name! button, the Toast message will appear with the name entered on the bottom of the screen: ...

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