willblaschko / AlexaAndroid

A library and sample app to abstract access to the Amazon Alexa service for Android applications.
GNU General Public License v2.0
280 stars 133 forks source link

How to control existing radio playback controls with sample app #146

Open chowdary60 opened 6 years ago

chowdary60 commented 6 years ago

Hello @willblaschko I have installed the sample app and getting the response from alexa and I already have internet radio application working in my android device. Can i control the my internet radio playback control(play/pause/next radio station/previous radio station) from the sample app? if we can do that how can i achieve that functionality?

chowdary60 commented 6 years ago

any one have solution for this?

ihavenoface5 commented 5 years ago

It sounds like you want custom commands beyond what Alexa has integrated without the use of skills. That being said, here is how I would solve this:

  1. Build an Alexa skill that accepts your custom commands.
  2. In the skill, use Google firebase messaging to send a message to your Android app.
  3. Respond accordingly