Chapter 7Communicating with Devices
In this chapter, you will learn how to create an app that communicates with other Windows 10 devices. To begin, you will develop two UWP applications. The first one, Communication.Consumer (see Figure 7-1), will run in the HoloLens emulator and will contain two visual controls: a purple circle and a rectangle, whose color will change depending on whether the circle is inside it (in which case it will be green) or outside it (in which case it will be red). The position of the circle will be modified according to messages sent from the second app, Communication.Producer. (See Figure 7-2.) This app will run in the mobile emulator to obtain accelerometer readings. These readings will then be transmitted to Communication.Consumer ...
Get Programming for Mixed Reality with Windows 10, Unity, Vuforia and UrhoSharp, First Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.