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

add AVS into Android mobile phone? #125

Open wantitmore opened 6 years ago

wantitmore commented 6 years ago

Is your project an application? I want to know how to add AVS into my android devices rather than build an application in my phone. do you know how to work it? thx!

syedtalha commented 6 years ago

Yes, there is an app already available here

wantitmore commented 6 years ago

@syedtalha something wrong go with me. Is your project similar with the link you offer? Now I want to build an application which be integrated with AVS? Does your project can meet my requirment? thx

syedtalha commented 6 years ago

I'm not sure I'm following what you're trying to say. Basically this library can be integrated into any project, including yours. So if your requirement is to have Alexa inside your app, then yes, this library meets your requirements

wantitmore commented 6 years ago

@syedtalha I have downloaded your sample app in google play. My question is: can I use your sample app or library to control other smart devices(such as light,switch) just like amazon echo do. In other words, I don't have echo dot, what I have is an android phone and your project,can I control smart devices? thx

syedtalha commented 6 years ago

@wantitmore Yes definitely. You can use it just like an echo device, except the calling feature.

And BTW, I do not have any part in developing that app. I am just a user.

wantitmore commented 6 years ago

thanks for your apply.do u know how to connect the devices(such a light to be controlled turn on/off)?or is it possible to do it?

syedtalha commented 6 years ago

You can hook up your light to this alexa compatible socket. https://m.lightinthebox.com/smart-remote-control-wifi-plug-socket-support-alexa-voice-control-for-home-appliances_p6118171.html

wantitmore commented 6 years ago

the link you offer should have an echo dot. I don't know how to connect the socket to my android project rather than any other alexa-able hardware devices. thx~

willblaschko commented 6 years ago

@wantitmore this library doesn't do direct connection to devices, it leverages Alexa's AVS library, so all commands need to be through the Alexa cloud. This library/app essentially functions like an Echo device on your phone (with some strong limitations).

If you want to control individual devices, not through an existing framework, at a high level, you should research network discovery and communication protocols.

wantitmore commented 6 years ago

@willblaschko so,do you think it is possible to control other devices?

wantitmore commented 6 years ago

and your sample app didn't use avs-device-sdk , so what 's the role of avs-device-sdk?thx