Deck 3: Android Development: Files, Activities, Services, and Intents

Full screen (f)
exit full mode
Question
What file is responsible for glueing everthing together , explaining what the applicatin consists of, what its main building blocks are, ext…?

A)layout file
B)strings xml
C)r file
D)manifest file
Use Space or
up arrow
down arrow
to flip the card.
Question
The XML file that contains all the text that your application uses.

A)stack.xml
B)text.xml
C)strings.xml
D)string.java
Question
Which of the following is the most "resource hungry" part of dealing with Activities on Android

A)closing an app
B)suspending an app
C)opening a new app
D)restoring the most recent app
Question
What runs in the background and doesn't have any UI components?

A)intents
B)content providers
C)services
D)applications
Question
What is an Activity?

A)a single screen the user sees on the device at one time
B)a message sent among the major building blocks
C)a component that runs in the background without any interface.
D)context referring to the application environment.
Question
When an activity doesn't exist in memory it is in.

A)starting state
B)running state
C)loading state
D)inexistent state.
Question
Which of the following is NOT a state in the lifecycle of a service?

A)starting
B)running
C)destroyed
D)paused
Question
There is no guarantee that an activity will be stopped prior to being destroyed.
Question
In an explicit intent, the sender specifies the type of receiver.
Question
an implicit intent is the sender specifies the type of receiver?
Question
When the activity is not in focus, but still visible on the screen it is in?

A)running state
B)paused state
C)stopped state
D)destroyed state
Question
An activity in a stopped state is doing nothing.
Question
Application contexts are independent of the activity life cycle.
Question
Services have any user interface components
Question
Broadcast receivers are Android's implementation of a system-wide publish/subscribe mechanism, or more precisely, what design pattern?

A)observer
B)facade
C)mediator
D)command
Question
There can be only one running activity at a given time.
Question
YAMBA stands for Yet Another Mobile Banking App.
Question
Lists and adapters are more organizational aids than user interface elements in Android.
Question
What built-in database is Android shipped with?

A)sqlite
B)apache
C)mysql
D)oracle
Question
Creating a UI (User Interface) in Android requires careful use of…

A)java and sql
B)xml and java
C)xml and c++
D)dreamweaver
Question
A good example app should demonstrate most of the aspects of the application framework that are unique to Android.
Question
What will services be used for in the Yamba project?

A)recompile the source code
B)it will update tweets periodically in the background
C)the services will pause the app
D)configures the user interface
Question
Which answer is not part of the design philosophy talked about in chapter five?

A)always whole and complete
B)small increments
C)lagre increments
D)refactoring code
Question
App Widgets are can be place on the home screen by the user to check for updates are available?
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/24
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 3: Android Development: Files, Activities, Services, and Intents
1
What file is responsible for glueing everthing together , explaining what the applicatin consists of, what its main building blocks are, ext…?

A)layout file
B)strings xml
C)r file
D)manifest file
manifest file
2
The XML file that contains all the text that your application uses.

A)stack.xml
B)text.xml
C)strings.xml
D)string.java
strings.xml
3
Which of the following is the most "resource hungry" part of dealing with Activities on Android

A)closing an app
B)suspending an app
C)opening a new app
D)restoring the most recent app
opening a new app
4
What runs in the background and doesn't have any UI components?

A)intents
B)content providers
C)services
D)applications
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
5
What is an Activity?

A)a single screen the user sees on the device at one time
B)a message sent among the major building blocks
C)a component that runs in the background without any interface.
D)context referring to the application environment.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
6
When an activity doesn't exist in memory it is in.

A)starting state
B)running state
C)loading state
D)inexistent state.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
7
Which of the following is NOT a state in the lifecycle of a service?

A)starting
B)running
C)destroyed
D)paused
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
8
There is no guarantee that an activity will be stopped prior to being destroyed.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
9
In an explicit intent, the sender specifies the type of receiver.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
10
an implicit intent is the sender specifies the type of receiver?
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
11
When the activity is not in focus, but still visible on the screen it is in?

A)running state
B)paused state
C)stopped state
D)destroyed state
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
12
An activity in a stopped state is doing nothing.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
13
Application contexts are independent of the activity life cycle.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
14
Services have any user interface components
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
15
Broadcast receivers are Android's implementation of a system-wide publish/subscribe mechanism, or more precisely, what design pattern?

A)observer
B)facade
C)mediator
D)command
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
16
There can be only one running activity at a given time.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
17
YAMBA stands for Yet Another Mobile Banking App.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
18
Lists and adapters are more organizational aids than user interface elements in Android.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
19
What built-in database is Android shipped with?

A)sqlite
B)apache
C)mysql
D)oracle
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
20
Creating a UI (User Interface) in Android requires careful use of…

A)java and sql
B)xml and java
C)xml and c++
D)dreamweaver
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
21
A good example app should demonstrate most of the aspects of the application framework that are unique to Android.
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
22
What will services be used for in the Yamba project?

A)recompile the source code
B)it will update tweets periodically in the background
C)the services will pause the app
D)configures the user interface
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
23
Which answer is not part of the design philosophy talked about in chapter five?

A)always whole and complete
B)small increments
C)lagre increments
D)refactoring code
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
24
App Widgets are can be place on the home screen by the user to check for updates are available?
Unlock Deck
Unlock for access to all 24 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 24 flashcards in this deck.