Android development basics
Before you start integrating your content for Fire TV, familiarize yourself with the Android development basics. These high-level concepts and common terms can make implementing this integration guide go more smoothly.-
Activity - A class. It provides the window where your apps draws its UI. One app calls another by invoking an activity. It’s where an app interacts with the user.
- Intent filter - Launches an activity based on not only explicit, but also implicit requests. Explicit: “Start a Send Email activity using the Yorma app.” Implicit: “Start a Send Email screen in any activity that can do the job.”
-
Service - Background operations. It has no user interface. It can run even after the user has switched to another program. Example: play music, perform file I/O, or interact with a content provider.
- Foreground service - A service that is noticeable to the user. Example: playing an audio track. You hear it, but the work is being done in the background.
- Background service - A service that the user does not notice. Example: compacting storage in the background without your knowledge.
- Broadcast - When an event of interest occurs. Example: when a system boots up or a device starts charging. An intent object wraps this event. Make sure you follow the security best practices for this broadcast.
- ContentProvider - An interface to connect data in a process to code in another process. This is useful for sharing data. It also adds abstraction so you can change app data without affecting other apps.

