// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
Google / Android
Python / IronPython
SQL Server
Test Your Knowledge: First Android Program via XML Layout Using Eclipse and the Android plugin
Test your knowledge on the basics of developing an Android program.
Table of Contents

New Project

Figure 1. New Android project wizard from Eclipse

Creating the first Android application

Figure 2. First Android Application creation in the New Android Project dialog box

Project Name and Workspace

Package Name

Activity Name

Application Name

Android Application from the Package Explorer

Figure 3. Android application from Package Explorer

Discussion of Source


Listing 1. FistAndroidApp.java


Listing 2. R.java


Listing 3. main.xml (contains the UI layout)


Listing 4. strings.xml


Listing 5. AndroidManifest.xml

Running the First Android App

Figure 4. The First Android App icon shown in the Applications window

Figure 5. First Android App in the emulator

Take the Test
Start the Test:
First Android Program via XML Layout Using Eclipse and the Android plugin
Read the Article
Go to Article:
First Android Program via XML Layout Using Eclipse and the Android plugin
Review Answers for Questions in this Test
Bookmark and Share This

More Articles With Similar Tags
This article gives some quick pointers on how to start debugging an Android application, along with where to put the breakpoints and how to change the emulator sizes from within Eclipse.
This article talks about the basics of the browser (including the user agent string) used in the Android platform.
This article talks about various aspects of creating an SQLite database. It also uses Android SQLite shell as an example.
This article explains how to get pretty / nice output from the SQLite command line shell program.
See the images of various skins and screens of Android emulator with games (Lunar Lander and Snake) in them. Also shows how to change the skins of Android emulator while debugging your program.
About  Contact  Privacy Policy  Site Map