{infiniteZest}
// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
AJAX
Apple
ASP.NET
.NET
Git
Google / Android
Python / IronPython
Miscellaneous
SQL Server
Test Your Knowledge: First Android Program via XML Layout Using Eclipse and the Android plugin
Summary
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

FirstAndroidApp.java

Listing 1. FistAndroidApp.java

R.java

Listing 2. R.java

main.xml

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

strings.xml

Listing 4. strings.xml

AndroidManifest.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
icon-android-debug-toolbar.jpg
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.
icon-android-safari-browser-user-agent-string.jpg
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.
icon-android-emulator-hvga-p-lunar-lander.jpg
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