简体   繁体   中英

Launch my app from Google assistant if it is capable

The requirement is to launch my Android app if the user commands GA to find nearby restaurants of McDonald' where McDonald is the app name. Since the user is not mentioning that s/he wants to search in McDonald app it is not an explicit intent which the app can handle with a defined intent filter. I want to understand which component should I use to get this done.

There will be another use case that user wants to order some food item that has the name, McDonald. This suggests that ideally, I have to define action sets(set of templates) although the app doesn't converse with the user hence DialogFlow is not usable.

I contacted the Google action team after going through this Question , their response was that Invoking an Android application from an AOG app is not an available feature at this moment, this could be achieved using Google Assistant

What is the option left for this use-case?

My findings

Open app with Explicit intent

Perhaps the same use-case

Voice action

您将需要注册应用程序操作开发人员预览,该预览将公开您要从助手中打开的应用程序中的意图。

At Google I/O 2019, some updates were posted about App Actions. However, the current developer launch does not include the ability to implicitly call through to an app. The user will need to explicitly call out the app to use.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM