Android Flashcards

1
Q

What are the four component kinds that Android support?

A

Activities, Services, Content Providers and Broadcast Receivers

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

What is an activity?

A

A single thing a user does

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

What is an intent?

A

An intent is a messaging object you can use to request an action from another app component

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

What are the advantages of open intents?

A
  • Adds new features after design
  • Loose coupling
  • Make use of third-party components
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the disadvantages of open intents?

A
  • Matching component may not exist
  • Weak guarantees
  • Component might crash (hard to test)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly