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