Friday, May 9, 2025
Alternative Way
  • Home
  • Latest
    • Latest
  • News
  • World Tech
  • World Gaming
  • Minecraft
  • Guides
  • Contact Us
  • About The Team
    • Privacy Policy
    • Terms of Use
No Result
View All Result
  • Home
  • Latest
    • Latest
  • News
  • World Tech
  • World Gaming
  • Minecraft
  • Guides
  • Contact Us
  • About The Team
    • Privacy Policy
    • Terms of Use
No Result
View All Result
Alternative Way
No Result
View All Result

How to integrate classic App Shortcuts with Google Assistant through the new Capabilities API

Gordon James by Gordon James
October 3, 2021
in World Tech Code
0 0
0
Home World Tech Code

This summer Apple announced new capabilities for developers in the Google Assistant SDK. These features, enabled by a new Google-approved Capabilities API for Assistant, allow users to type a phrase or tap a button to trigger the Google Assistant on their phone. This allows potential users of the SDK to tap the microphone button in a Tweet to open the Twitter app, give a command to open the camera, or start playing a song from their music library. We’ve covered Google’s new capabilities before but today we’re going to dive into what’s new and provide some best practices.

Back in February Google announced the introduction of the new Capabilities API, which is now available to all app developers in the Play Store. The main goal of the new API is to allow all Android apps to launch the Google Assistant or any other voice-enabled digital assistants using a custom shortcut, through a voice command, or a combination of both.

There’s a new, completely revamped Shortcuts app on Play Store and Google Assistant is now available on all Android devices with a microphone, so it’s time for you to master Google’s new Shortcuts feature and turn it into an awesome shortcut manager!. Read more about integrate google assistant in android app example and let us know what you think.In this example we will see how to use the classic ** Android Shortcuts ** transformed with ** Google Assistant ** using the new ** Capabilities API ** announced at the recent Google I/O.

The project is divided into progressive branches, so you can see the differences between the branches as you explore the new concept.

