Questions tagged [alexa-presentation-language]

With Alexa Presentation Language (APL), you can create Alexa skills with full-featured, responsive, and interactive screen displays, in a manner similar to how you can create Web pages with HTML, CSS, and JavaScript.

With Alexa Presentation Language (APL), you can build Alexa skills with voice and visual experiences that apply conditional layouts and data binding. If you have developed skills for Alexa-enabled devices with a screen, then you are familiar with display templates. You can use APL to create the equivalent of display templates. However, with APL, you have the power and flexibility to build multimodal skills with many visual elements (including graphics, images, and slide shows) and to customize the output for different devices.

29 questions
2
votes
1 answer

Disabling touch wrapper in Alexa Presentation Language

I am having a problem with using the touch wrapper in APL, at the moment when the user touches the screen - it will completely pause the skill. I am using this reference: apl touch wrapper doc I have tried the following syntax in my json file with…
James
  • 659
  • 1
  • 5
  • 25
1
vote
1 answer

Does the APL's OpenURL command support bookmarklets?

I'm want to make an Alexa skill that simplifies the process of using spacedesk's HTML5 viewer with Silk to turn an Echo Show into a second monitor for Windows PCs. Using the MyPage skill presents two main problems: Screen timeout The hamburger…
1
vote
1 answer

How apply gradient to AlexaHeadline template

I'm trying to apply a simple radial gradient to the AlexaHeadline template. If you set the boolean param backgroundOverlayGradient to true, a linear gradient appears. Official document says: When true, apply a gradient to the background. ...but I…
1
vote
2 answers

AutoPage Alexa skill APL

I'm trying to create a slide show (2-3 images) using the Alexa authoring tool.I have managed to do this using the APL Pager which displays a series of components one at a time. The thing is that in order to switch from image A to image B..C I have…
1
vote
1 answer

Visualizing a List in APL using HTTP-Endpoint for Alexa

I am currently building an Alexa Skill using my own .NET-Backend, which should return an AlexaTextList with dynamic contents from my service. The request by Alexa looks the following: { "version": "1.0", "session": { "new": false, …
Kitzng
  • 105
  • 1
  • 9
1
vote
1 answer

How to get token of currently rendered document in screen?

My pause handler handles pause action from multiple cards. Here is my PauseHandler looks like, @Override public Optional handle(HandlerInput input) { List commands = new LinkedList(); …
1
vote
0 answers

Alexa APL input using built-in keyboard

I have an Echo Spot and I'm using Alexa Presentation Language (APL) to implement the user interface. I want to have user input by using the built-in keyboard. Is it possible to invoke the built-in keyboard in Node.js SDK?
Veck Hsiao
  • 591
  • 2
  • 8
  • 20
1
vote
2 answers

Alexa Skill: how to detect display in Python?

I've added APL support to my skill but now I can't understand how to check if the device has a display and therefore supports APL. Seems pretty easy in Node.js but Python (3.7) has been driving me crazy. I have tried the approach mentioned here, but…
user12201659
1
vote
0 answers

Alexa APL Pager OnPageChanged Event only triggers by touching

I have created a small example project to test the AutoPage command in combination with the OnPageChanged Event. However the event only seems to be triggered if I touch the screen myself and change a page. The event is not triggered by the automatic…
1
vote
1 answer

Alexa Presentation Language Document rendering while speaking

I am trying to render an Alexa Presentation Language document while Alexa is speaking her speech. I tried with a pager with several pages and the AutoPager command. The problem I am trying to solve is that the document is rendered when Alexa starts…
1
vote
1 answer

How to show a chart or visualization on Alexa Echo Show?

There are several Alexa skills that include charts - CNBC's Alexa skill is even highlighting the fact that their integration with the Alexa Presentation Language (APL) allows users to view charts: Now with APL integration, the CNBC skill can do…
Curley
  • 1,621
  • 15
  • 13
1
vote
1 answer

Dynamic use of Alexa Presentation Language

I'm trying to use Alexa Presentation Language. I want to know how to incorporate dynamic strings (like Output Speech and Title) in node.js (Binding to be specific). If I use some static strings for outputSpeech and put it in…
Nikhil Wagh
  • 1,376
  • 1
  • 24
  • 44
0
votes
1 answer

Developing for Alexa, how do I display an mp4 video from a private S3 bucket ? (I can do it with mp3 audio using /Utils, but not with the video.)

When developing on the Alexa, using: var audioUrl = Util.getS3PreSignedUrl("Media/001.mp3").replace(/&/g,'&');` I can play an mp3 audio clip using an SSML tag and yet keep the mp3 private, by storing it in an Alexa-hosted S3 bucket (and locking…
Jonty
  • 11
  • 3
0
votes
0 answers

What is the correct way to integrate audio & visual response using Alexa APL?

I have an Alexa audio and visual response that is returned on the first launch of an Alexa App. I use a transformer to embed the APLA document. Up until recently this was working. This is the APL document: { "type": "APL", "version":…
pwzero
  • 63
  • 6
0
votes
1 answer

In Alexa Presentation Language, how do I use speakList in an AlexaTextList

I'm trying to use the speakList command for an AlexaTextList. From the developer documentation it would appear that I need a combination of these controls in the APL document: listId Also set this parameter to an ID if you need to target the list…
pwzero
  • 63
  • 6
1
2