From 72d27a7ee129c4aea2d0d0a1039af73f9017db35 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Thu, 16 Jan 2020 15:56:45 -0500 Subject: Initial check-in A simple application that pops up to display the guimetadata responses from the voice capabilities API. It is currently considered to be Alexa specific, as it relies on the response templates provided by the Alexa voiceagent via the capabilities API, and there are no other voiceagents available to vet whether those template contents will be treated as a fixed part of the capabilities API. At the moment, only the two types of body template (BodyTemplate1 and 2) and the WeatherTemplate are handled, and rendering of the latter is only of the current day's weather. The application uses the onscreen role so that it can pop up above running applications. To drive the pop up behavior, a simple client is used to handle the guimetadata events from vshl-capabilities and show the window with the homescreen API. Filling in the template is handled with separate support from libqtappfw to provide the template data to Qt. Additionally, note that there currently is a hook for the navigation capability in the simple afb client to enable raising the navigation application when the setDestination capability is triggered. Once a better place to handle this is architected, it should be moved out of this application. Bug-AGL: SPEC-3110 Signed-off-by: Scott Murray Change-Id: Ifce9554b93d1e781283fd68f8e911a7010dd8cf0 --- app/alexa-viewer.qrc | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 app/alexa-viewer.qrc (limited to 'app/alexa-viewer.qrc') diff --git a/app/alexa-viewer.qrc b/app/alexa-viewer.qrc new file mode 100644 index 0000000..e039215 --- /dev/null +++ b/app/alexa-viewer.qrc @@ -0,0 +1,7 @@ + + + Main.qml + BodyTemplateDialog.qml + WeatherTemplateDialog.qml + + -- cgit 1.2.3-korg