https://github.com/trstringer/cortana-barebones
:mega: Barebones application for interacting with Cortana through voice commands
https://github.com/trstringer/cortana-barebones
Last synced: 10 months ago
JSON representation
:mega: Barebones application for interacting with Cortana through voice commands
- Host: GitHub
- URL: https://github.com/trstringer/cortana-barebones
- Owner: trstringer
- Created: 2016-02-19T17:26:46.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-19T17:32:09.000Z (almost 10 years ago)
- Last Synced: 2024-10-11T15:11:15.890Z (over 1 year ago)
- Language: C#
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Cortana Barebones Sample
There are a few great examples out there on how to robustly implement Cortana development in a UWP application (namely the [Cortana Voice Command Sample in the Windows-universal-samples repository](https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/CortanaVoiceCommand)), but if you're looking for the bare necessities on how to have a background service that can be implemented and invoked through Voice (Cortana) then take a look at this solution.
For all intents and purposes, this is the bare minimum code in a blank UWP app that is needed to be invoked via Cortana voice commands.
## Contents
- **RandomThought** - this is the project that includes the UWP application
- **VoiceCommandService** - this is the project that includes the runtime component for the background service
## Build/Run
1. Clone the repository to your local system
2. Open up the solution in Visual Studio 2015
3. Build and run the solution
## Usage
Once you have run the application for the first time, you simply need to speak the following into Cortana:
*"Random Thought, tell me something interesting"*
Cortana should come back with a comment that she doesn't have anything interesting to say because it is whatever day of the week it is.
> :bulb: This is the only command that this service will recognize in the true essence of "least possible code"
## Next Steps...
This can provide a good **base** sample for learning purposes. Add onto this with more powerful and complex aspects of voice integration with Cortana, and I urge you to use the [Cortana Voice Command Sample](https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/CortanaVoiceCommand) as a reference for those tasks.