SlideShare a Scribd company logo
1 of 30
Thanks all for voting
#StopDengue
We all know about Cortana
She does
•Call Hubby, mobile
•Text Hubby hi sweety
•Change my 3 pm appointment to 4
•Next time I’m at the Microsoft, remind me to meet Wela
•Take note: left my car on level 4
•Wake up me in 20 minutes
•Play Hariharan
•Find cheap pizza restaurant near me
•Do I need an umbrella
“Take note: left my car
on level 4”
Where does the note go?
Boooorrrrring !!
Old
stories
ENOUGH!
OK...!
Lets
HACK
The <big>IDEA</big>
Everyone knows Only hackers know
Confusing?
EXAMPLE scenario
Me : Set colour to Red
Cortana : Setting colour to Red
[Win 8 & WP apps shows Red colour background]
Me : Set colour to Blue
Cortana : Settings colour to Blue
[Win 8 & WP apps shows Red colour background]
REAL LIFE scenario
Me : Switch on bulb 1
Cortana : Switching bulb 1 on
[One bulb in the room gets light]
Me : Switch off bulb 1
Cortana : Switching bulb 1 off
[One bulb in the room gets off from light]
Me : Switch off bulb 1
Cortana : YAKO!! Its already off
Real life IDEA
Fly balloons with CORTANA
Lets
/build//
/build//
Voice
Command
Easy
3 steps
Refer:
http://channel9.msdn.com/Events/
Build/2014/2-530
<?xml version="1.0" encoding="utf-8"?>
<VoiceCommands xmlns="http://schemas.microsoft.com/voicecommands/1.1">
<CommandSet xml:lang="en-us" Name="englishCommands">
<CommandPrefix>MSDN</CommandPrefix>
<Example>How do I add Voice Commands to my application</Example>
<Command Name="FindText">
<Example>Find Install Voice Command Sets</Example>
<ListenFor>Search</ListenFor>
<ListenFor>Search for {dictatedSearchTerms}</ListenFor>
<ListenFor>Find</ListenFor>
<ListenFor>Find {dictatedSearchTerms}</ListenFor>
<Feedback>Search on MSDN</Feedback>
<Navigate Target="MainPage.xaml" />
</Command>
<Command Name="nlpCommand">
<Example>How do I add Voice Commands to my application</Example>
<ListenFor>{dictatedVoiceCommandText}</ListenFor>
<Feedback>Starting MSDN...</Feedback>
<Navigate Target="MainPage.xaml" />
</Command>
<PhraseTopic Label="dictatedVoiceCommandText" Scenario="Dictation">
<Subject>MSDN</Subject>
</PhraseTopic>
<PhraseTopic Label="dictatedSearchTerms" Scenario="Search">
<Subject>MSDN</Subject>
</PhraseTopic>
</CommandSet>
</VoiceCommands>
private async void
// SHOULD BE PERFORMED UNDER TRY/CATCH
Uri new ms-appx:///vcd.xml UriKind.Absolute
await
// Please note that VoiceCommandService ends with WP8.1 (End of Silverlight era)
// (ie) No more .xap’s after WP8.1. Only .appx’s
Windows Phone Silverlight Apps on Windows Phone 8.1
Windows Runtime Apps on Windows Phone 8.1
private async void
// SHOULD BE PERFORMED UNDER TRY/CATCH
Uri uriVoiceCommands = new Uri("ms-appx:///vcd.xml", UriKind.Absolute);
StorageFile file = await
StorageFile.GetFileFromApplicationUriAsync(uriVoiceCommands);
await VoiceCommandManager.InstallCommandSetsFromStorageFileAsync(file);
// No need to define Capabilities in app manifest
// Windows Phone Silverlight App, in MainPage.xaml.cs
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
{
base.OnNavigatedTo(e);
if (e.NavigationMode == System.Windows.Navigation.NavigationMode.New)
{
string recoText = null; // What did the user say? e.g. MSDN, "Find Windows Phone Voice Commands"
NavigationContext.QueryString.TryGetValue("reco", out recoText);
string voiceCommandName = null; // Which command was recognized in the VCD.XML file? e.g. "FindText"
NavigationContext.QueryString.TryGetValue("voiceCommandName", out voiceCommandName);
string searchTerms = null;
// What did the user say, for named phrase topic or list "slots"? e.g. "Windows Phone Voice Commands"
NavigationContext.QueryString.TryGetValue("dictatedSearchTerms", out searchTerms);
switch (voiceCommandName) // What command launched the app?
{
case "FindText":
HandleFindText(searchTerms);
break;
case "nlpCommand":
HandleNlpCommand(recoText);
break;
}
}
}
// Windows Runtime App on Windows Phone 8.1, inside OnActivated override in App class
if (args.Kind == ActivationKind.VoiceCommand)
{
VoiceCommandActivatedEventArgs vcArgs = (VoiceCommandActivatedEventArgs)args;
string voiceCommandName = vcArgs.Result.RulePath.First();
// What command launched the app?
switch (voiceCommandName) // Navigate to right page for the voice command
{
case "FindText": // User said "find" or "search"
rootFrame.Navigate(typeof(MSDN.FindText), vcArgs.Result);
break;
case "nlpCommand": // User said something else
rootFrame.Navigate(typeof(MSDN.NlpCommand), vcArgs.Result);
break;
}
}
/build//
Bluetooth
pairing
Refer :
http://blogs.msdn.com/b/flecoqui/archive/2013/1
2/13/windows-store-and-windows-phone-app-
to-app-communication-over-bluetooth.aspx
“Cortana, recharge
mom’s mobile with 50
rupees”
Good example
Dialog eWallet
eZ charging API - Charge the cost of digital goods
eZ Cash API - transfer funds between two
eZ Cash wallets and check the
transaction history.
http://1drv.ms/RucQqc
http://1drv.ms/RucQqc

