~/talk

IMPLEMENTING VOICE CONTROL WITH THE ANDROID MEDIA SESSION API ON AMAZON FIRE TV

Talkat droidcon Berlin 2018 · 2018-06-25..06-27· [android]
links:none on file
slides:none on file

Claim: voice control on Fire TV maps directly to Android MediaSession callbacks so it largely “just works” with standard APIs — only one manifest permission is needed. Implementation uses VideoView or ExoPlayer, MediaController, MediaSession with PlaybackStateCompat, lifecycle handling (onPause/onResume/onDestroy), and callbacks for play/pause/seek/next/previous; Alexa intent timings auto-convert so seek-to milliseconds auto-resolved and far‑field commands handle seconds/minutes/hours. Amazon also provides Fire App Builder, a preconfigured template that demos and ships working voice controls out of the box.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 2:06Rise of TV as a content platform
  3. 4:32Fire TV devices and farfield controls
  4. 6:26Fire TV Cube and voice integration
  5. 7:28Media session basics and setup
  6. 12:47Initializing media session and controller
  7. 16:20Configuring media session actions
  8. 19:11Setting playback state and focus
  9. 20:58Managing media session lifecycle
  10. 25:33Implementing media session callbacks
  11. 32:00Voice controls and standard media sessions
  12. 33:23Fire App Builder for TV apps
  13. 38:23Resources and closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.