Chapter 6. Windows Runtime APIs

After completing this chapter, you will be able to

  • Interact with Windows Runtime APIs from a Windows 8 app.

  • Use some of the available date, time, and file pickers.

  • Interact with the webcam to take photos and videos.

  • Implement the Share contract to share information between applications.

Chapter 5, covered the Windows Runtime (WinRT) architecture and the basic types, how to write code using the multilanguage features, and the concept of language projection. This chapter shows you how to interact with the user-related WinRT APIs such as File Picker and Webcam, and the APIs that you need to implement the Share contract.

Pickers

Windows 8 has two types of pickers. One has been in common use since the 1990s; it lets users choose ...

Get Build Windows 8 Apps with Microsoft Visual C# and Visual Basic Step by Step now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.