More Related Content

Viewers also liked

Step by step giude [Comic Strip]
Step by step giude [Comic Strip]Step by step giude [Comic Strip]
Step by step giude [Comic Strip]Ramolelo
 
Marketing project
Marketing projectMarketing project
Marketing projectSonu Ninan
 
Shepherd j presentation
Shepherd j presentationShepherd j presentation
Shepherd j presentationjshepherd5107
 
Aurora, location based blogging platform
Aurora, location based blogging platformAurora, location based blogging platform
Aurora, location based blogging platformIsham Mohamed Iqbal
 
Communications program 2011 jjaa [compatibility mode]
Communications program 2011 jjaa [compatibility mode]Communications program 2011 jjaa [compatibility mode]
Communications program 2011 jjaa [compatibility mode]Johannes Silaban
 
Revista Bimby Agosto 2015
Revista Bimby Agosto 2015Revista Bimby Agosto 2015
Revista Bimby Agosto 2015Vanda Maio
 
Transition management
Transition managementTransition management
Transition managementAditi Sharma
 
Copyright & Plagiarism
Copyright & PlagiarismCopyright & Plagiarism
Copyright & Plagiarismlauholland
 
Nonfiction Features Gr 4-5
Nonfiction Features Gr 4-5Nonfiction Features Gr 4-5
Nonfiction Features Gr 4-5lauholland
 
Do convento para a Bimby
Do convento para a BimbyDo convento para a Bimby
Do convento para a BimbyVanda Maio
 
Introduction to Xamarin Development
Introduction to Xamarin DevelopmentIntroduction to Xamarin Development
Introduction to Xamarin DevelopmentIsham Mohamed Iqbal
 
Nonfiction Features Gr 1-3
Nonfiction Features Gr 1-3Nonfiction Features Gr 1-3
Nonfiction Features Gr 1-3lauholland
 
Vinay sattur Job analysis
Vinay sattur   Job analysisVinay sattur   Job analysis
Vinay sattur Job analysisVinay sattur
 
Structure of-predication- Edwin Sulispriyanto
Structure of-predication- Edwin SulispriyantoStructure of-predication- Edwin Sulispriyanto
Structure of-predication- Edwin SulispriyantoEdwin Clemenz
 
Bharati College Logo Quiz Prelims
Bharati College Logo Quiz PrelimsBharati College Logo Quiz Prelims
Bharati College Logo Quiz PrelimsAbhishek Mishra
 
