SlideShare a Scribd company logo
1 of 27
Using Windows 10
Integration Features
GETTING TO KNOW LIVE TILES, ACTION CENTER AND CORTANA
LEV GINSBURG – GARMIN INTERNATIONAL
Agenda
Who am I?
Live Tiles
Notifications & Action Center
Cortana
References and Q&A
Who am I?
Lev Ginsburg
◦ Graduated University of Nebraska-Lincoln in 2010
◦ Software Engineer at Garmin
◦ Going into 6th year
◦ Primarily Windows Development
◦ WPF desktop apps
◦ Garmin Connect Mobile for Windows 10
Agenda
Who am I?
Live Tiles
Notifications & Action Center
Cortana
References and Q&A
Live Tiles (from Start)
User Interaction Modes
◦ Glance
◦ Quickly check on new information from an app before launching
◦ Go
◦ Start is where user tasks begin, the doorway into the app
Live Tile Layouts
Custom layout Grid
◦ The smallest tile has a 4 pixel gutter around each
edge
◦ Each larger tile is the sum of the smaller units, plus
the gutters between them
Small (1x1 effective)
Medium (2x2)
Wide (4x2)
Large (4x4)
(desktop only)
4 px gutter
Live Tile Layout (sample)
<tile>
<visual>
<binding template="TileMedium" branding="logo">
<group>
<subgroup>
<text hint-style="caption">Kelsey</text>
<text hint-style="captionsubtle">Photos from our trip</text>
<text hint-style="captionsubtle">Check out these awesome photos I took while in New Zealand!</text>
</subgroup>
</group>
<group>
<subgroup>
<text hint-style="caption">Amy W</text>
<text hint-style="captionsubtle">KCDC 2015 Dinner</text>
<text hint-style="captionsubtle">Want to go out for dinner after KCDC tonight?</text>
</subgroup>
</group>
</binding>
<binding template="TileLarge" branding="nameAndLogo">
<!-- same content the TileMedium template -->
</binding>
</visual>
</tile>
Live Tile States
Basic State
Default, simple state
Highlights app branding
Semi-Live State
Shows badge notification
Live State
Allows timely, relevant content
Users can make informed decision about launching the app
Live Tile Customization
Possibilities for Live Tiles are almost endless!
◦ Display Text, Images, or both
Assets will scale, leave text out of images
Inline Image and Text Groups
Background Image
Inline Image and Text
Columns
Text Text Columns
Agenda
Who am I?
Live Tiles
Notifications & Action Center
Cortana
References and Q&A
Notifications & Action Center
User Interaction Modes
◦ Glance
◦ See new information from your app
◦ Action
◦ The toast is a doorway into the app (by clicking)
◦ Custom actions allow simple tasks to be performed without leaving current app
Action Center in Windows 10
Toasts go into the Action Center
Toasts can be expanded
Individual notifications can be clicked
Remove
◦ Individual notification
◦ All from app group
◦ All
Alarms/Reminders now in Action Center
Adaptive Toast Template
Very similar to Live Tiles
Useful for notifications from app, reminders, alarms
<toast>
<visual>
<binding template="ToastGeneric">
<text>Hello World</text>
<text>This is a simple toast message</text>
</binding>
</visual>
</toast>
Sample XML
Adaptive Notification States
Collapsed vs Expanded
◦ Show brief summary view and allow user to see deeper context
Notification Actions
Users can interact with notifications
◦ Accept/decline invitations
◦ Respond to text messages/emails
◦ Snooze/Dismiss alerts
◦ Select response item from drop down
<toast launch="action=viewFriendRequest&amp;userId=<id>">
<visual>
<binding template="ToastGeneric">
<text>Matt sent you a friend request</text>
<text>Matt S. Would like to be friends. Would you like to connect
with him?</text>
</binding>
</visual>
<actions>
<action content="Accept" activationType="background"
arguments="action=acceptFriendRequest&amp;userId=<id>"/>
<action content="Decline" activationType="background"
arguments="action=declineFriendRequest&amp;userId=<id>"/>
</actions>
</toast>
Sample XML
Notification Responses
Can respond either in foreground or background task
◦ Should dismiss notification as action is performed
◦ Foreground
◦ Launch to specific section of app related to notification
◦ Background
◦ Perform user-specified task without changing user context
Notifications
Demo Time
Agenda
Who am I?
Live Tiles
Notifications & Action Center
Cortana
References and Q&A
Cortana
“World’s most personal digital assistant” – Microsoft
Available across PC’s, tablets, and phones
Available for use by developers
Voice Commands with Cortana
Apps can register to handle Cortana voice commands
Cortana will automatically recognize the spoken context for your app
Voice Command Definition
<?xml version="1.0" encoding="utf-8"?>
<VoiceCommands xmlns="http://schemas.microsoft.com/voicecommands/1.2">
<CommandSet xml:lang="en-us" Name=“en-us-MyCommandSet">
<AppName>Sample</AppName>
<Example>Give me a random number.</Example>
<Command Name="randomNumber">
<Example>Give me a random number.</Example>
<ListenFor>Give [me] a random number.</ListenFor>
<Feedback>Generating a random number...</Feedback>
<Navigate />
</Command>
</CommandSet>
</VoiceCommands>
[me] – optional word
{var} – variable placeholder
Register the VCD file with VoiceCommands.VoiceCommandDefinitionManager
Voice Command Definition
Make sure your VCD installed correctly
◦ Check your VCD commands in Cortana help
◦ Full VCD example list available by clicking into your app
Respond using Cortana
Add extension to Package.appxmanifest
Add new Command
<Command Name="randomNumber">
<Example>Give me a random number.</Example>
<ListenFor>Give [me] a random number.</ListenFor>
<Feedback>Generating a random number...</Feedback>
<VoiceCommandService Target=“SampleVCS" />
</Command>
<Extensions>
<uap:Extension Category="windows.appService"
EntryPoint="Sample.VoiceCommands.SampleVoiceCommandService">
<uap:AppService Name=" SampleVCS"/>
</uap:Extension>
<uap:Extension Category="windows.personalAssistantLaunch"/>
</Extensions>
Respond using Cortana
Implement SampleVoiceCommandService as IBackgroundTask
namespace Sample.VoiceCommands {
public sealed class SampleVoiceCommandService : IBackgroundTask {
public async void Run(IBackgroundTaskInstance taskInstance) {
...
}
}
}
Cortana
Demo Time
Agenda
Who am I?
Live Tiles
Notifications & Action Center
Cortana
References and Q&A
References
Tiles, Notifications and Action Center – Build 2015
◦ https://channel9.msdn.com/Events/Build/2015/2-762
Cortana Extensibility – Build 2015
◦ https://channel9.msdn.com/Events/Build/2015/2-691
Tiles and Toasts – MSDN Blogs
◦ http://blogs.msdn.com/b/tiles_and_toasts/archive/2015/07/02/adaptive-and-interactive-toast-
notifications-for-windows-10.aspx
◦ http://blogs.msdn.com/b/tiles_and_toasts/archive/2015/07/08/quickstart-sending-a-local-toast-
notification-and-handling-activations-from-it-windows-10.aspx
Questions?

