Reputation: 4926
Is it possible with Google home device listen our command -> which trigger action in our android app -> app fetch the rest api data according to command -> app parse the data and send response to google home device -> google home device tells/speaks the result.
Upvotes: 3
Views: 700
Reputation: 50701
The Google Home cannot communicate directly with your Android device. All of its communication is done directly with a server. This server can communicate with an Internet-based webapp that you control using the Actions on Google API.
That said, there are various ways that you can make a server that communicates with your Android app to collect the information, or just have the webapp make the REST API call itself.
Upvotes: 1