Revista Bimby Setembro 2015
Revista Bimby Setembro 2015Revista Bimby Setembro 2015
Revista Bimby Setembro 2015Vanda Maio
 

Viewers also liked (20)

Cartel feliz cumple
Cartel feliz cumpleCartel feliz cumple
Cartel feliz cumple
 
Step by step giude [Comic Strip]
Step by step giude [Comic Strip]Step by step giude [Comic Strip]
Step by step giude [Comic Strip]
 
Marketing project
Marketing projectMarketing project
Marketing project
 
Shepherd j presentation
Shepherd j presentationShepherd j presentation
Shepherd j presentation
 
Utpl
UtplUtpl
Utpl
 
Aurora, location based blogging platform
Aurora, location based blogging platformAurora, location based blogging platform
Aurora, location based blogging platform
 
Communications program 2011 jjaa [compatibility mode]
Communications program 2011 jjaa [compatibility mode]Communications program 2011 jjaa [compatibility mode]
Communications program 2011 jjaa [compatibility mode]
 
Revista Bimby Agosto 2015
Revista Bimby Agosto 2015Revista Bimby Agosto 2015
Revista Bimby Agosto 2015
 
Atomic physics
Atomic physicsAtomic physics
Atomic physics
 
Transition management
Transition managementTransition management
Transition management
 
Copyright & Plagiarism
Copyright & PlagiarismCopyright & Plagiarism
Copyright & Plagiarism
 
Nonfiction Features Gr 4-5
Nonfiction Features Gr 4-5Nonfiction Features Gr 4-5
Nonfiction Features Gr 4-5
 
Do convento para a Bimby
Do convento para a BimbyDo convento para a Bimby
Do convento para a Bimby
 
Introduction to Xamarin Development
Introduction to Xamarin DevelopmentIntroduction to Xamarin Development
Introduction to Xamarin Development
 
Nonfiction Features Gr 1-3
Nonfiction Features Gr 1-3Nonfiction Features Gr 1-3
Nonfiction Features Gr 1-3
 
Vinay sattur Job analysis
Vinay sattur   Job analysisVinay sattur   Job analysis
Vinay sattur Job analysis
 
Structure of-predication- Edwin Sulispriyanto
Structure of-predication- Edwin SulispriyantoStructure of-predication- Edwin Sulispriyanto
Structure of-predication- Edwin Sulispriyanto
 
Bharati College Logo Quiz Prelims
Bharati College Logo Quiz PrelimsBharati College Logo Quiz Prelims
Bharati College Logo Quiz Prelims
 
El poema
El poemaEl poema
El poema
 
Revista Bimby Setembro 2015
Revista Bimby Setembro 2015Revista Bimby Setembro 2015
Revista Bimby Setembro 2015
 

Similar to MS Champs meetup may 2014 on Cortana.

Open Web Device: The first phone running Firefox OS!
Open Web Device: The first phone running Firefox OS!Open Web Device: The first phone running Firefox OS!
Open Web Device: The first phone running Firefox OS!Francisco Jordano
 
Mastering vagrant in 1 hour
Mastering vagrant  in 1 hourMastering vagrant  in 1 hour
Mastering vagrant in 1 hourBien Hoang
 
My 10 Mobile Automation Questions
My 10 Mobile Automation QuestionsMy 10 Mobile Automation Questions
My 10 Mobile Automation QuestionsRan Byron
 
News scavenger a SharePoint and Apps Story
News scavenger  a SharePoint and Apps StoryNews scavenger  a SharePoint and Apps Story
News scavenger a SharePoint and Apps StoryInnoTech
 
Construir Aplicações Silverlight para Windows Phone 7
Construir Aplicações Silverlight para Windows Phone 7Construir Aplicações Silverlight para Windows Phone 7
Construir Aplicações Silverlight para Windows Phone 7Comunidade NetPonto
 
Building Windows 10 Universal Apps with Speech and Cortana
Building Windows 10 Universal Apps with Speech and CortanaBuilding Windows 10 Universal Apps with Speech and Cortana
Building Windows 10 Universal Apps with Speech and CortanaNick Landry
 