More Related Content

Viewers also liked

Panorama réseaux-sociaux
Panorama réseaux-sociauxPanorama réseaux-sociaux
Panorama réseaux-sociauxAlexia Labuzan
 
Advertising Management (Ayokunle)
Advertising Management (Ayokunle)Advertising Management (Ayokunle)
Advertising Management (Ayokunle)Ayokunle Bajulaiye
 
Little book of programming challenges
Little book of programming challengesLittle book of programming challenges
Little book of programming challengesysolanki78
 
Marketing Strategies and Operations (Ayokunle)
Marketing Strategies and Operations (Ayokunle)Marketing Strategies and Operations (Ayokunle)
Marketing Strategies and Operations (Ayokunle)Ayokunle Bajulaiye
 
Physician Expectations and Primary Care Shortages: Evidence from the Affordab...
Physician Expectations and Primary Care Shortages: Evidence from the Affordab...Physician Expectations and Primary Care Shortages: Evidence from the Affordab...
Physician Expectations and Primary Care Shortages: Evidence from the Affordab...Gerrit Lensink
 
25 bức ảnh khiến bạn muốn có con ngay lập tức
25 bức ảnh khiến bạn muốn có con ngay lập tức25 bức ảnh khiến bạn muốn có con ngay lập tức
25 bức ảnh khiến bạn muốn có con ngay lập tứccuongdienbaby02
 

