Lecture 1 Flashcards

1
Q

What is the most common class to sub-class when making an app?

A

Activity

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

When is the onCreate method of an Activity called?

A

When app is first launched

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

What is the Bundle parameter passed to onCreate in an Activity?

A

Set of data that allows the app to recreate the previous state wher the user left off

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

What is the advantage of using a file based approach over Bundle to manage state persistence?

A

Longer persistence than bundles

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

What goes in the “res” folder of an app hierarchy?

A

XML files that specify GUI features such as arrangement of component views

Other resources such as images

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

What does the “@” symbol do in manifest xml files?

A

Specifies resources declared elsewhere

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