Charm City Linux - Jan 2014 - Web Dev Made Easy - Shell Revolution
Charm City Linux - Jan 2014 - Web Dev Made Easy - Shell RevolutionCharm City Linux - Jan 2014 - Web Dev Made Easy - Shell Revolution
Charm City Linux - Jan 2014 - Web Dev Made Easy - Shell RevolutionChris Stone
 
Develop and Deploy your Mobile API with Rails, Nginx, Unicorn and Capistrano
Develop and Deploy your Mobile API with Rails, Nginx, Unicorn and CapistranoDevelop and Deploy your Mobile API with Rails, Nginx, Unicorn and Capistrano
Develop and Deploy your Mobile API with Rails, Nginx, Unicorn and CapistranoErrazudin Ishak
 
Cross-Platform Native Apps with JavaScript
Cross-Platform Native Apps with JavaScriptCross-Platform Native Apps with JavaScript
Cross-Platform Native Apps with JavaScriptFokke Zandbergen
 
How to use OpenData, Firefox OS and a Raspberry Pi to build a better Washing ...
How to use OpenData, Firefox OS and a Raspberry Pi to build a better Washing ...How to use OpenData, Firefox OS and a Raspberry Pi to build a better Washing ...
How to use OpenData, Firefox OS and a Raspberry Pi to build a better Washing ...André Fiedler
 
DevAppLB - PhoneGap Zombie App - Dani Arnaout
DevAppLB - PhoneGap Zombie App - Dani ArnaoutDevAppLB - PhoneGap Zombie App - Dani Arnaout
DevAppLB - PhoneGap Zombie App - Dani ArnaoutDani Arnaout
 
Introduction to MonoTouch and Monodroid/Mono for Android
Introduction to MonoTouch and Monodroid/Mono for AndroidIntroduction to MonoTouch and Monodroid/Mono for Android
Introduction to MonoTouch and Monodroid/Mono for AndroidChris Hardy
 
Bengkel 4 bring your unity game to windows phone 8
Bengkel 4 bring your unity game to windows phone 8Bengkel 4 bring your unity game to windows phone 8
Bengkel 4 bring your unity game to windows phone 8gamelanYK
 
HTML5 for mobile - DiGi Challenge for Change
HTML5 for mobile - DiGi Challenge for ChangeHTML5 for mobile - DiGi Challenge for Change
HTML5 for mobile - DiGi Challenge for ChangeJan Jongboom
 
Testing Mobile JavaScript
Testing Mobile JavaScriptTesting Mobile JavaScript
Testing Mobile JavaScriptjeresig
 
Improving the Pharo VM
Improving the Pharo VMImproving the Pharo VM
Improving the Pharo VMFAST
 
Top 10 Differences between developing Windows Phone and Store apps
Top 10 Differences between developing Windows Phone and Store appsTop 10 Differences between developing Windows Phone and Store apps
Top 10 Differences between developing Windows Phone and Store appsMorten Nielsen
 

Similar to MS Champs meetup may 2014 on Cortana. (20)

Open Web Device: The first phone running Firefox OS!
Open Web Device: The first phone running Firefox OS!Open Web Device: The first phone running Firefox OS!
Open Web Device: The first phone running Firefox OS!
 
Mastering vagrant in 1 hour
Mastering vagrant  in 1 hourMastering vagrant  in 1 hour
Mastering vagrant in 1 hour
 
My 10 Mobile Automation Questions
My 10 Mobile Automation QuestionsMy 10 Mobile Automation Questions
My 10 Mobile Automation Questions
 
News scavenger a SharePoint and Apps Story
News scavenger  a SharePoint and Apps StoryNews scavenger  a SharePoint and Apps Story
News scavenger a SharePoint and Apps Story
 
Construir Aplicações Silverlight para Windows Phone 7
Construir Aplicações Silverlight para Windows Phone 7Construir Aplicações Silverlight para Windows Phone 7
Construir Aplicações Silverlight para Windows Phone 7
 
Building Windows 10 Universal Apps with Speech and Cortana
Building Windows 10 Universal Apps with Speech and CortanaBuilding Windows 10 Universal Apps with Speech and Cortana
Building Windows 10 Universal Apps with Speech and Cortana
 
