Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/228.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android应用程序作为亚马逊Echo的新设备_Android_Alexa_Alexa Voice Service_Amazon Echo - Fatal编程技术网

Android应用程序作为亚马逊Echo的新设备

Android应用程序作为亚马逊Echo的新设备,android,alexa,alexa-voice-service,amazon-echo,Android,Alexa,Alexa Voice Service,Amazon Echo,我花了至少两天的时间去寻找一些东西,但是没有结果,也许你可以帮助我 我正在使用Amazon Echo Dot,我想构建一些可以由Alexa控制的android应用程序。所以我需要知道是否有可能实现接下来的事情: 1)通过Alexa将我的应用程序识别为新的智能设备 2)例如,当我说“Alexa.在我的应用程序中切换某个东西时,按下某个按钮我就是我的应用程序” 如果可能的话,有人能提供一些文档链接吗 如果我理解正确,当Alexa在我的WiFi网络中搜索新的智能设备时,她会向网络中的每个设备发送JSO

我花了至少两天的时间去寻找一些东西,但是没有结果,也许你可以帮助我

我正在使用Amazon Echo Dot,我想构建一些可以由Alexa控制的android应用程序。所以我需要知道是否有可能实现接下来的事情:

1)通过
Alexa将我的应用程序识别为新的智能设备

2)例如,当我说“
Alexa.在我的应用程序中切换某个东西时,按下某个按钮我就是我的应用程序

如果可能的话,有人能提供一些文档链接吗

如果我理解正确,当Alexa在我的WiFi网络中搜索新的智能设备时,她会向网络中的每个设备发送JSON格式的请求,并等待JSON应答。这是正确的事情吗

我正在使用Amazon Echo Dot,我想构建一些android应用程序 可以由Alexa控制

目前无法通过Alexa直接控制应用程序

如果您真的只想使用“打开xy开关”、“关闭xy开关”,那么您可以创建一个智能家居技能。Alexa也要求这项技能来发现这些设备。因此,它可以用来找到你的手机与特殊的应用程序

更多详情:

但是,如果你想变得更灵活,那么你必须创建一个Alexa技能,为你的应用程序实现支持的语音命令。如果用户在完成语音识别后调用了该技能中的一个意图,或alexa后端系统在完成语音识别后调用了最终意图,则您可以执行例如对应用程序后端服务或Android通知系统的rest调用,以通知您的应用程序该调用/用户愿望

流程应如下所示:

"Alexa start MyFancyApp"
"Alexa press the green Button"
   --> AWS Lambda "MyFancyApp.PressGreenButton" function is called
   --> MyFancyApp - Backend Service:/User01/GreenButton/press is called
   --> App on you Android Phone is informed and switch the State
   --> AWS Lambda "MyFancyApp.PressGreenButton" receives the status code from app backend and informs the user via the Echo Device: Voice out "green button is pressed".
如何:


注意:您必须使用Amazon Alexa上的帐户链接来识别用户。

您好,自2017年以来您找到解决方案了吗?对不起,没有:)