Windows 10 now on MSDN ...
Read the rest of entry »
The Visual State Manager can be configured to change the properties of UI controls when aspects of the UI are triggered. This blog completes the SQLite UA app by resizing the command buttons when the app runs on a small screen such as a Windows 10 phone.
The previous blog created the UA project, inserted the required SQLite bits and set up the XAML user interface. This part covers the functional code.
A truly Universal App will run on all Windows 10 targets, with only a targeted CPU change and rebuild required. This second part of this blog series sets up a UAP/UWP project to make use of the file base SQLite database engine. This part creates the project, gathers the required bits and sets up the user interface. Parts three covers the functional code.
Visual Studio 2015 RTM has been released and is available for download from MSDN if you have a subscription. The Community Edition is also available. The UWP (Win 10 Universal Apps) bits aren’t there yet though.
With no version of SQL Server and SQL Compact available for Windows 10 IoT and Windows 10 Phone, the suggested alternative is SQLite. Whilst early evaluations indicate it isn’t available for Win10 IoT Background and Console apps, it’s not too hard to use SQLite with a Windows 10 UWP (Universal) app. The app can be rebuilt without modification and using the exact same project content for the desktop, phone and IoT Windows 10 targets.
The project has been updated to include a LED dimmer as a PWM example.
The project source on Codeplex has been updated for this.
A Windows 10 UWP app can be built upon the Remote-Wiring library such that the app can interact with an Arduino device running Firmata. An app, similar to the Windows Remote Arduino “Blinky” example, but with feature additions, is developed. It performs GPIO (output AND input) as well as some analog IO. . This app is functionally the same as Windows 8.1 version in the previous blog in this series. This blog works through the same material (ie repeats much of it) as the previous blog but from the Universal Windows Platform (UWP) context rather Windows 8.1 Universal App context. The target for the app is Win 10 desktop, Win 10 phone and Raspberry PI2 (running Win 10 IoT). The latter target is a "work-in-progress though".This blog can be read without reference to the previous blog.
A Windows 8.1 Universal app can be built upon the Remote-Wiring library such that the app can interact with an Arduino device running Firmata. An app similar to the Windows Remote Arduino “Blinky” example, but with feature additions, is developed. It performs GPIO (output AND input) as well as some analog IO. The app runs on a Win 8.1 desktop, phone and RT Surface. The UI has some extra XAML “bells and whistles”.
This year I was pleased to be speaker at Mobile Camp 2015 organized by Microsoft in Naples; this year the event was focused on Windows 10 and all the awesome news from Build 2015.
As Microsoft MVP on Windows Embedded & IoT, my session was on Raspberry Pi 2 with Windows 10 IoT Core as embedded system and its connection to the Azure Event Hubs.
The simple demo showed the Raspberry Pi 2 sent temperature data (from an I2C temperature sensor) to the Event Hubs using my Azure SB Lite library (based on AMQP protocol).
You can find all the material on SlideShare (slide) and GitHub (demo source code).