,Instructor Note
There are three categories of questions in this Test-Item File. The questions marked “(Self Review)”
are provided with answers in the chapter’s Self-Review Exercises section. The questions marked
“(Exercise)” are provided without answers in the chapter’s Exercises section. The remaining
unmarked questions are provided only in this Test-Item File—the vast majority of these are questions
that the students have not seen. We’ve included the self-review and exercise short-answer questions
here so that you can use them to make up quizzes and exams, if you so choose.
1 Android Overview
1 The Android operating system was developed by , which was acquired by Google in July
2005.
A Android, Inc.
1 (Self Review) In November 2007, the —a 34-company consortium initially and many more
now—was formed to develop Android, driving innovation in mobile technology and improving the user
experience while reducing costs.
A Open Handset Alliance.
Openness and Open Source
1 (Self Review) (True/False) One benefit of developing Android apps is that the operating system is
proprietary to Google.
A False. The operating system is open source and free.
Java
1 (Exercise) Android apps are developed with —the world’s most widely used programming
language, a logical choice because it’s powerful, free and open source.
A Java.
1 (Self Review) (True/False) The openness of the Android platform discourages innovation.
A False. The openness of the platform spurs rapid innovation.
1 (True/False) Java is object oriented and has access to powerful class libraries that help you develop apps
quickly.
A True.
1 (Exercise) GUI programming in Java is -driven, you’ll write apps that respond to various
user interactions such as screen touches and keystrokes.
A event.
1 (Self Review) Using Eclipse with the Plugin, you can create, run, test and debug Android
apps quickly and conveniently, and you can visually design your user interfaces.
A Android Development Tools (ADT).
Multitouch Screen
1 (Self Review) Multitouch screens allow you to control your Android device with involving
one touch or multiple simultaneous touches.
A gestures.
1 (Exercise) Touching the screen and holding your finger in position is called a .
A long press.
1 (Exercise) Touching and quickly flicking your finger across the screen in the direction you’d like to
move is called a .
A fling.
,1 (True/False) Using two fingers, you can zoom in (moving your fingers apart) and out (pinching your
fingers together) on photos, videos and web pages.
A True.
1 Android 2.2 (Froyo)
1 If you’re unable to find your Android device, the feature restores it to the factory settings
(removing all personal data), thus protecting the privacy of your information—any data that you haven’t backed
up will be lost.
A Remote Wipe.
New Developer Features in Android 2.2
1 The Android (C2DM) service allows app developers to send data from their servers to their
apps installed on Android devices, even when the apps are not currently running. The server notifies the apps to
contact the server directly to receive updated app or user data.
A Cloud to Device Messaging.
1 (Self Review) You can create , which enable you to rapidly develop apps by combining the
complementary web services of several organizations, possibly with information feeds of various types (such as
RSS, Atom, XML, JSON and others).
A mashups.
1 (Self Review) The Andriod contains APIs for audio focus, auto-scanning files to the media
database (e.g., audio and video files), detecting sound loading completion, auto-pause and auto-resume of audio
playback, and more.
A Media framework.
1 Android 2.3 (Gingerbread)
1 is a short-range wireless connectivity standard that enables communication between two
devices, or a device and a tag, within a few centimeters.
A Near-field communication
1 (True/False) Android apps can access only front-facing cameras.
A False. Android apps can access both rear-facing and front-facing cameras.
1 Android 3.0 (Honeycomb)
1 (Exercise) Use the framework to add drag-and-drop capabilities in an app.
A DragEvent.
1 (True/False) The Renderscript 3D graphics- engine creates high-performance 3D graphics for apps,
widgets, etc. and offloading calculations to the Graphics Processing Unit (GPU).
A True.
1 Android 4.0 (Ice Cream Sandwich)
1 Downloading Apps from the Android Market
1 (Exercise) As a marketing strategy, many app developers offer basic versions of their apps for free so
users can determine whether they like them, then purchase more feature-rich versions.This is called the
“ ” strategy.
A lite.
, 1 Packages
1 (Self Review) Android uses a collection of , which are named groups of related, predefined
classes.
A packages.
1 (Self Review) The package gives access to Android content providers.
A android.provider.
1 Android Software Development Kit (SDK)
Eclipse Integrated Development Environment (IDE)
1 (Exercise) (True/False) Microsoft Visual Studio is the recommended integrated development
environment for Android development, though developers may also use a text editor and command-line tools to
create Android apps.
A False. Eclipse is the recommended integrated development environment for Android
development, though developers may also use a text editor and command-line tools to create Android
apps.
1 (True/False) Eclipse supports many programming languages, including Java, C++, C, Python, Perl, Ruby
on Rails and more.
A True.
1 (Exercise) (True/False) The vast majority of Android development is done in C++.
A False. The vast majority of Android development is done in Java.
Android Development Tools (ADT) Plugin for Eclipse
1 (Self Review) (True/False) The Android Development Tools (ADT) Plugin for Eclipse—an extension to
the Eclipse IDE—allows you to create, run and debug Android apps, export them for distribution (e.g., upload
them to Android Market), and more.
A True.
The Android Emulator
1 (Self Review) The , included in the Android SDK, allows you to run Android apps in a
simulated environment within Windows, Mac OS X or Linux.
A Android emulator.
1 (Exercise) Before running an app in the emulator, you'll need to create an , which defines the
characteristics of the device on which you want to test, including the hardware, system image, screen size, data
storage and more.
A Android Virtual Device.
1 (Exercise) (True/False) You can reproduce on the emulator most of the Android gestures and controls
using your computer’s keyboard and mouse.
A True.
1 To test GPS apps in the emulator, you’ll need to create files that .
A simulate GPS readings.
1 Object Technology: A Quick Refresher
1 (Exercise) (True/False) Objects, or more precisely the classes objects come from, are essentially
reusable software components.
A True.