O'Reilly logo

Sams Teach Yourself Android Game Programming in 24 Hours by Jonathan S. Harbour

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

Hour 4. Creating Your First Android Program

What You’ll Learn in This Hour

Creating a new Android project

• Configuring the NBAndroid plug-in for NetBeans

• Compiling and running programs in the emulator

• Writing a “Hello, Android!” program

Comparing the Emulator to an Android Device

In this hour you will write your first Android program. The previous hours should have helped you get your NetBeans and Eclipse development environments up and running with the Android SDK. You should have also used the Android Virtual Device Manager to create an Android emulator device. Now it’s time to write some code. Finally! In this hour, you learn how to build and run an Android program, targeting both the emulator and a physical Android device. Because ...

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