简体   繁体   中英

Launching app from Google assistant via Dialogflow

我正在使用Dialogflow与我的用户进行交互(他们可以提出问题,要求接收报告等等)。我想在他们调用我创建的意图时启动一个Android应用程序,有没有办法实现?

Short answer: Not really.

Longer answer: While you can't have one of your Actions trigger any Android Intent directly, you do have a few options to strongly suggest to a user that they do so. For example:

  1. You can use something like Firebase Cloud Messaging (FCM) to trigger a notification/event.

  2. If you're relying on the screen of the Android device, you can send a card that includes a URL, and that URL can deep link into your application if you've configured it.

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