App Actions overview

Google for Developers · Beginner ·📰 AI News & Updates ·5y ago

Key Takeaways

Provides an overview of App Actions for integrating Google Assistant into Android apps

Full Transcript

by extending your android application with google assistant your users can launch and complete tasks with your app faster app actions is how developers can integrate google assistant into your android app and is how end users can launch and control android apps with their voice let's take the user journey of ordering a pizza it can be quite a process if your app isn't voice enabled first your user will have to find the app icon in the sea of icons then find in the app where they can start an order then select they want to order a pizza and finally customize your pizza to include the sauces cheeses and toppings they want not too bad but imagine a user being able to say hey google order pizza from example app and the app is automatically open and order started now all they need to do is customize the pizza so much easier app actions allows android developers to add voice commands to their apps to accelerate tasks like these for your users by saying hey google order pizza from example app there's enough contacts to open the example app directly to the order page for a pizza from a user's perspective this might feel magical but you can think of this experience as two parts first is processing the user's input in which you'll be harnessing the power of google's natural language understanding to figure out what your user wants to do in your app the second is fulfillment what you want to present to your user as a response let's go over how it works key concepts and highlight some key features let's break down what is happening with the example of ordering a pizza when a user says hey google order a pizza from example app google assistant will process the user's input using google's nlu and matches an intent from the user speech assistant knows which capabilities you support when your app is uploaded to the play store capabilities represent a generic way for an app to expose external entry points into the app in this example assistant uses a capability that matches the built-in intent of order menu item a built-in intent or bi for short is a pre-defined trigger for a specific kind of functionality that the user wants to do in this example it's order menu item which supports user journeys of ordering a specific menu item or cuisine type google builds and maintains language models for bis to understand every possible variation of a query that relates to that particular intent meaning you don't have to bis already support many different languages and we're always improving them because of this as google assistant improves its language support your app automatically benefits from these efforts the majority of biis also have fields which identify possible elements in a user's query which will pass your android application as parameters for this example pizza will be passed as a parameters value so the assistant has matched the bii of order menu item and has pulled an intense parameters from the user's request it knows about your supported capabilities because they are listed in your shortcuts shortcuts.xml along with how to fulfill them then it launches the app using the android intent that was declared in the capability this jumps users straight into the app's correct screen as well as any of the parameters the user provided with this example the capability used at bii let's dive a little deeper on what kinds are available app action supports tons of bis and there's a whole category of common bis the majority of android apps can use like open app feature which allows users to launch an apps feature or get thing which searches for a specific thing using the default in-app search feature in the application make sure to check this list out first when considering using biis we also have so many more biis that we've organized them into several categories here's just a few of them like order food communication and fitness check out the docs for the full list of biis for unique functionality that isn't supported with bis developers can use custom intents custom intents are developer created intent that functions similar to biis although you need to provide additional information we recommend using bis first and if you cannot find the functionality you want to use then use custom intents check out the docs for more information this is just the beginning of app actions there's tons of features and toolings that you can use to support voice controls once you have a capability defined you can also define shortcuts that invoke the capability you can think of shortcuts as an instance of a capability with some of its parameters having predefined values shortcuts are ideal for situations when users leave out information or assume your application already contains information for example if you're using the create taxi reservation bii a user might say something like hey google order me a ride home from example app home isn't an actual address but with shortcuts you can take that into account that users would say home and you can have your android app handle that correctly by passing home as a token so your app can resolve this for your most critical user journeys you can suggest to your users to create an assistant shortcut in your app which is a phrase that triggers a particular shortcut for example at the end of purchasing our pizza from the example before you can offer the user to create an assistant shortcut so next time they say hey google get my usual pizza the android app opens with the user's preferred pizza and is ready to be ordered in-app promotion allows a developer to initiate the creation of an assistant shortcut you could do this by constructing a special deeply that has the app's own deep link parameters inside it you can utilize widgets as a way to fulfill a user's query this option is great for situations that require a short or simple response for example a user who forgot what time a reservation is at and wants to easily get the time of the reservation finally regardless of what you want to implement you'll want to test out your app actions before publishing your app you can do that with google assistant's plugin for android studio this was a brief overview of app actions if you want to get started learning how to build check out our collabs for a step-by-step guide on how to build your first app actions and of course check out our docs for more details join our dev community on reddit where you can chat with other action on google developers and stay up to date by following us on twitter i'm jessica thanks for watching and i can't wait to see what you build

Original Description

App Actions is how developers can integrate Google Assistant into their Android App. Enable your users to launch specific features in your app using the Google Assistant. Jessica Dene Earley-Cha explains key concepts and implementation steps for App Actions. App Action Docs → https://goo.gle/appactions-docs App Action Codelabs → http://goo.gle/appactions-codelabs App Action videos → http://goo.gle/appactions-videos App Action Samples → http://goo.gle/appactions-samples Watch more on Google Assistant Developers → https://goo.gle/2SwBLui Subscribe to Google Developers → https://goo.gle/developers
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Google for Developers · Google for Developers · 0 of 60

