The Windows 10 UWP app CleanupVS is now in The Store. Its a free app for cleaning up Visual Studio workspaces by recursively deleting bin and obj folders from Visual Studio project folders. This article covers some of the code techniques used in he app.
Including, quick folder count, app metadata, using the Feedback Hub and populating a RichTextbox.
Read the rest of entry »
Before my summer vacations, I decided to build a watering system for my decorative trees. The soil moisture is measured with a cheap IoT sensor and the water supply uses 12V airpumps pushing air in water bottles (this makes a safe separation between electric and water circuits), the electronic schema is as follows:
The 86Duino Educake computer monitors the humidity level once a day and will pump water if the level is too low, it sends data to Azure therefore I'll be able to see how things are going on...
As I discussed in a previous blog article, the Raspberry PI3 Bluetooth driver for Windows 10-IoT-Core becomes errant and misses updates when the update rate is high. This is a known issue with the RPI. This problem does not exist other Windows 10 systems including the Dragonboard running IOT-Core. This article again discusses the problem and presents a workaround that does work. Includes how to disable/enable a driver using devcon.
Despite its detractors, Microsoft has of late has embraced OpenSource with a vengeance. Much code is now available on GitHub under the Microsoft moniker for developers to tweak, extend, debug and contribute. opensource.microsoft.com is the central location for it.
Solved: How to use one line per item in a UWP XAML ListView
I lost the ability to set the device Target so can’t download a UWP app to a Windows Phone or IoT-Core device.
In App Project Debug Settings I got an error:
An error occurred trying to load the page.
Exception from HRESULT: 0x89721500
The previous post outlined in an XAML UI using a ListView how to display a List of instances of a class of public properties using data binding. Layout and padding issues were examined as well as binding to a dictionary of objects. This article covers programmatically adding elements of a collection to an XAML UI.
I had a Dictionary of values that I wanted to display in an XAML UI as part of a UWP app. My initial foray was to use a ListView with a binding to the dictionary ListView.ItemTemplate/DataTemplate. The dictionary was then bound to the ListView’s ItemsSource. The problem with the ListView is that there is a lot of padding between items vertically and within items.I wanted to compact the rows of data vertically though as if I had manually placed each dictionary item (key and values) in a grid of rows of TextBlocks in a row (one row for each item). This article discusses my trials and tribulations with this issue and includes my final solution.
The last leg, of 8, of the world Build tour was held in Sydney this week. What can I say .. it was great. A lot of new and coming Creators features were covered, Insight into the latest Windows technologies was dished out. Here are some of the highlights and summary links.
In a discussion about the demise of Silverlight, I came across this succinct dichotomy (as a diagram) of “Modern” apps in the Windows Mobile context.