Programming for Mixed Reality with Windows 10, Unity, Vuforia and UrhoSharp, First Edition
by Dawid Borycki
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access