How can I make a call from my action on google?

此生再无相见时 提交于 2019-12-11 09:56:32

问题


I'm building an action for Google Assistant using DialogFlow.

And for this action, I want an intent say "Call X" with which the user can call "X".

Here "X" is not a contact in the user's device but a contact defined within my intent's response.

Is there any option with which I can achieve any of the following for my action?

  • Make a Call to X, or atleast
  • Open up the dialer with the defined number from my action

Please guide me on this.


回答1:


What you can do is Use a Helper Intent Through which you will get the permission from the Phone to make calls and then perform the Action using fullfillment logic.



来源:https://stackoverflow.com/questions/51428551/how-can-i-make-a-call-from-my-action-on-google

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!