Viewers also liked (8)

Panorama réseaux-sociaux
Panorama réseaux-sociauxPanorama réseaux-sociaux
Panorama réseaux-sociaux
 
Advertising Management (Ayokunle)
Advertising Management (Ayokunle)Advertising Management (Ayokunle)
Advertising Management (Ayokunle)
 
Little book of programming challenges
Little book of programming challengesLittle book of programming challenges
Little book of programming challenges
 
Marketing Strategies and Operations (Ayokunle)
Marketing Strategies and Operations (Ayokunle)Marketing Strategies and Operations (Ayokunle)
Marketing Strategies and Operations (Ayokunle)
 
Physician Expectations and Primary Care Shortages: Evidence from the Affordab...
Physician Expectations and Primary Care Shortages: Evidence from the Affordab...Physician Expectations and Primary Care Shortages: Evidence from the Affordab...
Physician Expectations and Primary Care Shortages: Evidence from the Affordab...
 
Twitter
TwitterTwitter
Twitter
 
Executive Summary
Executive SummaryExecutive Summary
Executive Summary
 
25 bức ảnh khiến bạn muốn có con ngay lập tức
25 bức ảnh khiến bạn muốn có con ngay lập tức25 bức ảnh khiến bạn muốn có con ngay lập tức
25 bức ảnh khiến bạn muốn có con ngay lập tức
 

Similar to Lev's KC-DC Presentation

Code Camp - Presentation - Windows 10 - (Cortana)
Code Camp - Presentation - Windows 10 - (Cortana)Code Camp - Presentation - Windows 10 - (Cortana)
Code Camp - Presentation - Windows 10 - (Cortana)Edward Moemeka
 
How Windows 10 will change the way we use devices
How Windows 10 will change the way we use devicesHow Windows 10 will change the way we use devices
How Windows 10 will change the way we use devicesCommelius Solutions
 
Guidelines for Android application design.pptx
Guidelines for Android application design.pptxGuidelines for Android application design.pptx
Guidelines for Android application design.pptxdebasish duarah
 
Review about earlier Windows O/S and new Windows 8
Review about earlier Windows O/S and new Windows 8Review about earlier Windows O/S and new Windows 8
Review about earlier Windows O/S and new Windows 8Danish Mehraj
 
ITT 2014 - Matt Brenner- Localization 2.0
ITT 2014 - Matt Brenner- Localization 2.0ITT 2014 - Matt Brenner- Localization 2.0
ITT 2014 - Matt Brenner- Localization 2.0Istanbul Tech Talks
 
Microinteractions
MicrointeractionsMicrointeractions
MicrointeractionsDan Saffer
 
Windows 10 New Features...
Windows 10 New Features...Windows 10 New Features...
Windows 10 New Features...Durgacharan Ojha
 
The Laws of User Experience: Making it or breaking it with the UX Factor
The Laws of User Experience: Making it or breaking it with the UX FactorThe Laws of User Experience: Making it or breaking it with the UX Factor
The Laws of User Experience: Making it or breaking it with the UX FactorEffectiveUI
 
The Laws of User Experience: Making it or Breaking It with the UX Factor
The Laws of User Experience: Making it or Breaking It with the UX FactorThe Laws of User Experience: Making it or Breaking It with the UX Factor
The Laws of User Experience: Making it or Breaking It with the UX FactorEffective
 
