Description

Windows 10 introduces an entirely new way of developing apps targeting multiple devices and it is called UWP apps or Universal Windows Platform apps. Instead of creating separate apps for different platforms, UWP apps run across all major platforms with minor code changes.

This article covers part 2 of our journey to develop a Windows 10 Universal App (UWP) that will run on most of the devices without any code change. In Part 1 http://bit.ly/dnc-win10-soundcloud-1 , I wrote how the new Windows 10 controls allow us to target a wide variety of Windows devices with minimal code. With Adaptive Triggers and Custom App shell, we developed a simple Sound Cloud player that adapts the UI based on the size of the screen.

In this article, we will improve our app by adding more features and changing existing code to support Background Audio and Media Transport Controls. We will also deploy our app to both a Windows Phone and Raspberry Pi2 without any code changes.

Raspberry Pi 2

Let us deploy our Music Player app to a Raspberry Pi 2 which is running Windows 10 IoT Core and see how the App works in a complete new device family without any change.

...

...

Windows 10 IoT core can run only one App in the foreground. To increase the performance, the raspberry Pi version of the Music Player app can be simplified by removing the background Task and using MediaElement or playback as shown in the first part of this series.