Share this article
Latest news
With KB5043178 to Release Preview Channel, Microsoft advises Windows 11 users to plug in when the battery is low
Copilot in Outlook will generate personalized themes for you to customize the app
Microsoft will raise the price of its 365 Suite to include AI capabilities
Death Stranding Director’s Cut is now Xbox X|S at a huge discount
Outlook will let users create custom account icons so they can tell their accounts apart easier
Here’s how developers can use Activities to get their apps into Windows 10 Timeline
3 min. read
Published onDecember 19, 2017
published onDecember 19, 2017
Share this article
Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more
Now that Timeline is a useable feature in Windows 10 Insider Preview build 17063, Microsoft has detailed instructions for developers on providing Windows Timeline in their own apps. On the Windows Blog, “Application Engagement in Windows Timeline with User Activities,” provides intricate instructions for developers to integrate Windows Timeline into their apps.
Starting with Windows Insider Preview build 17056 and higher, developers can use User Activities to appear their apps in Timeline. If developers write User Activities into the Microsoft Graph, specific content within their apps can trigger a destination that is in Windows 10, and can be accessed using an Android or iOS device.
As noted by Microsoft, each User Activity that is implemented with an app can trigger a separate “Activity Session.”
“Each User Activity represents a single destination within your app: such as a TV show, document or your current campaign in a game. When you engage with that activity (by creating an Activity Session), the system creates a history record indicating the start and end time for that activity. As you re-engage with that User Activity over time, multiple History Records will be recorded for a single User Activity.”
In order to get started, developers will need to install the Windows SDK for Windows 10 Fall Creators Update or the latest Windows Insider Preview SDK. You will need Visual Studio 2017 in order to use the Windows Insider Preview SDK. If developers are interested in trying out Timeline, they will need to install the latest Windows Insider Preview. Here’s a look at how developers can engage customers using Microsoft Graph, Adaptive Cards, and Windows Timeline.
Once the latest Windows Insider Preview build is installed, developers can get started on adding UserActivities to their app. UserActivities are the unit of user engagement in Windows 10 and they consist of three important parts, an activation deep-link, visuals, and content metadata. Microsoft provides a comprehensive explanation of these parts here:
Microsoft further details other UserActivities capabilities that you can add to your app to work with Timeline and Cortana.Microsoft provides more capabilitieswith further reading and more advanced required code.
davew
User forum
0 messages
Sort by:LatestOldestMost Votes
Comment*
Name*
Email*
Commenting as.Not you?
Save information for future comments
Comment
Δ
davew