This is a tutorial that demonstrates how to implement an interactive APL (Alexa Presentation Language) button.
- Amazon Developer Account
- Amazon Web Services Account
- ASK CLI
- The sample code on GitHub.
This folder contains the (1) interaction model, (2) APL document and (3) skill code. It is structured to make it easy to deploy if you have the ASK CLI already setup.
If you would like to use the Developer Portal, you can
- follow the steps outlined in the Hello World example
- substituting the Model
- create an
./lambda/custom/apl
folder - add button.json to the
apl
folder - add skill code to
./lambda/custom/
.
To start the demo say "alexa, open button demo".
Alexa Presentation Language (APL) is currently in public beta so there are some known bugs. In this demo there are the following issues:
Physical Device
Styles do not render properly so the button will appear to have no padding.
Simulator
The SendEvent request to the Lambda will be missing source
information which is present when using a physical device