Ray Huang
Ray Huang
You must check your alexa products first, when you create a new product. there have a section "capability" need select "Display Cards With Media" then you will get "RenderTemplate" data....
@Ehsanta83 you can copy link and paste on browser, it's a pic about alexa product setting page BTW, this sample has no AvsRenderTemplate class, need create by your own
@Ehsanta83 here is code below, you can change parameters by your own public class AvsRenderTemplateItem extends AvsItem { private String mHeaderName; private Payload mPayload; public AvsRenderTemplateItem(String token, String headerName, Payload...
add this class in "interfaces" folder such as link below: https://github.com/willblaschko/AlexaAndroid/tree/master/libs/AlexaAndroid/src/main/java/com/willblaschko/android/alexa/interfaces you can use in BaseActivity->checkQueue()-> else if (current instanceof AvsRenderTemplateItem ){ ... } https://github.com/willblaschko/AlexaAndroid/blob/master/app/src/main/java/com/willblaschko/android/alexavoicelibrary/BaseActivity.java