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

Adding another screen in the app

This exercise is to add an information screen on the SimpleNumb3r5 app. The information regarding the developer, email, Facebook fan page, and other information is displayed in the next screen. Since the screen contains a lot of text information including several pictures, so we make use of an HTML page as our approach here:

  1. Now, create an activity class to handle the new screen. Open the src folder, right-click on the package name (net.kerul.SimpleNumb3r5), and choose New | Other... From the selections, choose to add a new Android activity, and click on the Next button. Then, choose a blank activity and click on Next.
  2. Set the activity name as Info, as shown in the following screenshot and the wizard will suggest ...

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