TechMicrosoftMicrosoft talks about activating Windows 8 contracts in your...

Microsoft talks about activating Windows 8 contracts in your app

-

- Advertisement -

In the next in their on-going Building Windows 8 series, Microsoft discussed activating Windows 8 contracts in your app.

contracts

This is how the new article starts:

When you start writing Metro style apps you’ll quickly come across contracts, a new and powerful concept in Windows 8. Metro style apps use contracts to declare interactions they support with other apps and with Windows. You’ve probably already heard about some of them: search, share, etc. Using contracts, apps become better by working with the system or with each other when users install more apps that implement contracts. In this post I’ll walk you through activation, one of the main concepts to think about as you add contracts to your apps.

The Windows activation platform is used to launch Metro Style apps and to notify them of the reason why a user launched them. The reasons vary from a user starting the app using its tile on the start screen to the app being launched for a specific task such as showing a user search results for a query. Windows provides your app with the reason it was launched and if applicable any additional info needed to complete its task. Before our Windows 8 activation platform, you passed this info to apps via command-line parameters. With our new model, we also support passing live objects such as a StorageFile, ShareOperation, etc to provide the app with context. You’ll see that this makes contracts all the more powerful. Let’s jump into the details of what you need to know to support being launched for a contract.

To continue reading, click here.

Andrew Edney
Andrew Edney
I am the owner and editor of this site. I have been interested in gadgets and tech since I was a little kid. I have also written a number of books on various tech subjects. I also blogged for The Huffington Post and for FHM. And I am honoured to have been a Microsoft MVP since January 2008, including as an Xbox MVP until 2023.

Stay connected

7,137FansLike
8,458FollowersFollow
26,900SubscribersSubscribe

LATEST REVIEWS

Review: Smash it Wild: Tactical Volleyball Roguelike

A unique and original experience.

Review: Swan Song

Review: Arms of God

Review: Magic Twins

You might also likeRELATED
Recommended to you