Charm City Linux - Jan 2014 - Web Dev Made Easy - Shell Revolution
Charm City Linux - Jan 2014 - Web Dev Made Easy - Shell RevolutionCharm City Linux - Jan 2014 - Web Dev Made Easy - Shell Revolution
Charm City Linux - Jan 2014 - Web Dev Made Easy - Shell Revolution
 
Develop and Deploy your Mobile API with Rails, Nginx, Unicorn and Capistrano
Develop and Deploy your Mobile API with Rails, Nginx, Unicorn and CapistranoDevelop and Deploy your Mobile API with Rails, Nginx, Unicorn and Capistrano
Develop and Deploy your Mobile API with Rails, Nginx, Unicorn and Capistrano
 
Cross-Platform Native Apps with JavaScript
Cross-Platform Native Apps with JavaScriptCross-Platform Native Apps with JavaScript
Cross-Platform Native Apps with JavaScript
 
Symfony 2.0 on PHP 5.3
Symfony 2.0 on PHP 5.3Symfony 2.0 on PHP 5.3
Symfony 2.0 on PHP 5.3
 
How to use OpenData, Firefox OS and a Raspberry Pi to build a better Washing ...
How to use OpenData, Firefox OS and a Raspberry Pi to build a better Washing ...How to use OpenData, Firefox OS and a Raspberry Pi to build a better Washing ...
How to use OpenData, Firefox OS and a Raspberry Pi to build a better Washing ...
 
DevAppLB - PhoneGap Zombie App - Dani Arnaout
DevAppLB - PhoneGap Zombie App - Dani ArnaoutDevAppLB - PhoneGap Zombie App - Dani Arnaout
DevAppLB - PhoneGap Zombie App - Dani Arnaout
 
Introduction to MonoTouch and Monodroid/Mono for Android
Introduction to MonoTouch and Monodroid/Mono for AndroidIntroduction to MonoTouch and Monodroid/Mono for Android
Introduction to MonoTouch and Monodroid/Mono for Android
 
Bengkel 4 bring your unity game to windows phone 8
Bengkel 4 bring your unity game to windows phone 8Bengkel 4 bring your unity game to windows phone 8
Bengkel 4 bring your unity game to windows phone 8
 
HTML5 for mobile - DiGi Challenge for Change
HTML5 for mobile - DiGi Challenge for ChangeHTML5 for mobile - DiGi Challenge for Change
HTML5 for mobile - DiGi Challenge for Change
 
Testing Mobile JavaScript
Testing Mobile JavaScriptTesting Mobile JavaScript
Testing Mobile JavaScript
 
Academy2
Academy2Academy2
Academy2
 
Improving the Pharo VM
Improving the Pharo VMImproving the Pharo VM
Improving the Pharo VM
 
Top 10 Differences between developing Windows Phone and Store apps
Top 10 Differences between developing Windows Phone and Store appsTop 10 Differences between developing Windows Phone and Store apps
Top 10 Differences between developing Windows Phone and Store apps
 
Sf2 wtf
Sf2 wtfSf2 wtf
Sf2 wtf
 

Recently uploaded

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 

