O'Reilly logo

The Business of Android Apps Development: Making and Marketing Apps That Succeed by Mark Rollins

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

Example of an Android Application

The Android Developers web site has a tutorial known as “Hello, World,” which allows you to create a simple app that displays text that says anything you want it to say (the tutorial uses “Hello, World,” hence its name). You can find this tutorial at http://developer.android.com/resources/tutorials/hello-world.html, but I thought I would set up a program to do something a little more complex in order to demonstrate some of the concepts mentioned earlier.

This program, which I just call New Project, creates two buttons in the center of the screen. One button, labeled “Welcome,” creates a dialog that appears in the form of a small, pop-up window. The other button, marked “Website,” opens the application to a web ...

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