Android App Components and Architecture

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

1/18

flashcard set

Earn XP

Description and Tags

Flashcards covering key concepts from the Android lecture, including intents, services, architecture, and app components.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

19 Terms

1
New cards

What is an Intent?

A messaging object used to request an action from another app component.

2
New cards

What are Intents used for?

Starting an activity, starting a service, broadcasting an event.

3
New cards

What is an explicit intent?

Specifies the exact component to start; used within the same app.

4
New cards

What is an implicit intent?

Does not name a specific component; declares a general action; the system finds the app to handle it.

5
New cards

What are the two types of services?

Started services and bound services.

6
New cards

What do services tell the system?

Tell the system how to manage services and keep them running until their tasks are completed.

7
New cards

What is a Broadcast Receiver?

A component that allows your app to respond to system-wide events even without displaying a user interface.

8
New cards

What is a Content Provider?

Provides access to and shares app data with other apps, granted through app permissions.

9
New cards

What is ART?

Ahead-of-Time compilation and is a runtime environment that executes Android apps. Native libraries are libraries written in C and C++.

10
New cards

What are the 5 major layers of the OS architecture?

Apps, Java API Framework, Native C++ libraries, Run time (ART), Android HAL, Linux kernel.

11
New cards

What benefits does Android get from the Linux kernel?

Security features like file system permissions and app sandboxing.

12
New cards

What is the Hardware Abstraction Layer (HAL)?

Provides device-independent interfaces to hardware components like camera and microphone.

13
New cards

What APIs does the Java API Framework provide?

View system, resource manager, activity manager, notification manager, content providers.

14
New cards

What are the four types of app components?

Activities, Services, Broadcast Receivers, and Content Providers.

15
New cards

What is the purpose of each app component?

Each component is an entry point through which the system or user can enter your app.

16
New cards

What languages can Android apps be developed using?

Kotlin, Java, and C++.

17
New cards

What is an Android Package?

Contains the contents of an Android app project and has a .apk suffix.

18
New cards

What is an Android App Bundle (AAB)?

Contains the contents of an Android app project along with additional metadata and has a .aab suffix. It is a publishing format and cannot be installed on devices.

19
New cards

How is Android app security implemented?

Each app has its own security sandbox, protected by Linux user IDs.