O'Reilly logo

Hello, Android, 4th Edition by Ed Burnette

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

Creating Your First Program

Android Studio comes with several built-in example programs, or templates. We’re going to use one of them to create a simple “Hello, Android” program in just a few seconds. Get your stopwatch ready. Ready? Set? Go!

Select “Start a new Android Studio project” to open the New Project dialog box.

You’ll see a series of four screens. The first one asks for the application name and location:

images/fig.newandroidproject1.png

Enter “Hello Android” for the application name and “example.org” for the company domain. Android Studio will fill in the rest. Click Next to continue.

The second screen prompts for the version of Android to target:

Select “Phone ...

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