O'Reilly logo

Instant Windows 8 C++ Application Development How-to by Taruna Verma

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exploring app contracts and extensions (Should know)

Contracts and extensions are used by Windows Store apps; they enable the interactions with other running applications.

Contracts are agreements between one or more applications while extensions are agreements between apps and Windows.

The Search contract is an example of a contract. By implementing the Search contract, users can not only search for the content of their apps, but can also search for content from other apps.

AutoPlay extensions enable your app to be listed as an AutoPlay choice when a device is connected to your system.

Getting ready

Please refer to the SearchContract project for the full working code to add search suggestions to your application.

How to do it...

You can enhance your ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required