Working Remotely with Microsoft Technologies
Working Remotely with Microsoft TechnologiesWorking Remotely with Microsoft Technologies
Working Remotely with Microsoft TechnologiesEmpired
 
Working Remotely with Microsoft Technologies
Working Remotely with Microsoft TechnologiesWorking Remotely with Microsoft Technologies
Working Remotely with Microsoft TechnologiesIntergen
 
PLATEAU 2011 - Capturing and Analyzing Low-Level Events from the Code Editor
PLATEAU 2011 - Capturing and Analyzing Low-Level Events from the Code EditorPLATEAU 2011 - Capturing and Analyzing Low-Level Events from the Code Editor
PLATEAU 2011 - Capturing and Analyzing Low-Level Events from the Code EditorYoungSeok Yoon
 
Ms @ evry rs june 2015 slidehide
Ms @ evry rs june 2015 slidehideMs @ evry rs june 2015 slidehide
Ms @ evry rs june 2015 slidehideOlav Tvedt
 
Networking and Computer Troubleshooting
Networking and Computer TroubleshootingNetworking and Computer Troubleshooting
Networking and Computer TroubleshootingRence Montanes
 

Similar to Lev's KC-DC Presentation (20)

Code Camp - Presentation - Windows 10 - (Cortana)
Code Camp - Presentation - Windows 10 - (Cortana)Code Camp - Presentation - Windows 10 - (Cortana)
Code Camp - Presentation - Windows 10 - (Cortana)
 
How Windows 10 will change the way we use devices
How Windows 10 will change the way we use devicesHow Windows 10 will change the way we use devices
How Windows 10 will change the way we use devices
 
Guidelines for Android application design.pptx
Guidelines for Android application design.pptxGuidelines for Android application design.pptx
Guidelines for Android application design.pptx
 
Windows 10
Windows 10Windows 10
Windows 10
 
Review about earlier Windows O/S and new Windows 8
Review about earlier Windows O/S and new Windows 8Review about earlier Windows O/S and new Windows 8
Review about earlier Windows O/S and new Windows 8
 
ITT 2014 - Matt Brenner- Localization 2.0
ITT 2014 - Matt Brenner- Localization 2.0ITT 2014 - Matt Brenner- Localization 2.0
ITT 2014 - Matt Brenner- Localization 2.0
 
Microinteractions
MicrointeractionsMicrointeractions
Microinteractions
 
Windows 10 with cortana
Windows 10 with cortanaWindows 10 with cortana
Windows 10 with cortana
 
Windows 10 New Features...
Windows 10 New Features...Windows 10 New Features...
Windows 10 New Features...
 
Windows 10 user guide
Windows 10 user guideWindows 10 user guide
Windows 10 user guide
 
The Laws of User Experience: Making it or breaking it with the UX Factor
The Laws of User Experience: Making it or breaking it with the UX FactorThe Laws of User Experience: Making it or breaking it with the UX Factor
The Laws of User Experience: Making it or breaking it with the UX Factor
 
The Laws of User Experience: Making it or Breaking It with the UX Factor
The Laws of User Experience: Making it or Breaking It with the UX FactorThe Laws of User Experience: Making it or Breaking It with the UX Factor
The Laws of User Experience: Making it or Breaking It with the UX Factor
 
Working Remotely with Microsoft Technologies
Working Remotely with Microsoft TechnologiesWorking Remotely with Microsoft Technologies
Working Remotely with Microsoft Technologies
 
Working Remotely with Microsoft Technologies
Working Remotely with Microsoft TechnologiesWorking Remotely with Microsoft Technologies
Working Remotely with Microsoft Technologies
 
Win10 final
Win10 finalWin10 final
Win10 final
 
PLATEAU 2011 - Capturing and Analyzing Low-Level Events from the Code Editor
PLATEAU 2011 - Capturing and Analyzing Low-Level Events from the Code EditorPLATEAU 2011 - Capturing and Analyzing Low-Level Events from the Code Editor
PLATEAU 2011 - Capturing and Analyzing Low-Level Events from the Code Editor
 
