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 ...

Get Sams Teach Yourself Android Game Programming in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.