WHAT’S IN THIS CHAPTER?
WROX.COM CODE DOWNLOADS FOR THIS CHAPTER
The wrox.com code downloads for this chapter are found at http://www.wrox.com/go/procsharp on the Download Code tab. The code for this chapter contains one big sample that shows the various aspects of this chapter:
The previous chapter introduced you to UI elements for Windows Store apps, and used the API of the Windows Runtime to read and write data. This chapter continues from there to add search features, allows integration of different apps by using share contracts, and makes use of many different devices such as the camera to take pictures and record videos, get the location information from the user, and get information about how the user moves the device by using several sensors such as accelerometer and inclinometer.
Let’s start with searching that changed a lot between Windows 8 and Windows 8.1.
With Windows 8, search for Windows Store apps was usually done with the Search contract. Searching in apps was started by opening the Charms bar. The issue with that was users had a hard finding out if the app supports searching. Windows 8.1 changed this in that apps that support searching time use a new
SearchBox control on the UI.
The sample app from the previous chapter, Menu Card, is extended with search functionality. ...