Window 10 ppt
Window 10 pptWindow 10 ppt
Window 10 ppt
 
Ms @ evry rs june 2015 slidehide
Ms @ evry rs june 2015 slidehideMs @ evry rs june 2015 slidehide
Ms @ evry rs june 2015 slidehide
 
Main file win 8
Main file win 8Main file win 8
Main file win 8
 
Networking and Computer Troubleshooting
Networking and Computer TroubleshootingNetworking and Computer Troubleshooting
Networking and Computer Troubleshooting
 

Recently uploaded

Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 

Recently uploaded (20)

Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 

Lev's KC-DC Presentation

  • 1. Using Windows 10 Integration Features GETTING TO KNOW LIVE TILES, ACTION CENTER AND CORTANA LEV GINSBURG – GARMIN INTERNATIONAL
  • 2. Agenda Who am I? Live Tiles Notifications & Action Center Cortana References and Q&A
  • 3. Who am I? Lev Ginsburg ◦ Graduated University of Nebraska-Lincoln in 2010 ◦ Software Engineer at Garmin ◦ Going into 6th year ◦ Primarily Windows Development ◦ WPF desktop apps ◦ Garmin Connect Mobile for Windows 10
  • 4. Agenda Who am I? Live Tiles Notifications & Action Center Cortana References and Q&A
  • 5. Live Tiles (from Start) User Interaction Modes ◦ Glance ◦ Quickly check on new information from an app before launching ◦ Go ◦ Start is where user tasks begin, the doorway into the app
  • 6. Live Tile Layouts Custom layout Grid ◦ The smallest tile has a 4 pixel gutter around each edge ◦ Each larger tile is the sum of the smaller units, plus the gutters between them Small (1x1 effective) Medium (2x2) Wide (4x2) Large (4x4) (desktop only) 4 px gutter
  • 7. Live Tile Layout (sample) <tile> <visual> <binding template="TileMedium" branding="logo"> <group> <subgroup> <text hint-style="caption">Kelsey</text> <text hint-style="captionsubtle">Photos from our trip</text> <text hint-style="captionsubtle">Check out these awesome photos I took while in New Zealand!</text> </subgroup> </group> <group> <subgroup> <text hint-style="caption">Amy W</text> <text hint-style="captionsubtle">KCDC 2015 Dinner</text> <text hint-style="captionsubtle">Want to go out for dinner after KCDC tonight?</text> </subgroup> </group> </binding> <binding template="TileLarge" branding="nameAndLogo"> <!-- same content the TileMedium template --> </binding> </visual> </tile>
  • 8. Live Tile States Basic State Default, simple state Highlights app branding Semi-Live State Shows badge notification Live State Allows timely, relevant content Users can make informed decision about launching the app
  • 9. Live Tile Customization Possibilities for Live Tiles are almost endless! ◦ Display Text, Images, or both Assets will scale, leave text out of images Inline Image and Text Groups Background Image Inline Image and Text Columns Text Text Columns
  • 10. Agenda Who am I? Live Tiles Notifications & Action Center Cortana References and Q&A
  • 11. Notifications & Action Center User Interaction Modes ◦ Glance ◦ See new information from your app ◦ Action ◦ The toast is a doorway into the app (by clicking) ◦ Custom actions allow simple tasks to be performed without leaving current app
  • 12. Action Center in Windows 10 Toasts go into the Action Center Toasts can be expanded Individual notifications can be clicked Remove ◦ Individual notification ◦ All from app group ◦ All Alarms/Reminders now in Action Center
  • 13. Adaptive Toast Template Very similar to Live Tiles Useful for notifications from app, reminders, alarms <toast> <visual> <binding template="ToastGeneric"> <text>Hello World</text> <text>This is a simple toast message</text> </binding> </visual> </toast> Sample XML
  • 14. Adaptive Notification States Collapsed vs Expanded ◦ Show brief summary view and allow user to see deeper context
  • 15. Notification Actions Users can interact with notifications ◦ Accept/decline invitations ◦ Respond to text messages/emails ◦ Snooze/Dismiss alerts ◦ Select response item from drop down <toast launch="action=viewFriendRequest&amp;userId=<id>"> <visual> <binding template="ToastGeneric"> <text>Matt sent you a friend request</text> <text>Matt S. Would like to be friends. Would you like to connect with him?</text> </binding> </visual> <actions> <action content="Accept" activationType="background" arguments="action=acceptFriendRequest&amp;userId=<id>"/> <action content="Decline" activationType="background" arguments="action=declineFriendRequest&amp;userId=<id>"/> </actions> </toast> Sample XML
  • 16. Notification Responses Can respond either in foreground or background task ◦ Should dismiss notification as action is performed ◦ Foreground ◦ Launch to specific section of app related to notification ◦ Background ◦ Perform user-specified task without changing user context
  • 18. Agenda Who am I? Live Tiles Notifications & Action Center Cortana References and Q&A
  • 19. Cortana “World’s most personal digital assistant” – Microsoft Available across PC’s, tablets, and phones Available for use by developers
  • 20. Voice Commands with Cortana Apps can register to handle Cortana voice commands Cortana will automatically recognize the spoken context for your app
  • 21. Voice Command Definition <?xml version="1.0" encoding="utf-8"?> <VoiceCommands xmlns="http://schemas.microsoft.com/voicecommands/1.2"> <CommandSet xml:lang="en-us" Name=“en-us-MyCommandSet"> <AppName>Sample</AppName> <Example>Give me a random number.</Example> <Command Name="randomNumber"> <Example>Give me a random number.</Example> <ListenFor>Give [me] a random number.</ListenFor> <Feedback>Generating a random number...</Feedback> <Navigate /> </Command> </CommandSet> </VoiceCommands> [me] – optional word {var} – variable placeholder Register the VCD file with VoiceCommands.VoiceCommandDefinitionManager
  • 22. Voice Command Definition Make sure your VCD installed correctly ◦ Check your VCD commands in Cortana help ◦ Full VCD example list available by clicking into your app
  • 23. Respond using Cortana Add extension to Package.appxmanifest Add new Command <Command Name="randomNumber"> <Example>Give me a random number.</Example> <ListenFor>Give [me] a random number.</ListenFor> <Feedback>Generating a random number...</Feedback> <VoiceCommandService Target=“SampleVCS" /> </Command> <Extensions> <uap:Extension Category="windows.appService" EntryPoint="Sample.VoiceCommands.SampleVoiceCommandService"> <uap:AppService Name=" SampleVCS"/> </uap:Extension> <uap:Extension Category="windows.personalAssistantLaunch"/> </Extensions>
  • 24. Respond using Cortana Implement SampleVoiceCommandService as IBackgroundTask namespace Sample.VoiceCommands { public sealed class SampleVoiceCommandService : IBackgroundTask { public async void Run(IBackgroundTaskInstance taskInstance) { ... } } }
  • 26. Agenda Who am I? Live Tiles Notifications & Action Center Cortana References and Q&A
  • 27. References Tiles, Notifications and Action Center – Build 2015 ◦ https://channel9.msdn.com/Events/Build/2015/2-762 Cortana Extensibility – Build 2015 ◦ https://channel9.msdn.com/Events/Build/2015/2-691 Tiles and Toasts – MSDN Blogs ◦ http://blogs.msdn.com/b/tiles_and_toasts/archive/2015/07/02/adaptive-and-interactive-toast- notifications-for-windows-10.aspx ◦ http://blogs.msdn.com/b/tiles_and_toasts/archive/2015/07/08/quickstart-sending-a-local-toast- notification-and-handling-activations-from-it-windows-10.aspx Questions?

Editor's Notes

  1. Text auto-truncates at the end. Groups auto-hide if there isn’t enough space
  2. Show app popping notifications with responses available
  3. Getting data Changing data Show saving and sharing data between the background task and the foreground app