Module 4 Flashcards

1
Q

This is referred to as one screen of the Android app’s user interface.

A

Activity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False.
An Android app may contain one or more activities, meaning one or more screens.

A

True
(duh)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

True or False.
The Android app starts by showing the __________, and from there the app may make it possible to open additional activities

A

Main Activity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

All activities in your Android apps are represented by a/an ______.

A

Activity Class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Activity Classes are subclasses of ____________

A

android.app.Activity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

This is the first callback and called when the activity is first created.

A

onCreate()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

This callback is called when the activity becomes visible to the user.

A

onStart()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

This is called when the user starts interacting with the application.

A

onResume()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The paused activity does not receive user input and cannot execute any code and called when the current activity is being paused and the previous activity is being resumed.

A

onPause()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

This callback is called when the activity is no longer visible.

A

onStop()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

This callback is called before the activity is destroyed by the system.

A

onDestroy()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

This callback is called when the activity restarts after stopping it.

A

onRestart()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

True or False.
All activities, should be documented on your main activity file.

A

False.
(all activities should be documented on your MANIFEST file)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly