Win10 integrated universal application in Win10 explores

  
Microsoft's 10 weeks 10 Win10 development topics this week has reached the third period, this issue of Microsoft through a blog to developers how to integrate Cortana Xiaona in Windows10 universal application To make the app more dynamic. This article begins with a brief introduction to what Cortana is and what features it can bring. I then explained the preparations for integrating Cortana in the application. Finally, I explained how to integrate Cortana and complete three kinds of user interactions (including opening the application, storing the application or returning some data through Cortana command, and two-way interaction between the user and the application). .
What is Cortana?
Cortana is one of the new main features in Win10, borrowed from Windows Phone 8.1. Users can interact with the operating system through natural language. The app can answer the user's question in Cortana's voice. For example, "Where is my next travel destination?", "Search voice stations", "Jack online?" and other questions, you can provide answers to these questions to Cortana, let her come on behalf of Answer or show it. Further, you can also perform some operations through Cortana, such as “Cancel the travel plan to London”, “Add this station as a favorite”, “Tell Jack, I am late” & so on.

With voice commands, users can go directly to a deeper level of functionality in the app, just as if a feature in the app was pinned directly to the start screen. This will make your app more productive and enhance the user experience.
Integration of Cortana, some guidelines to be followed
Since Cortana is based on voice interaction, the context should be as close as possible to the habit and nature. Some Cortana interaction design guidelines have been published in MSDN. To better use Cortana, you need to observe the following guidelines:
1. Efficient: Less is more. To be concise, use words as simple as possible but don't lose semantics at the same time;
2, related: keep not deviating from the topic;
3, clear: make sure that the conversation uses everyday language, the meaning is clearer, and few people will know Professional terminology;
4. Trust: The answer should accurately reflect what is happening and respect the user's preferences. If your application hasn't completed the task yet, you shouldn't deceive it.

Also, be aware of the localization of Cortana interactions, especially if you want to publish your app globally. Cortana is currently available in the US, UK, China, France, Italy, Germany and Spain, and will expand to more markets later.
Three interactions can be implemented between the user and the application, including opening the application, applying storage or returning some data via the Cortana command, and two-way interaction between the user and the application.
Microsoft detailed these three methods in the blog, and provided some documentation and sample code. Interested developers can click here to view the official Microsoft blog.

Copyright © Windows knowledge All Rights Reserved