summaryrefslogtreecommitdiffstats
path: root/app/alexa-viewer.qrc
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-01-16 15:56:45 -0500
committerScott Murray <scott.murray@konsulko.com>2020-01-17 10:46:32 -0500
commit72d27a7ee129c4aea2d0d0a1039af73f9017db35 (patch)
tree46ca9b4e4045d89bc21c97f42479a34f8593275f /app/alexa-viewer.qrc
parentd37d1b09b688312f0119dac93221c633a8b8458c (diff)
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 <scott.murray@konsulko.com> Change-Id: Ifce9554b93d1e781283fd68f8e911a7010dd8cf0
Diffstat (limited to 'app/alexa-viewer.qrc')
-rw-r--r--app/alexa-viewer.qrc7
1 files changed, 7 insertions, 0 deletions
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 @@
+<RCC>
+ <qresource prefix="/">
+ <file>Main.qml</file>
+ <file>BodyTemplateDialog.qml</file>
+ <file>WeatherTemplateDialog.qml</file>
+ </qresource>
+</RCC>