alexa / avs-device-sdk

An SDK for commercial device makers to integrate Alexa directly into connected products.
https://developer.amazon.com/alexa/alexa-voice-service
Apache License 2.0
1.26k stars 603 forks source link

How to enable AVS SDK on Android #485

Closed willnien10005914 closed 6 years ago

willnien10005914 commented 6 years ago

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.

Briefly summarize your issue:

We are designing a speaker running Android system, is there any porting guide for AVS SDK since Android using TinyAlsa instead of Alsa.

Besides, we would like to support Alexa calling with or without video on this product, where we can get that supported AVS SDK?

Thanks.

What is the expected behavior?

What behavior are you observing?

Provide the steps to reproduce the issue, if applicable:

Tell us about your environment:

What version of the AVS Device SDK are you using?

  <1.4.0>

Tell us what hardware you're using:

Tell us about your OS (Type & version):

frozenberg commented 6 years ago

Hi @willnien10005914,

One of our product managers will be in touch with you with regards to android support.

Fede

anu-mathur commented 6 years ago

Hi @willnien10005914

Can we please talk more about your use case with the AVS Device SDK? Please fill out this Contact Form and I will get in touch with you!

Thanks

mradulan commented 6 years ago

closing as it will be solved offline

anoop4real commented 6 years ago

I am also interested to know....is this a confidential topic...how are apps like reverb working?

anu-mathur commented 6 years ago

@anoop4real

Can we please talk more about your use case with the AVS Device SDK? Please fill out this Contact Form and I will get in touch with you!

This is not a confidential topic, but we are not yet ready for a public release, and thus releasing the Android guide in private.

Thanks

anoop4real commented 6 years ago

@anu-mathur I have filled up the contact form, please get back to me at the earliest. I was investigation on this and was planning to write my own code with recorder and sending data to AVS API etc....but before I jump into that hard stuff, I wanted to know if something is already there which I can leverage, so that I dont end up in doing something which is available out of the box by the SDK.

anoop4real commented 6 years ago

@anu-mathur I am waiting for your input

anoop4real commented 6 years ago

@mmabluesky Dont expect anything from them.... Nobody contacted me. They have enabled Mobile App support in AVS and all, but no guide on how to properly integrate a client

anoop4real commented 6 years ago

@mmabluesky I havent achieved everything but atleast speech/ listening back open custom skills etc works. I havent implemented the downchannel and data sync, I wasnt sure how. My starting point was https://github.com/willblaschko/AlexaAndroid , I went through the code and built a new project with some condensed logic, I am using Kotlin and its a shame that these guys are not responding to queries.... I cant share any code yet

anoop4real commented 6 years ago

@mmabluesky I actually didn't even try to combine with NDK, I am not that good with NDK, so I went exploring multiple samples and reached this state, I still need to handle many directives and true without official guidance its challenging (may be we need to show some money :) ). Did you try asking the question in the forum? If you are ok to share the code, I can try debugging I am planning to do a cross compile for iOS with AVS SDK and see if it works.

WksKing commented 6 years ago

Hi @anu-mathur ,

I have also filled up the contact form last week, but nobody contact me. would you please send some information about the AVS Device SDK for Android platform? My e-mail address is king_d_liu@wistron.com

Appreciate it.

anoop4real commented 6 years ago

@mmabluesky Can you check this thread? Might be helpful https://github.com/alexa/avs-device-sdk/issues/305

anu-mathur commented 6 years ago

I re-shared the Android guide with all on this thread a couple of days back, and got confirmations! Please let us know if you face any access issues.

anoop4real commented 6 years ago

@mmabluesky I was able to build the sdk with the instruction provided by Amazon guys, I now have the JNI libs and created a new project and added the libs there as sourceSets....now I dont know the next steps he he....can you help me out?

JLu76 commented 6 years ago

Hello @mmabluesky , do you think you could help me too? I can make a WeChat account.

pkalebu commented 6 years ago

@anu-mathur Could you share the guide with me as well, please. I filled out the form but haven't heard back.

pkalebu commented 6 years ago

@anoop4real could you please sent me your guide? I haven't heard back from Amazon yet.

anoop4real commented 6 years ago

@mmabluesky let me know your email or WeChat Id (I have WeChat now)

avp24 commented 6 years ago

@anoop4real Hi. Can you please share me the Android guide?

pkalebu commented 6 years ago

Reference Guide to build Device SDK on Android.pdf

rjajra commented 6 years ago

@pkalebu Is SampleApp running after following reference guide?

pkalebu commented 6 years ago

Try this if it's not working

rjajra commented 6 years ago

@pkalebu Thanks I'll try this.