~/talk

How to integrate Android widgets with Google Assistant

Talkat Google I/O 2022 · 2022-05-11..05-12· [android]
links:none on file
slides:none on file

Shows how to surface an Android widget inside Google Assistant using App Actions and the Widgets Extension Library, mapping the GET_EXERCISE_OBSERVATION BII with inline inventory for three types: running, walking, cycling. Adds a background service in AndroidManifest, reads intent extras, queries the DB for a specific exercise type, builds RemoteViews, and attaches custom TTS. Tests: Assistant speaks the last running activity and returns a fallback “couldn't find the last activity for 'climbing'”, both working.

AI-written summary · about

  1. 0:00Start
  2. 0:48App Actions
  3. 2:54Fallback Intent
  4. 4:17Download the Starter Code
  5. 6:42Test the Existing App Actions
  6. 10:08Exercise Types
  7. 12:33Configure the Android App
  8. 13:25Add a Service for Processing the Widget Request
  9. 15:09Initialization Code
  10. 17:12Modifications to the Widget Creation Flow
  11. 18:47Adding some Text to Speech or Tts to Your Widget
  12. 20:30Providing Tts Output
  13. 21:25Update the App Actions Preview
~/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.