问题描述
要求是,如果用户命令Google Analytics(分析)找到附近的麦当劳餐厅(其中麦当劳是应用程序名称),则启动我的Android应用.由于用户没有提及自己想在McDonald应用程序中进行搜索,因此应用程序无法使用定义的意图过滤器来处理它,这不是一个明确的意图.我想了解应该使用哪个组件来完成此操作.
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.
还有另一个用例,用户想订购一些名称为McDonald的食品.这表明,理想情况下,我必须定义操作集(模板集),尽管该应用程序不与用户交谈,因此 DialogFlow 不可用.
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.
经过此问题,他们的回答是目前尚无法从AOG应用程序调用Android应用程序,可以使用Google Assistant实现
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
此用例还有什么选择?
我的发现
推荐答案
在Google I/O 2019上,发布了有关App Actions的一些更新.但是,当前的开发人员发布不包括隐式调用应用程序的功能.用户将需要明确调出要使用的应用程序.
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.
这篇关于如果可以,请从Google助手启动我的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!