← Previous Next →
1 Developer Journey - Sunnyvale DSC Summit ‘19
Developer Journey - Sunnyvale DSC Summit ‘19
Google for Developers
2 How Google is working with students - Sunnyvale DSC Summit ‘19
How Google is working with students - Sunnyvale DSC Summit ‘19
Google for Developers
3 Starting your career in the Cloud - Sunnyvale DSC Summit ‘19
Starting your career in the Cloud - Sunnyvale DSC Summit ‘19
Google for Developers
4 The Solution Challenge  - Sunnyvale DSC Summit ‘19
The Solution Challenge - Sunnyvale DSC Summit ‘19
Google for Developers
5 Firebase - Sunnyvale DSC Summit ‘19
Firebase - Sunnyvale DSC Summit ‘19
Google for Developers
6 Cloud Hero - Sunnyvale DSC Summit ‘19
Cloud Hero - Sunnyvale DSC Summit ‘19
Google for Developers
7 Panel discussion  - Sunnyvale DSC Summit ‘19
Panel discussion - Sunnyvale DSC Summit ‘19
Google for Developers
8 The art of negotiation - Sunnyvale DSC Summit ‘19
The art of negotiation - Sunnyvale DSC Summit ‘19
Google for Developers
9 Courage to care, solve and share - Sunnyvale DSC Summit ‘19
Courage to care, solve and share - Sunnyvale DSC Summit ‘19
Google for Developers
10 Version 9 of Angular, Glass Enterprise Edition 2, path to DX deprecation, & more!
Version 9 of Angular, Glass Enterprise Edition 2, path to DX deprecation, & more!
Google for Developers
11 [DEPRECATING] Introducing a new series (Assistant for Developers Pro Tips)
[DEPRECATING] Introducing a new series (Assistant for Developers Pro Tips)
Google for Developers
12 Detecting memory bugs with HWASan, Bazel 2.1, Next ‘20 session guide, & more!
Detecting memory bugs with HWASan, Bazel 2.1, Next ‘20 session guide, & more!
Google for Developers
13 Why Podcast.app chose a .app domain name
Why Podcast.app chose a .app domain name
Google for Developers
14 Machine Learning Bootcamp Jakarta 2019
Machine Learning Bootcamp Jakarta 2019
Google for Developers
15 Android Studio 3.6, Android 11 Developer Preview, Kubeflow 1.0, & more!
Android Studio 3.6, Android 11 Developer Preview, Kubeflow 1.0, & more!
Google for Developers
16 [DEPRECATING]  Importance of community (Assistant on Air)
[DEPRECATING] Importance of community (Assistant on Air)
Google for Developers
17 Why the Flutter team switched from .io to a .dev domain name
Why the Flutter team switched from .io to a .dev domain name
Google for Developers
18 3 website-building tips from .dev creators
3 website-building tips from .dev creators
Google for Developers
19 Why NimbleDroid chose a .app domain name
Why NimbleDroid chose a .app domain name
Google for Developers
20 Android Platform Codelab, Bazel 2.2, Maps Android Utility Library v1.0, & more!
Android Platform Codelab, Bazel 2.2, Maps Android Utility Library v1.0, & more!
Google for Developers
21 Google for Games Developer Summit: A free, digital experience for game developers
Google for Games Developer Summit: A free, digital experience for game developers
Google for Developers
22 Inspecting Home Graph (Assistant for Developers Pro Tips)
Inspecting Home Graph (Assistant for Developers Pro Tips)
Google for Developers
23 Google for Games Developer Summit Keynote
Google for Games Developer Summit Keynote
Google for Developers
24 Stadia Games & Entertainment presents: Keys to a great game pitch (Google Games Dev Summit)
Stadia Games & Entertainment presents: Keys to a great game pitch (Google Games Dev Summit)
Google for Developers
25 Empowering game developers with Stadia R&D (Google Games Dev Summit)
Empowering game developers with Stadia R&D (Google Games Dev Summit)
Google for Developers
26 Supercharging discoverability with Stadia (Google Games Dev Summit)
Supercharging discoverability with Stadia (Google Games Dev Summit)
Google for Developers
27 Stadia Games & Entertainment presents: Creating for content creators (Google Games Dev Summit)
Stadia Games & Entertainment presents: Creating for content creators (Google Games Dev Summit)
Google for Developers
28 Bringing Destiny to Stadia: A postmortem (Google Games Dev Summit)
Bringing Destiny to Stadia: A postmortem (Google Games Dev Summit)
Google for Developers
29 Live Captioning in Google Slides
Live Captioning in Google Slides
Google for Developers
30 [DEPRECATING]  User engagement for the Google Assistant
[DEPRECATING] User engagement for the Google Assistant
Google for Developers
31 TensorFlow Dev Summit ‘20, Google for Games Dev Summit, Cloud AI Platform Pipelines, & much more!
TensorFlow Dev Summit ‘20, Google for Games Dev Summit, Cloud AI Platform Pipelines, & much more!
Google for Developers
32 Top 5 from the TensorFlow Dev Summit 2020
Top 5 from the TensorFlow Dev Summit 2020
Google for Developers
33 Developer Student Clubs 2019 Turkey Leads Summit
Developer Student Clubs 2019 Turkey Leads Summit
Google for Developers
34 Building simpler payment experiences | Google Pay Plugin for Magento 2
Building simpler payment experiences | Google Pay Plugin for Magento 2
Google for Developers
35 Become A Developer Student Club Lead
Become A Developer Student Club Lead
Google for Developers
36 Firebase Kotlin Extensions, ARM apps on the Android Emulator, Angular v9.1, & more!
Firebase Kotlin Extensions, ARM apps on the Android Emulator, Angular v9.1, & more!
Google for Developers
37 Test suite for Smart Home (Assistant for Developers Pro Tips)
Test suite for Smart Home (Assistant for Developers Pro Tips)
Google for Developers
38 Google Play updates, Bazel 3.0, Business Console for Google Pay, & more!
Google Play updates, Bazel 3.0, Business Console for Google Pay, & more!
Google for Developers
39 How to use error logs (Assistant for Developers Pro Tips)
How to use error logs (Assistant for Developers Pro Tips)
Google for Developers
40 Contact Center AI, Android Studio 4.1 Canary 5, TensorFlow QAT API, & more!
Contact Center AI, Android Studio 4.1 Canary 5, TensorFlow QAT API, & more!
Google for Developers
41 WebView DevTools, Kotlin meets gRPC, Flutter CodePen support, & more! (Episode 200)
WebView DevTools, Kotlin meets gRPC, Flutter CodePen support, & more! (Episode 200)
Google for Developers
42 Offline handling for Smart Home (Assistant for Developers Pro Tips)
Offline handling for Smart Home (Assistant for Developers Pro Tips)
Google for Developers
43 Android 11 Dev Preview 3, Google Fonts for Flutter, Shielded VM, & more!
Android 11 Dev Preview 3, Google Fonts for Flutter, Shielded VM, & more!
Google for Developers
44 Machine Learning Foundations: Ep #1 - What is ML?
Machine Learning Foundations: Ep #1 - What is ML?
Google for Developers
45 Flutter web support updates, BigQuery materialized views, Cloud Spanner emulator, & more!
Flutter web support updates, BigQuery materialized views, Cloud Spanner emulator, & more!
Google for Developers
46 Computer vision by building a neural network with TensorFlow | Machine Learning Foundations
Computer vision by building a neural network with TensorFlow | Machine Learning Foundations
Google for Developers
47 Machine Learning Foundations: Ep #3 - Convolutions and pooling
Machine Learning Foundations: Ep #3 - Convolutions and pooling
Google for Developers
48 Android 11 Beta plans, Flutter 1.17, Dart 2.8, & much more!
Android 11 Beta plans, Flutter 1.17, Dart 2.8, & much more!
Google for Developers
49 Machine Learning Foundations: Ep #4 - Coding with Convolutional Neural Networks
Machine Learning Foundations: Ep #4 - Coding with Convolutional Neural Networks
Google for Developers
50 Google Developers ML Summit
Google Developers ML Summit
Google for Developers
51 Real-world image classification using convolutional neural networks | Machine Learning Foundations
Real-world image classification using convolutional neural networks | Machine Learning Foundations
Google for Developers
52 Adobe XD support for Flutter, Architecture Framework, temporary closures with Places API, & more!
Adobe XD support for Flutter, Architecture Framework, temporary closures with Places API, & more!
Google for Developers
53 Machine Learning Foundations: Ep #6 - Convolutional cats and dogs
Machine Learning Foundations: Ep #6 - Convolutional cats and dogs
Google for Developers
54 Machine Learning Foundations: Ep #7 - Image augmentation and overfitting
Machine Learning Foundations: Ep #7 - Image augmentation and overfitting
Google for Developers
55 Announcing Firebase Live, Flutter Day, Java 11 on Google Cloud Functions, & more!
Announcing Firebase Live, Flutter Day, Java 11 on Google Cloud Functions, & more!
Google for Developers
56 Machine Learning Foundations: Ep #8 - Tokenization for Natural Language Processing
Machine Learning Foundations: Ep #8 - Tokenization for Natural Language Processing
Google for Developers
57 Android 11 Beta, Google Play Asset Delivery, Firebase Crashlytics SDK, & much more!
Android 11 Beta, Google Play Asset Delivery, Firebase Crashlytics SDK, & much more!
Google for Developers
58 Natural Language Processing: Using sequencing APIs in TensorFlow | Machine Learning Foundations
Natural Language Processing: Using sequencing APIs in TensorFlow | Machine Learning Foundations
Google for Developers
59 Build a sarcasm classifier using NLP and TensorFlow | Machine Learning Foundations
Build a sarcasm classifier using NLP and TensorFlow | Machine Learning Foundations
Google for Developers
60 AR Realism with the ARCore Depth API
AR Realism with the ARCore Depth API
Google for Developers

Related AI Lessons

Up next
‘ENOUGH IS ENOUGH’: Lebanon is STANDING UP to Iran, expert says
Fox Business
Watch →