Started vs. Bound Services: Differences and Use Cases

Tests your grasp of Android component lifecycles. A strong answer defines each by its lifecycle control (who starts/stops it) and communication pattern (fire-and-forget vs. client-server), then gives distinct use cases.
This tests your grasp of Android component lifecycles and inter-process communication. A great answer differentiates them by lifecycle control (Started is independent; Bound is tied to its client), communication (one-way Intent vs. two-way IBinder), and termination. Provide clear use cases: a Started Service for a one-off data sync, a Bound Service for a music player controlled by a UI. A red flag is giving overlapping examples or failing to mention the lifecycle coupling of a Bound Service.
Read the original → developer.android.com
- #android
- #services
- #lifecycle
- #ipc
Get five bites like this every day.
Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.