George McKinney Adventures in Software Development

April 20, 2021

Alexa Fact Skill Content

Filed under: Alexa,Amazon,AWS — georgemck @ 5:41 pm

 

const SKILL_NAME = ‘SKILL_NAME ‘;
const GET_FACT_MESSAGE = ‘Here\’s your information: ‘;
const HELP_MESSAGE = ‘You can say tell me a fact, or, tell me about something… What can I help you with?’;
const HELP_REPROMPT = ‘What can I help you with?’;
const STOP_MESSAGE = ‘Goodbye!’;

const data = [
‘Fact Number One.’,
‘Fact Number Two.’
];

const GetNewFactHandler = {
canHandle(handlerInput) {
const request = handlerInput.requestEnvelope.request;
return request.type === ‘LaunchRequest’
|| (request.type === ‘IntentRequest’
&& request.intent.name === ‘GetNewFactIntent’);
},
handle(handlerInput) {
const factArr = data;
const factIndex = Math.floor(Math.random() * factArr.length);
const randomFact = factArr[factIndex];
const speechOutput = GET_FACT_MESSAGE + randomFact;

return handlerInput.responseBuilder
.speak(speechOutput)
.withSimpleCard(SKILL_NAME, randomFact)
.getResponse();
},
};

June 28, 2020

XReality Meetup Presentation on Creating and Sharing XR Experiences

Interactive Presentation with Videos on Google Slides



https://3dvu.co/xreality

Github Repo
https://github.com/georgemck/xreality

https://www.meetup.com/XReality-AR-VR-MR-and-Beyond/events/270672383/

June 23, 2020

Amazon Alexa Gaming

Filed under: Alexa,Amazon — georgemck @ 1:47 am

https://developer.amazon.com/blogs/alexa/post/de130c67-0703-4480-a2b3-c9f2977a7dd6/how-to-build-an-alexa-game-skill-from-scratch

February 1, 2020

Alexa Demo: Color Cycler using Alexa IoT Gadget

Filed under: Alexa,AWS — Tags: , , — georgemck @ 10:37 am

Project source code on Github https://github.com/georgemck/Alexa-Gadgets-Raspberry-Pi-Samples

 

December 15, 2019

Alexa Demo: “Voice Dictionary and Printer” with Brother QL 1111NWB

Filed under: Alexa,Android — Tags: , , — georgemck @ 10:20 am

Amazon Alexa Skill with companion Android app used to print on a Brother QL 1111NWB printer

 

 

March 18, 2018

Alexa Demo: AVS Alexa Voice Service

Filed under: Alexa,Amazon — Tags: , , — georgemck @ 12:08 pm

Powered by WordPress