Recently uploaded (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

MS Champs meetup may 2014 on Cortana.

  • 1. Thanks all for voting #StopDengue
  • 2.
  • 3. We all know about Cortana She does •Call Hubby, mobile •Text Hubby hi sweety •Change my 3 pm appointment to 4 •Next time I’m at the Microsoft, remind me to meet Wela •Take note: left my car on level 4 •Wake up me in 20 minutes •Play Hariharan •Find cheap pizza restaurant near me •Do I need an umbrella
  • 4. “Take note: left my car on level 4” Where does the note go?
  • 9. EXAMPLE scenario Me : Set colour to Red Cortana : Setting colour to Red [Win 8 & WP apps shows Red colour background] Me : Set colour to Blue Cortana : Settings colour to Blue [Win 8 & WP apps shows Red colour background]
  • 10. REAL LIFE scenario Me : Switch on bulb 1 Cortana : Switching bulb 1 on [One bulb in the room gets light] Me : Switch off bulb 1 Cortana : Switching bulb 1 off [One bulb in the room gets off from light] Me : Switch off bulb 1 Cortana : YAKO!! Its already off
  • 12. Fly balloons with CORTANA
  • 16.
  • 18. <?xml version="1.0" encoding="utf-8"?> <VoiceCommands xmlns="http://schemas.microsoft.com/voicecommands/1.1"> <CommandSet xml:lang="en-us" Name="englishCommands"> <CommandPrefix>MSDN</CommandPrefix> <Example>How do I add Voice Commands to my application</Example> <Command Name="FindText"> <Example>Find Install Voice Command Sets</Example> <ListenFor>Search</ListenFor> <ListenFor>Search for {dictatedSearchTerms}</ListenFor> <ListenFor>Find</ListenFor> <ListenFor>Find {dictatedSearchTerms}</ListenFor> <Feedback>Search on MSDN</Feedback> <Navigate Target="MainPage.xaml" /> </Command> <Command Name="nlpCommand"> <Example>How do I add Voice Commands to my application</Example> <ListenFor>{dictatedVoiceCommandText}</ListenFor> <Feedback>Starting MSDN...</Feedback> <Navigate Target="MainPage.xaml" /> </Command> <PhraseTopic Label="dictatedVoiceCommandText" Scenario="Dictation"> <Subject>MSDN</Subject> </PhraseTopic> <PhraseTopic Label="dictatedSearchTerms" Scenario="Search"> <Subject>MSDN</Subject> </PhraseTopic> </CommandSet> </VoiceCommands>
  • 19. private async void // SHOULD BE PERFORMED UNDER TRY/CATCH Uri new ms-appx:///vcd.xml UriKind.Absolute await // Please note that VoiceCommandService ends with WP8.1 (End of Silverlight era) // (ie) No more .xap’s after WP8.1. Only .appx’s Windows Phone Silverlight Apps on Windows Phone 8.1 Windows Runtime Apps on Windows Phone 8.1 private async void // SHOULD BE PERFORMED UNDER TRY/CATCH Uri uriVoiceCommands = new Uri("ms-appx:///vcd.xml", UriKind.Absolute); StorageFile file = await StorageFile.GetFileFromApplicationUriAsync(uriVoiceCommands); await VoiceCommandManager.InstallCommandSetsFromStorageFileAsync(file); // No need to define Capabilities in app manifest
  • 20.
  • 21. // Windows Phone Silverlight App, in MainPage.xaml.cs protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) { base.OnNavigatedTo(e); if (e.NavigationMode == System.Windows.Navigation.NavigationMode.New) { string recoText = null; // What did the user say? e.g. MSDN, "Find Windows Phone Voice Commands" NavigationContext.QueryString.TryGetValue("reco", out recoText); string voiceCommandName = null; // Which command was recognized in the VCD.XML file? e.g. "FindText" NavigationContext.QueryString.TryGetValue("voiceCommandName", out voiceCommandName); string searchTerms = null; // What did the user say, for named phrase topic or list "slots"? e.g. "Windows Phone Voice Commands" NavigationContext.QueryString.TryGetValue("dictatedSearchTerms", out searchTerms); switch (voiceCommandName) // What command launched the app? { case "FindText": HandleFindText(searchTerms); break; case "nlpCommand": HandleNlpCommand(recoText); break; } } }
  • 22.
  • 23. // Windows Runtime App on Windows Phone 8.1, inside OnActivated override in App class if (args.Kind == ActivationKind.VoiceCommand) { VoiceCommandActivatedEventArgs vcArgs = (VoiceCommandActivatedEventArgs)args; string voiceCommandName = vcArgs.Result.RulePath.First(); // What command launched the app? switch (voiceCommandName) // Navigate to right page for the voice command { case "FindText": // User said "find" or "search" rootFrame.Navigate(typeof(MSDN.FindText), vcArgs.Result); break; case "nlpCommand": // User said something else rootFrame.Navigate(typeof(MSDN.NlpCommand), vcArgs.Result); break; } }
  • 28. eZ charging API - Charge the cost of digital goods eZ Cash API - transfer funds between two eZ Cash wallets and check the transaction history.