# google-assistant

Published articles for google-assistant.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Interpreting voice results for Android media apps in cars

DevFeed: [Interpreting voice results for Android media apps in cars](<https://devfeed.tech/articles/interpreting-voice-results-for-android-media-apps-in-cars-25891.md>)

Original publisher: [Read original article](<https://proandroiddev.com/interpreting-voice-results-for-android-media-apps-in-cars-f36d7bdb26e1?source=rss-1331e67af4e1------2>)

Author: Danny Preussler

Published: 2022-01-10T21:33:42Z

Content type: tutorial

Language: en

Sources: [Stories by Danny Preussler on Medium](<https://devfeed.tech/sources/stories-by-danny-preussler-on-medium.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [App](<https://devfeed.tech/topics/app.md>), [Code](<https://devfeed.tech/topics/code.md>), [Query (disambiguation)](<https://devfeed.tech/topics/query.md>), [Google](<https://devfeed.tech/topics/google.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-auto](<https://devfeed.tech/tags/android-auto.md>), [androiddev](<https://devfeed.tech/tags/androiddev.md>), [apps](<https://devfeed.tech/tags/apps.md>), [audio](<https://devfeed.tech/tags/audio.md>), [callback](<https://devfeed.tech/tags/callback.md>), [car](<https://devfeed.tech/tags/car.md>), [code](<https://devfeed.tech/tags/code.md>), [google](<https://devfeed.tech/tags/google.md>), [google-assistant](<https://devfeed.tech/tags/google-assistant.md>), [integration](<https://devfeed.tech/tags/integration.md>), [manifest](<https://devfeed.tech/tags/manifest.md>), [voice](<https://devfeed.tech/tags/voice.md>)

### AI overview

This article explains how Android Auto voice searches are delivered to a music app such as SoundCloud. It compares the documented use of MediaStore.EXTRA_MEDIA_FOCUS with observed behavior, reporting that Assistant currently returns a focus value that is not defined as an SDK constant.

### Source excerpt

When working on the Android Auto integration for SoundCloud, I stumbled upon an interesting issue. When it comes to implementing voice actions, things you read in the documentation might differ a bit from reality. Voice commands are very critical while driving a car. You want the driver to keep looking at the street, keep his hands on the steering wheel, instead of interacting with any screen. This is why when building for Android Auto, Automotive OS, and Assistant Driving Mode you have to support basic voice searches. For a music app like ours, the idea is simple. A user can say something like: "Play Moderat on SoundCloud" Under the hood The Assistant will break down our sentence for interpretation: "<Play> <Moderat> <on SoundCloud>" The verb (Play) and the app (SoundCloud) in the above command were meant for the system. It will then wake up the app mentioned (if it declared auto support via manifest) and, as we asked for verb "Play", the method MediaSessionCompat.Callback.onPlayFromSearch() will be called with the remaining query ("Moderat") as the argument. This query of "what to play" can still mean different things though. How do you know if Moderat is a band or a song? Don't worry, the Assistant will help us also here. It already got some idea what our query could mean, if we asked for an artist, an album, or a specific track. But be aware, it behaves slightly differently than officially documented. According to documentation we are supposed to write code like this: val mediaFocus = extras?.getString(MediaStore.EXTRA_MEDIA_FOCUS) if (mediaFocus == MediaStore.Audio.Artists.ENTRY_CONTENT_TYPE) { isArtistFocus = true artist = extras.getString(MediaStore.EXTRA_MEDIA_ARTIST) We are suppose to check for a bundle entry with the key MediaStore.EXTRA_MEDIA_FOCUS . This will give us a hint on how best to interpret the query. The value of the constant MediaStore.EXTRA_MEDIA_ARTIST checked above is vnd.android.cursor.item/artist and there are similar constants related to

## Lessons learned from Google Assistant and App Actions on Android

DevFeed: [Lessons learned from Google Assistant and App Actions on Android](<https://devfeed.tech/articles/lessons-learned-from-google-assistant-and-app-actions-on-android-25939.md>)

Original publisher: [Read original article](<https://juliensalvi.medium.com/lessons-learned-from-google-assistant-and-app-actions-on-android-c59c2dc60bd5?source=rss-cbfc736ddcd3------2>)

Author: Julien Salvi

Published: 2021-06-08T13:48:11Z

Content type: tutorial

Language: en

Sources: [Stories by Julien Salvi on Medium](<https://devfeed.tech/sources/stories-by-julien-salvi-on-medium.md>)

Topics: [Google](<https://devfeed.tech/topics/google.md>), [Android](<https://devfeed.tech/topics/android.md>), [App Indexing](<https://devfeed.tech/topics/app-indexing.md>), [Firebase](<https://devfeed.tech/topics/firebase.md>), [XML](<https://devfeed.tech/topics/xml.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [iOS](<https://devfeed.tech/topics/ios.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [androiddev](<https://devfeed.tech/tags/androiddev.md>), [app-indexing](<https://devfeed.tech/tags/app-indexing.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [google](<https://devfeed.tech/tags/google.md>), [google-assistant](<https://devfeed.tech/tags/google-assistant.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [ios](<https://devfeed.tech/tags/ios.md>), [voice-assistant](<https://devfeed.tech/tags/voice-assistant.md>), [xml](<https://devfeed.tech/tags/xml.md>)

### AI overview

A developer explains how Aircall experimented with Google Assistant voice interactions on Android and implemented App Actions for initiating calls. The article also describes using Android Slices to display a user's to-do list outside the app, including the relevant dependencies, actions.xml configuration, built-in intents, deep links, and manifest setup.

### Source excerpt

Photo by Soundtrap on Unsplash My company, Aircall, recently organized a hackathon to unleash our tech ideas for one and a half day. With the iOS folks, we decided to experiment voice interactions with Siri and Google Assistant in order to call a contact or show a specific data outside the application's scope with Android Slices. In this article, I'll show what we learned from Google Assistant and how we used App Actions to bring voice controls to our app. Identifying the features First, we wanted to identify the features we can bring to our application, thanks to Google Assistant. Our main app is a VoIP phone for businesses, so the first idea was to call someone from your contacts with the voice like "Ok Google, call John Doe on Aircall". Google Assistant offers the App Actions to achieve such goals on Android. Then, we thought about bringing relevant data to our users outside the application using voice actions. To do so, we will use the Android Slices to bring what's on the to-do of a user in Google Assistant with a command like the following: "Ok Google, show my to-do list on Aircall". Let's see how we implemented these two features in the Aircall app. Let's play with App Actions and Slices First, let's add the dependencies to the project. We need to add the Firebase Core and the App Indexing libraries to make the (deep)link between Google Assistant and our app. To display interactive cards on Google Assistant, we are going to use the AndroidX Slice library. Check for the latest updates of the Slice library here. Gradle dependenciesMake a call with App Actions To interact with our application, we need to define some actions in an actions.xml file located in the xml folder of the resources. Each action is associated with a built-in intent (BII) which model some of the common ways that users express tasks. App Actions provides over 60+ BIIs. Once the file is created, we are going to create the dedicated action to call a number or a contact, thanks to the intent ac

## 3rd Party Integrations in ESP RainMaker

DevFeed: [3rd Party Integrations in ESP RainMaker](<https://devfeed.tech/articles/3rd-party-integrations-in-esp-rainmaker-13795.md>)

Original publisher: [Read original article](<https://developer.espressif.com/blog/3rd-party-integrations-in-esp-rainmaker/>)

Author: John Lee

Published: 2020-06-30T00:00:00Z

Content type: tutorial

Language: en

Sources: [Blog on Developer Portal](<https://devfeed.tech/sources/blog-on-developer-portal.md>)

Topics: [Esp Rainmaker](<https://devfeed.tech/topics/esp-rainmaker.md>), [Internet of things](<https://devfeed.tech/topics/iot.md>), [Google](<https://devfeed.tech/topics/google.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [alexa](<https://devfeed.tech/tags/alexa.md>), [blog](<https://devfeed.tech/tags/blog.md>), [code](<https://devfeed.tech/tags/code.md>), [devices](<https://devfeed.tech/tags/devices.md>), [esp-rainmaker](<https://devfeed.tech/tags/esp-rainmaker.md>), [espressif](<https://devfeed.tech/tags/espressif.md>), [github](<https://devfeed.tech/tags/github.md>), [google-assistant](<https://devfeed.tech/tags/google-assistant.md>), [google-home](<https://devfeed.tech/tags/google-home.md>), [integrations](<https://devfeed.tech/tags/integrations.md>), [iot](<https://devfeed.tech/tags/iot.md>), [rainmaker](<https://devfeed.tech/tags/rainmaker.md>), [smart-home](<https://devfeed.tech/tags/smart-home.md>), [smartphones](<https://devfeed.tech/tags/smartphones.md>), [voice](<https://devfeed.tech/tags/voice.md>)

### AI overview

This article explains how ESP RainMaker integrates with Alexa and Google Voice Assistant. It describes how RainMaker device types and parameters map to the assistants' device formats and capabilities, then outlines the code and setup steps for controlling supported devices.

### Source excerpt

IoT, in general, has come a long away. During the very early stage, there was browser based control and monitoring, which, though more convenient than non-IoT devices, had a very narrow market. With the advent of Smartphones, IoT devices became much more easier to use and mass adoption became a possibility. However, the real push was given by the advent of various eco-systems and Voice assistants like Siri, Alexa and Google Assistant.

## A Closer look at Slices on Android

DevFeed: [A Closer look at Slices on Android](<https://devfeed.tech/articles/a-closer-look-at-slices-on-android-25649.md>)

Original publisher: [Read original article](<https://adambennett.dev/2018/05/a-closer-look-at-slices-on-android/>)

Published: 2018-05-31T13:11:02Z

Content type: tutorial

Language: en

Sources: [Posts on Adam Bennett](<https://devfeed.tech/sources/posts-on-adam-bennett.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [Google](<https://devfeed.tech/topics/google.md>), [App](<https://devfeed.tech/topics/app.md>), [Framework](<https://devfeed.tech/topics/framework.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [android](<https://devfeed.tech/tags/android.md>), [app](<https://devfeed.tech/tags/app.md>), [blog](<https://devfeed.tech/tags/blog.md>), [career](<https://devfeed.tech/tags/career.md>), [compose](<https://devfeed.tech/tags/compose.md>), [developer-preview](<https://devfeed.tech/tags/developer-preview.md>), [development](<https://devfeed.tech/tags/development.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [finance](<https://devfeed.tech/tags/finance.md>), [functional](<https://devfeed.tech/tags/functional.md>), [google](<https://devfeed.tech/tags/google.md>), [google-assistant](<https://devfeed.tech/tags/google-assistant.md>), [google-io](<https://devfeed.tech/tags/google-io.md>), [growth](<https://devfeed.tech/tags/growth.md>), [java](<https://devfeed.tech/tags/java.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [money](<https://devfeed.tech/tags/money.md>), [opinions](<https://devfeed.tech/tags/opinions.md>), [play-store](<https://devfeed.tech/tags/play-store.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [search](<https://devfeed.tech/tags/search.md>), [slices](<https://devfeed.tech/tags/slices.md>), [software](<https://devfeed.tech/tags/software.md>), [startups](<https://devfeed.tech/tags/startups.md>), [thoughts](<https://devfeed.tech/tags/thoughts.md>), [training](<https://devfeed.tech/tags/training.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

This article examines Android Slices introduced around the Android P Alpha release and explains their relationship to App Actions. It describes how App Actions can connect apps with Google Assistant, Search, and the Play Store, using recognized user intents and app deep links to support queries such as cryptocurrency price requests.

### Source excerpt

In the lead-up to Google IO 2018 and after peering into the Android P Alpha release, some people noticed a mysterious new "Slices" class within the P SDK docs. There was a lot of speculation as to what Slices actually did, and Sebastiano Poggi at Novoda did a great deep-dive into what was known at the time.

## Using the Actions SDK to Develop for the Google Assistant

DevFeed: [Using the Actions SDK to Develop for the Google Assistant](<https://devfeed.tech/articles/using-the-actions-sdk-to-develop-for-the-google-assistant-29127.md>)

Original publisher: [Read original article](<https://www.grokkingandroid.com/using-the-actions-sdk/>)

Author: Wolfram Rittmeyer

Published: 2017-10-12T06:05:56Z

Content type: tutorial

Language: en

Sources: [Grokking Android](<https://devfeed.tech/sources/grokking-android.md>)

Topics: [SDKs](<https://devfeed.tech/topics/sdks.md>), [Google](<https://devfeed.tech/topics/google.md>), [Dialogflow](<https://devfeed.tech/topics/dialogflow.md>)

Tags: [actions-sdk](<https://devfeed.tech/tags/actions-sdk.md>), [build](<https://devfeed.tech/tags/build.md>), [develop](<https://devfeed.tech/tags/develop.md>), [gactions](<https://devfeed.tech/tags/gactions.md>), [google](<https://devfeed.tech/tags/google.md>), [google-assistant](<https://devfeed.tech/tags/google-assistant.md>), [google-home](<https://devfeed.tech/tags/google-home.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [tutorials](<https://devfeed.tech/tags/tutorials.md>)

### AI overview

This tutorial shows how to develop a simple Google Assistant app with the Actions SDK. The example provides bus departure information and indicates whether users should hurry or wait. It introduces Actions SDK concepts including actions and intents, while noting that a follow-up post will cover Dialogflow.

### Source excerpt

In today's post I'm going to show how to develop a simple app for the Google Assistant. For developing this app, I will be using the Actions SDK. My next post will use Dialogflow (formerly api.ai) instead. After reading both posts you hopefully will know enough to decide which approach is better suited for you. [...] Continue Reading "Using the Actions SDK to Develop for the Google Assistant" The post Using the Actions SDK to Develop for the Google Assistant appeared first on Grokking Android.

## Quick Intro Into Actions on Google

DevFeed: [Quick Intro Into Actions on Google](<https://devfeed.tech/articles/quick-intro-into-actions-on-google-29110.md>)

Original publisher: [Read original article](<https://www.grokkingandroid.com/actions-on-google-quick-intro/>)

Author: Wolfram Rittmeyer

Published: 2017-08-02T06:33:40Z

Content type: tutorial

Language: en

Sources: [Grokking Android](<https://devfeed.tech/sources/grokking-android.md>)

Topics: [Google](<https://devfeed.tech/topics/google.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [gRPC](<https://devfeed.tech/topics/grpc.md>), [Raspberry Pi](<https://devfeed.tech/topics/raspberry-pi.md>), [interfaces](<https://devfeed.tech/topics/interfaces.md>), [Internet of things](<https://devfeed.tech/topics/iot.md>)

Tags: [actions-on-google](<https://devfeed.tech/tags/actions-on-google.md>), [api-ai](<https://devfeed.tech/tags/api-ai.md>), [conversational-interfaces](<https://devfeed.tech/tags/conversational-interfaces.md>), [google](<https://devfeed.tech/tags/google.md>), [google-assistant](<https://devfeed.tech/tags/google-assistant.md>), [google-home](<https://devfeed.tech/tags/google-home.md>), [interfaces](<https://devfeed.tech/tags/interfaces.md>), [iot](<https://devfeed.tech/tags/iot.md>), [pi](<https://devfeed.tech/tags/pi.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [raspberry-pi](<https://devfeed.tech/tags/raspberry-pi.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [sdks](<https://devfeed.tech/tags/sdks.md>), [voice](<https://devfeed.tech/tags/voice.md>)

### AI overview

An introductory article explaining conversational interfaces and distinguishing the Assistant SDK from Actions on Google. It describes using the Assistant SDK to embed Google Assistant in devices, including Raspberry Pi systems, while Actions on Google is used to create Google Assistant apps.

### Source excerpt

Google Home will finally be available in Germany on August, 8th and in France this week. I'm not aware of more announcements for other countries, but I hope and assume that availability will increase to many more countries as soon as possible.1) For me, though, getting my AIY kit was the day, I started getting [...] Continue Reading "Quick Intro Into Actions on Google" The post Quick Intro Into Actions on Google appeared first on Grokking Android.