Android 2

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/15

flashcard set

Earn XP

Description and Tags

Learn more about android

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

16 Terms

1
New cards

intent filter

each activity describes the intents it offers in the app manifest file (XML). when an app requests an activity, it issues a startActivity() call requesting an intent

2
New cards

how does android handle the “what is being done” part

using a registry of intents

3
New cards

intent

messaging object used to request an action from another app component

4
New cards

open intent pro 1

new features can be added after design

5
New cards

open intent pro 2

loose coupling

6
New cards

open intent con 1

no guarantees

7
New cards

open intent con 2

there may be no provider capable of providing the open intent desired function

8
New cards

service providing intent example

text to speech provider. different instances for different languages, speech styles, voices, etc

9
New cards

discovery start

at installation, each new app registers its intents with the OS. new providers become known when they’re installed

10
New cards

lifecycle

each activity has a defined lifecycle delimited by calls to event handlers

11
New cards

android issue 1

no provider for an intent

12
New cards

android solution 1

don’t offer the option to the user

13
New cards

android issue 2

many possible providers

14
New cards

android solution 2

ask the user to choose

15
New cards

android issue 3

component crashes

16
New cards

android solution 3

revert to the calling activity/ fail/ home screen