{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: A few basic imports in an Android application program
Summary
A typical Android program includes a few imports from the Android SDK. This test has some questions on those basic imports.
 
Table of Contents

Listing 1. Some common import statements in an Android application

Figure 1. Activity, Window and TextView

import android.app.Activity

Listing 2. Commonly overridden methods from the Activity class

import android.os.Bundle

Listing 3. Saving a series of state variables into a Bundle object

Listing 4. Getting the values stored in a bundle

import android.view.Window

import android.widget.TextView

 
Take the Test
Start the Test:
A few basic imports in an Android application program
Read the Article
Go to Article:
A few basic imports in an Android application program
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