Android Week 8 Part 2

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

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

15 Terms

1
New cards

What is the purpose of notifications in Android?

informs users about important events or updates even when the app is not in use. They are managed by the Notification Manager service.

2
New cards

What is the role of the Notification Manager in Android?

handles the display and removal of notifications in the system's notification shade.

3
New cards

What are Basic Notifications in Android?

a title, message, and optional icon.

4
New cards

What is BigTextStyle in Android notifications?

used for showing a larger text body in a notification, useful for longer messages.

5
New cards

What is BigPictureStyle in Android notifications?

displays a large image alongside the notification content.

6
New cards

What is InboxStyle in Android notifications?

allows multiple messages to be shown in a stacked format.

7
New cards

What is MessagingStyle in Android notifications?

is used for chat or messaging apps, allowing messages to be grouped in a conversational format.

8
New cards

What are Progress Notifications in Android?

display a progress bar, useful for indicating download or processing progress.

9
New cards

What are Custom Notifications in Android?

allow full customization of layouts and complex elements beyond the default notification styles.

10
New cards

What is a Notification Channel in Android?

categorizes notifications and allows users to control their behavior (e.g., sound, vibration). Required for Android 8.0+ (API 26).

11
New cards

What are the key components of an Android notification?

  • Notification Channel (Android 8.0+): Categorizes notifications.

  • Notification Manager: Manages display/removal.

  • Notification Builder: Constructs the notification.

12
New cards

What permission is required for vibrating notifications?

<uses-permission android:name="android.permission.VIBRATE"/>

13
New cards

What is the purpose of NotificationCompat.Builder?

NotificationCompat.Builder is used to construct and customize notifications, including setting the title, text, icon, and actions.

14
New cards

What is a foreground service notification?

ensures that the system does not kill the service for running too long, displaying a persistent notification while the service is active.

15
New cards

What are best practices for using notifications in Android?

  • Use Notification Channels: Categorize notifications.

  • Avoid Overuse: Don't spam users.

  • Provide User Control: Let users customize settings.

  • Use Proper Priority: Set importance levels like IMPORTANCE_HIGH or IMPORTANCE_LOW.