The order will be as follows:

  1. [main] (https://github.com/Tohure/AssistantShortcuts): One branch with one project of 3 screens (fragments) combined with Jetpack navigation.

Jetpack navigation: https://developer.android.com/guide/navigation

  1. [ shortcutClassic ] (https://github.com/Tohure/AssistantShortcuts/tree/ShortcutClassic): A drawer in which we implement **shortcuts**, an Android technology that allows direct access from the launcher (desktop) of our phone by touching and holding the icons and displaying them.

Abbreviations: https://developer.android.com/guide/topics/ui/shortcuts

  1. [ shortcutCapabilities ] (https://github.com/Tohure/AssistantShortcuts/tree/ShortcutCapabilities): A compartment that integrates the classic ** Shortcuts ** and voice control ** App Actions ** with the new ** API ** features announced at the recent *Google I/O 21*.

Features: https://developer.android.com/guide/topics/ui/shortcuts/adding-capabilities

Applications: https://developers.google.com/assistant/app/overview

  1. [ CapabilitiesInAppPromo ] (https://github.com/Tohure/AssistantShortcuts/tree/CapabilitiesInAppPromo): A topic for which we will use the **In-App Promo SDK ** to make suggestions for using or calling up a particular topic with Google Assistant directly in the app.

In-App Promo SDK : https://developers.google.com/assistant/app/in-app-promo-sdk

  1. widgetCapabilities ] (https://github.com/Tohure/AssistantShortcuts/tree/WidgetCapabilities): A compartment where we will use ** Capabilities API ** to invoke Android widgets directly in our Google Assistant.

Table of Contents

Toggle
  • Requirements
  • Warning
  • Screenshots
  • GitHub
    • Frequently Asked Questions
      • How do I integrate Google assistant with app?
      • How do I add a shortcut to Google assistant?
      • Can Google Assistant control apps?
      • Related Tags:

Requirements

  • Android Studio 4.2.
  • Android SDK 25>
  • Kotlin 1.4. *>
  • Google Assistant plug-in for Android Studio ([LINK] (https://plugins.jetbrains.com/plugin/16739-google-assistant))
  • Google Play Developers account (for internal testing only and Android can link the app ID to your *phone’s Google Assistant ||emulator *.
  • Sign in with the same Gmail account in the Google Play Developers Console, on *the phone ||emulator* and in Android Studio to get the Google Assistant plugin working properly.

Warning

  • The project assumes it will work with Android 7.1 (Nougat | Api 25), since ** Shortcuts ** is a technology that only appeared in this version of Android, and the new ** Capabilities ** API works with ** Shortcuts **, but you can install it on devices running Android 5 (Lollipop | Api 21), since neither Shortcuts nor Capabilities will work.
  • To test both on your device and on the emulator, you must use the same Gmail account in Google Play Developers and Android Studio and on your phone.

Screenshots

How to integrate classic App Shortcuts with Google Assistant through the new Capabilities API

GitHub

https://github.com/Tohure/AssistantShortcutsIf you own a Samsung smartphone, you know that there’s a long list of Google apps that you can’t even open without the help of a third-party app. Fortunately, Google Assistant and its new Capabilities API can help you to integrate a variety of apps into your workflow without even touching the phone.. Read more about google assistant shortcuts android and let us know what you think.

Frequently Asked Questions

How do I integrate Google assistant with app?

Google’s new Google Assistant API is a way for non-Google apps to interact with Google’s AI through the Google Home speaker. The goal of this post is to help you integrate classic app shortcuts with Google Assistant through the new Capabilities API. Although Google Assistant is gaining popularity, it is still limited in its ability to perform certain actions. Many users discover that when using the assistant, for instance, they can’t make calls, or send text messages. The reason is that the assistant works by calling a particular application, and then, the application in question doesn’t yet support the new Google Assistant API.

How do I add a shortcut to Google assistant?

Sometimes the best way to incorporate new technology into your daily life is to tweak a few settings here and there. The Google assistant has its own built-in functions, which you can use to your advantage. Here are a few easy ways to get a workable shortcut for Google assistant to your homescreen and/or lock screen. While Google has made it easy for us to create custom shortcuts to any app with the new Custom Action API, it is not as easy for us to integrate Google Assistant with those shortcuts. We can do this with other apps through the use of the new Capabilities API, but we can’t use that functionality with Assistant. This is because the way that the Capabilities API works is through long-pressing on an action in the Action Menu. However, there is an alternative way to create a shortcut with Assistant, and that is to create a shortcut that is placed inside the Assistant App on the Home Screen. If you enable this feature, all you have to do is long-press on the Home Screen to use it.

Can Google Assistant control apps?

Google Assistant launched a month ago along with the Google Pixel and Google Home, and it has been a major surprise to many of us. Google Assistant and the newly unveiled Google Pixel phones have a lot to offer, including the ability to control your phone’s various apps. But not all users have access to these capabilities; some are still locked behind workarounds. It’s no secret that Google Assistant is all the rage right now. It’s the feature that’s been on Android phones for over a year now, and it’s finally on the iPhone. It seems like every time Google rolls out a new function, it’s in front of us. But that doesn’t mean we can’t take advantage of it!

Related Tags:

android app actions examplegoogle assistant app actionsgoogle assistant shortcut android 10google assistant shortcuts androidgoogle assistant actions listgoogle assistant shortcuts missing,People also search for,Feedback,Privacy settings,How Search works,integrate google assistant in android app example,android app actions example,google assistant app actions,google assistant shortcut android 10,google assistant shortcuts android,google assistant actions list,google assistant shortcuts missing,google assistant shortcut ios

Total
0
Shares
Share 0
Tweet 0
Pin it 0
Share 0
ShareTweet
Gordon James

Gordon James

Next Post
How to fix some error while install Sophos Home on Windows 7. –

How to fix some error while install Sophos Home on Windows 7. –

  • Trending
  • Comments
  • Latest
How To Get Free Internet On Android Without Service

How To Get Free Internet On Android Without Service

March 10, 2022
🥇 +4 Neo Geo Emulators for Android  List ▷ 2021

🥇 +4 Neo Geo Emulators for Android  List ▷ 2021

October 3, 2021

Fix: Notifications not working on Nova Launcher

October 3, 2021
How to Fix OpenVPN Connected but Not Changing IP Address

How to Fix OpenVPN Connected but Not Changing IP Address

October 3, 2021

Setting Up Directory Sync Between On-Premises Active Directory with Microsoft 365 Azure AD

0
🥇 DELETE ACCOUNT from PS4  ▷ Step by Step Guide ▷ 2020

🥇 DELETE ACCOUNT from PS4  ▷ Step by Step Guide ▷ 2020

0
🥇 PPTX File Extension  What is .Pptx and how to open them? ▷ 2020

🥇 PPTX File Extension  What is .Pptx and how to open them? ▷ 2020

0
🥇 Make a Crossword in Microsoft Word  Step by Step Guide ▷ 2020

🥇 Make a Crossword in Microsoft Word  Step by Step Guide ▷ 2020

0
What to Know About Car Shipping Services

What to Know About Car Shipping Services

May 7, 2025
CS2 Skins-Why Trade Them?

CS2 Skins-Why Trade Them?

May 7, 2025
Alternative Routes: Successfully Exiting Your Wyndham Timeshare Without The Stress

Alternative Routes: Successfully Exiting Your Wyndham Timeshare Without The Stress

May 6, 2025
The Ultimate Seiko Watch Gift Guide

The Ultimate Seiko Watch Gift Guide

May 1, 2025

There's always an alternative Way!
Find us at 4145 Zolynthian Street, Vylorthos, QP 78425
No Result
View All Result
  • Home
  • Latest
    • Latest
  • News
  • World Tech
  • World Gaming
  • Minecraft
  • Guides
  • Contact Us
  • About The Team
    • Privacy Policy
    • Terms of Use

© 2022 - Alternative Way

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT
No Result
View All Result
  • Home
    • Home – Layout 1
    • Home – Layout 2
    • Home – Layout 3
    • Home – Layout 4
    • Home – Layout 5
  • Travel News

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.