AlexaAndroid
AlexaAndroid copied to clipboard
JSON Response
Can I have the text response (JSON response) from Amazon in this library? I would like to show in UI a text, which come from the response of alexa. Anybody has an idea?
I don't find it. Is it a class? Can you give me the path to it? or is it a function? in which class?
hello @Ehsanta83, @rohith-krish usually the AVS response will return the two directive which is Speak and RenderTemplate. RenderTemplate will have the necessary meta data to display in the cards. check this link https://developer.amazon.com/docs/alexa-voice-service/display-cards-overview.html#enable-display-cards. when I check the response, we are getting only "Speak " directive only, you can check the "hanelrespone(AvsResponse avsResponse) method in BaseActivity class.".
@rohith-krish where can we find the AvsSetRenderTemplateItem class.?
Thanks
I have the same problem. I'd like to display cards as well.
Has anyone found a workaround for this?