AlexaAndroid
AlexaAndroid copied to clipboard
How to Listen for playback events(play/pause/next/previous) and route to Local app to play media
Hello @wblaschkovf ,@willblaschko, @wantitmore, @rohith-krish
I have developed Internet radio which is working in my android local system. I have the AlexaAndroid sample app installed in my system. How can i listen for playback events(play/pause/next/previous) when i speak to Alexa and how can I route to the listened events to my local app?
Any one has any idea how to implement them.
you write the correct the Context,and u will receive the response
You will get AudioPlayer directives when you say pause/play/next/previous. See https://developer.amazon.com/docs/alexa-voice-service/audioplayer-overview.html
From here I would fire off an intent to your local app with the command that was received.